Tabindex 
Author Message
 Tabindex

Is it possible to set tab position at run time. After an incorrect
entry I wish to set the tab at that entry. Can't find anything in the
book.

Ian

Sent via Deja.com http://www.*-*-*.com/
Before you buy.



Fri, 06 Sep 2002 03:00:00 GMT  
 Tabindex
Yes... According to my Visual Basic 5.0 Help. Here is an excerpt.

TabIndex: Returns or sets the tab order of most objects within their
parent form.

Each new control is placed last in the tab order. If you change the value
of a control's TabIndex property to adjust the default tab order, Visual
Basic automatically renumbers the TabIndex of other controls to reflect
insertions and deletions. You can make changes at design time using the

G.Doucet
----------------------------------------

Quote:
> Is it possible to set tab position at run time. After an incorrect
> entry I wish to set the tab at that entry. Can't find anything in the
> book.

> Ian

> Sent via Deja.com http://www.deja.com/
> Before you buy.



Fri, 06 Sep 2002 03:00:00 GMT  
 Tabindex
I don't wish to change the tab order just the current tab (cursor)
position.

Ian

Sent via Deja.com http://www.deja.com/
Before you buy.



Sat, 07 Sep 2002 03:00:00 GMT  
 Tabindex

Tue, 21 Mar 2000 09:11:10 GMT bearing the following fruit:

Quote:
>I don't wish to change the tab order just the current tab (cursor)
>position.

look at setfocus

EG. Text1(0).setfocus



Sat, 07 Sep 2002 03:00:00 GMT  
 Tabindex
Sorry, I misinterpreted the question. When the program launches, its
focus will be on the item with a tabindex of zero. To set to focus to a
specific item (such as a textbox), use the setfocus method. For example
If (Text1.Text = "") Then Text1.SetFocus

G.Doucet

Quote:

> I don't wish to change the tab order just the current tab (cursor)
> position.

> Ian

> Sent via Deja.com http://www.deja.com/
> Before you buy.



Sat, 07 Sep 2002 03:00:00 GMT  
 
 [ 5 post ] 

 Relevant Pages 

1. TabIndex

2. TabIndex in Word 2002

3. Tabindex on a Multipage

4. Tabindex on Multipage

5. Interesting, TabIndex does not get updated upon change.

6. TabIndex doesn't automatically recalculate

7. TabIndex

8. TabIndex property problem

9. TabIndex

10. How to focus the next TabIndex object without using TAB key

11. HELP: Problem with the TabIndex of controls...

12. TabStrips and TabIndex

 

 
Powered by phpBB® Forum Software