Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Checkbox, Tri State, .T., .F. and .NULL.
Message
De
18/11/2006 10:24:34
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01170962
Message ID:
01170978
Vues:
20
This message has been marked as the solution to the initial question of the thread.
>Hi all
>
>I have a form property lLastDOW = .NULL. the checkbox comes up with a Gray tick mark as expected. Now I click in the checkbox and THIS.VALUE = "0", another click THIS.VALUE = "1". I have tried to set VALUE to .F. in the properties sheet, but I still get character "1" or "0", not even numeric 1 or 0
>
>How can I get the checkbox to be NULL at startup, when first clicked go from Gray to Ticked and THIS.VALUE = .T., second click become Un-Ticked and THIS.VALUE = .F., then subsequent click toggles .T. and .F.
>
>Please advise.

DO not set lLastDOW to .null. but .f. (default). Then in form init:

this.lLastDOw = .null.

Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform