Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Selected Back ground colour not displaying
Message
From
20/01/2004 07:45:22
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00868429
Message ID:
00868478
Views:
13
Hi

>>>>>>>>>>>>
Is there a way of setting the 'Background Colour ' of a control (Text Box or Checkbox etc) so that it always displays the minute the control receives focus.

No, it is usefull, but FocusBackColor and FocusForeColor not exist.

You must:
* on GotFocus event put
this.BackColor = RGB(myFocusBackColorTern)

* on LostFocus event put
this.ResetToDef("BackColor") if origin is a class
or
this.BackColor = RGB(myBackColorTern)
Fabio
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform