Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Scanning all Controls in a form
Message
From
01/02/2007 02:06:15
 
 
To
30/01/2007 00:51:13
Rahul Murarka
Sys-Con Engineering
Kolkata, India
General information
Forum:
Visual Basic
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01189038
Message ID:
01191248
Views:
13
Ah now I understand your situation better.

I don't use the CallByName function, and apparently it's only applicable for Methods, Properties, and the like, and not Controls, so that may not be a solution.

See if changing the variable to the specific control (either Checkbox or Textbox, so no need to use TypeOf) instead of declaring it as Control will speed that up, since it will only loop through a specific collection of Controls, instead of all Controls. (100 Textboxes x 100 Checkboxes versus 200 Controls x 200 Controls)

Of course that's still not the most efficient workaround at this time. I will keep an eye out for a solution to that.
evolve or die.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform