home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.lang.visual.basic      MS Visual Basic discussions, NOT dot-net      10,840 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 10,577 of 10,840   
   WonderMan to All   
   Problem with TabOrder in VB6   
   18 Mar 08 10:43:31   
   
   From: none@none.com   
      
   Hello,   
      
   I am working on an app written in VB6.   
   I try to set the tab-order properties of the controls embedded in a   
   form on the following way : (the form is a login form, with one text   
   zone for user name and one text zone for password, and two buttons (OK   
   and Cancel))   
      
   - txtUserName   TabIndex = 0, TabStop = true   
   - txtPasswordValue   TabIndex = 1, TabStop = true   
   - btnOK    TabIndex = 2, TabStop = true   
   - btnCancel   TabIndex = 3, TabStop = true   
      
   But when I run the programme, and use the form, the tabOrder goes to :   
      
   txtUserName   
   btnOK   
   btnCancel   
   txtPasswordValue   
      
   So my question is how to set correctly the tabOrder in my form.   
      
   FYI, when I try to use the "Tabulation Assistant" included in VB6, I   
   notice that I get a yellow triangle with an exclamation mark next to   
   each control of the form (indicating an error). Can that explain why   
   the TabOrder does not work properly ? What kind of errors are there in   
   the controls then ?   
      
   Thank you !   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca