Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Check box in Grid with caption
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00281552
Message ID:
00281571
Views:
12
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!
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform