|
-
Apr 19th, 2000, 01:54 AM
#1
I currently have a form that has alot of command buttons (about 80) and image controls and picture clip controls that contain graphics and timers. Does anyone know what the fastest way to load a form is , that has all these controls and graphics.
Currently, I just place the controls on the form and the graphic files (jpg) are set to the picture clip controls in the form load procedure... is there some way to maybe load them in the background maybe.
-
Apr 19th, 2000, 08:23 AM
#2
Hello,
The first that I would do would to make all those seprate contols into a control array. You can do this when your desiging your form by copying, lets say a text box and pasting it back onto the form (click yes when it asks you if you want to create a control array.) To access each member of the textbox control array you would then use the following syntax:
Code:
Text1(0).Text = "This is the first textbox on my form"
Text1(1).Text = "This is the second textbox on my form"
Text1(3).Text = "This is the third textbox on my form"
this will load much faster as your really only loading one textbox and the rest are just a copy of the first.
Hope this helps,
Roger
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
|