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...

I would also be interested in this.

Hi,

Simply use

Text1.SetFocus

Regards
Veena

Hello QVeen72,
I need to focus textbox using TABINDEX not using name like

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....

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.