Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Check Boxes
Message
 
To
20/07/1998 17:37:23
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00119481
Message ID:
00119502
Views:
23
> Anybody have a scheme to share that will make the check box easier to tell when it has the focus? If different colors are used,they need to stay within the users control when they change their color scheme in the control panel.

Most of the interface properties for a checkbox will have little effect if there isn't a caption. You could add a caption on the gotfocus and get rid of it in the lost focus. Something like this:

GotFocus()
This.Caption = IIF(This.Value,"Yes","No")

LostFocus()
This.Caption = ""

InteractiveChange()
IIF(This.Value,"Yes","No")


An easier solution would probably be to have a caption. :) It's definitely more standard.
Mike Feltman

F1 Technologies
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform