Information générale
Catégorie:
Gestionnaire d'écran & Écrans
>>>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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement