Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Set all Gotfocus and LostFocus to
Message
From
30/03/2005 10:48:10
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
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:
00999943
Views:
54
>>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

Doug? My name is Cetin Malcolm:)
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform