|
-
Oct 20th, 2000, 11:36 PM
#1
Thread Starter
Lively Member
Well I'm trying to cut down my code, tyring to make it more efficient. I'm hoping you VB experts can clarify a few things for me:
1) I noticed that most of the combo boxes and text boxes call the same function. Is there a way to make a general event procedure for all combo boxes? Like for all combo boxes that undergo the click event I execeute so and so. Is this possible? I know control arrays can achieve this, but I don't want to create a control array, I need my objects to be unique.
2) There are times when I need to edit a certain property for all text boxes (or any other objects), Is there a way to change all of them without calling each object? Can I somehow use a loop?
3) This has nothing to do with efficient coding, it just popped in my mind , How do I make those line seperators in the menu? I want to partition my menu options just like how vb and other application do it
Thanks again for all the help! Hope to learn somethign new again from you guys
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|