Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Event syntax
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Environment versions
Visual FoxPro:
VFP 8 SP1
Miscellaneous
Thread ID:
00983157
Message ID:
00983159
Views:
14
>If I have 15 textboxes and I wish to populate their valid events with the same text, can I highlight them all and paste the code in at once?

The easiest way, I think, would be to hack the scx, but, I think You should create a class for this. Imagine if the valid changes in the future, you'll need to remember to change all the objects. Instead create a class based on textbox and write the valid just once.
"The five senses obstruct or deform the apprehension of reality."
Jorge L. Borges?

"Premature optimization is the root of all evil in programming."
Donald Knuth, repeating C. A. R. Hoare

"To die for a religion is easier than to live it absolutely"
Jorge L. Borges
Previous
Reply
Map
View

Click here to load this message in the networking platform