Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Set all Gotfocus and LostFocus to
Message
From
30/03/2005 11:04:08
 
 
To
30/03/2005 10:42:50
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:
00999946
Views:
15
>>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?
>
>Doug,
>
>If you're running VFP 8 or above, you could also use BindEvents() in your Form.Init() to redirect these events to a form method that would handle these activities. This way you don't need another subclassed control and you don't need to spread logic amongst multiple controls.
>
>Malcolm

Great! Can you give me an example of this?
What great help you all are!
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform