Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
True or false in checkboxes
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00029396
Message ID:
00029450
Vues:
25
>>>well its possible that when i click on a checkbox my controlsource isnt updated when the click event started?
>>>
>>>i have the controlsource updated when checkbox events are finished... :( exist ne way to fix this?
>>>
>>>thnks
>>
>>You can't store a logical field as the controlsource for a checkbox. Value for checkbox is 0,1 or 2. Use code in the valid method to update the field based on the results of the value
>>
>>0= False
>>1= True
>>2= Null
>
>Actually, you can store a logical field as the controlsource for a checkbox. You just need to set the value of the checkbox to .f. or .t. to begin with.

What about checkboxes in grids? Mine seem to update the table properly, and I have not assigned values to them. The Column.Bound = .T. and the controlsource for column and checkbox is a logical field. Of course, I do have my "crud in the grid" problem...
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform