Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Checkbox - Click vs Keypress
Message
From
31/08/2010 14:26:55
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01479450
Message ID:
01479476
Views:
41
FYI, the code can be simplified (and should be moved out of the checkbox, which shouldn't know anything about other objects on the form). See the code I posted earlier.

>
>Turns out it was a corrupted checkbox on the form.... sigh...
>
>Went in and deleted it, created a new one, used this code in the Click...
>
>
>IF this.Value = .T.
>	Thisform.pgf1.page1.txtlimitedby.Enabled = .T.
>	Thisform.pgf1.page1.lbllimiteddays.Enabled = .T.
>ELSE
>	Thisform.pgf1.page1.txtlimitedby.Enabled = .F.
>	Thisform.pgf1.page1.lbllimiteddays.Enabled = .F.
>ENDIF 
>
>
>And all is well again! Mouse and Spacebar both work as they should....
>
>Thanks!
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Previous
Reply
Map
View

Click here to load this message in the networking platform