Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Check box in Grid with caption
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00281552
Message ID:
00281571
Vues:
11
Are you saying that when you click 1 checkbox all the checkbox captions change instead of just the one click?

I put:
IF THIS.CAPTION = 'No'
	THIS.CAPTION = 'Yes'
ELSE
	THIS.CAPTION = 'No'
ENDIF
in the click event of a check box in the grid and when clicked only the checkbox clicked changes it caption.

Might look at setting the checkbox style to 'graphical', which will give you a button looks pressed when checked and upressed when not.

hth

>I got a grid with 3 column the 3 one is a check box. What i want it's if the check box is check in want "Yes" as caption and "No" if it's not. I have put the sparse properti to .F. , if i change the caption in the click Method all the chexk box caption change.
>
>
>Thanx.
>
>Ben.
Roi
'MCP' Visual FoxPro

In Rome, there was a poem.
About a dog, who found two bone.
He lick the one, he lick the other.
He went pyscho, he drop dead!
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform