Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Check Box back color in grids
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01171778
Message ID:
01171952
Views:
13
Create a class based on Control. Set its backstyle to 1 Opaque. Add a checkbox to it and sert its backstyle to 0-transparent. In the GotFocus of the chcekbox put This.Parent.BackColor = RGB(128,128,128) (or whatever back color you want. In the checkbox lostfocus set This.Parent.BackColor = RGB(255,255,255). Now put the control class in the column of the grid and set the grid column to sparse = .F.. Run the form and play with the column with the checkbox in it. I think this is pretty close to what you want.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform