|
-
Jul 26th, 2000, 12:11 PM
#1
Thread Starter
Fanatic Member
I have a program that has a tabstrip with 6 topics, and for each topic there is a frame that my controls are set in. I use the frames right now to determine if the button are visible or not.
For each frame I have between 1 to 6 command buttons place.
I do not need all of the buttons all of the time. My code is not that big and as of right now not a big memory hog. I am trying to plan for the future by learning the "right way" now.
All of the buttons are the same except for a few things:
Location on the form
What frame they are in
Caption
Click event runs a different sub
Right now the buttons are individual buttons that I created a design time. This I assume takes the most memory to do.
I have be contemplating making the buttons either a control array at design time or create the buttons on the fly as a user selects the tab that they are on.
The final outcome I would like is a less confusing code with all of these button and for the program to use as little memory as possible.
Do you have any opinions?
Thanks
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
|