Log inUsernamePassword
Log me on automatically each visit    
Register
Register
Log in to check your private messages
Log in to check your private messages
Visual Basic Forum for Visual Basic Programmers VB Forum Index » API

Post new topic   Reply to topic
Controls sintax
View previous topic :: View next topic  
Author Message
bybruno
Newbie


Joined: 16 Sep 2005
Posts: 9

PostPosted: Oct 1st, 2006 09:37 PM    Post subject: Controls sintax Reply with quote

hi,
i have a lot of menus in my aplication now i want list all menus with the following code:

For i = 0 To Me.Controls.Count - 1

Next i

this detect all the controls in the program but now i want know what controls are menu and others that not.
there is same sintax like

Controls(1).type = command1 or Controls(1).type = check1

the objective is select all the menus and change the values: visible, enabled etc in runtime

thanks for the help
bruno
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Visual Basic Forum for Visual Basic Programmers VB Forum Index » API All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Visual Basic Forum runs phpBB | Forum Template © iOptional
VB Resources | SSL | Visual Basic