Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Checkbox - Click vs Keypress
Message
De
31/08/2010 14:26:55
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01479450
Message ID:
01479476
Vues:
42
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform