Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Set all Gotfocus and LostFocus to
Message
 
 
To
30/03/2005 10:13:19
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Novell 5.x
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00999921
Message ID:
00999930
Views:
17
>>>Is there a way to change the code in all textbox gotfocus & lostfocus to this.backcolor= etc without going into each one and adding the code?
>>
>>In design mode? If so yes. Get references with aselobj() and use readmethod(),writemethod().
>>Cetin
>Yes this way would be great! Can you give me an example?

The better way would be to use subclassed textbox. This way you'll have to make changes to the parent class only.
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform