Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Checkbox.value = 0 or .F.?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00832540
Message ID:
00832878
Vues:
26
>All of the checkboxes are bound to logical fields containing .f. in a method called from the init of the form. At the conclusion of the init, 103 of them evaluate to 0 and one to .f. It just isn't "logical" <g>

FWIW, I always check my checkboxes values in code with IF EMPTY(mycheckbox.value), so it does not matter at all what whether it is logical or numeric. (BTW, I do not use NULL values for checkboxes - never had to.)
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform