Accesing a control's property using tabindex

Please support our Visual Basic 4 / 5 / 6 advertiser: Programming Forums - DaniWeb Sister Site
Reply

Join Date: Feb 2007
Posts: 1,515
Reputation: paramasivan is an unknown quantity at this point 
Solved Threads: 1
paramasivan's Avatar
paramasivan paramasivan is offline Offline
Posting Virtuoso

Accesing a control's property using tabindex

 
0
  #1
Feb 28th, 2007
Hello to all thread viewers,
There is any way to set a control's property through its "TABINDEX"...
For example can i focus a textbox by simply knowing its "TABINDEX"...


Thank you...
CHEERIO,
Paramasivan S.
Reply With Quote Quick reply to this message  
Join Date: Feb 2007
Posts: 28
Reputation: mjwest10 is an unknown quantity at this point 
Solved Threads: 3
mjwest10 mjwest10 is offline Offline
Light Poster

Re: Accesing a control's property using tabindex

 
0
  #2
Feb 28th, 2007
I would also be interested in this.
Reply With Quote Quick reply to this message  
Join Date: Nov 2006
Posts: 848
Reputation: QVeen72 is on a distinguished road 
Solved Threads: 120
QVeen72's Avatar
QVeen72 QVeen72 is offline Offline
Practically a Posting Shark

Re: Accesing a control's property using tabindex

 
0
  #3
Mar 1st, 2007
Hi,

Simply use

Text1.SetFocus

Regards
Veena
Reply With Quote Quick reply to this message  
Join Date: Feb 2007
Posts: 1,515
Reputation: paramasivan is an unknown quantity at this point 
Solved Threads: 1
paramasivan's Avatar
paramasivan paramasivan is offline Offline
Posting Virtuoso

Re: Accesing a control's property using tabindex

 
0
  #4
Mar 1st, 2007
Hello QVeen72,
I need to focus textbox using TABINDEX not using name like
  1. Text1.setfocus

Any way i got the answer from my colleague.....

He told me to loop all controls comparing the TABINDEX...

So thank you for your kind reply....
CHEERIO,
Paramasivan S.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC