Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Nodefault in CheckBox
Message
 
 
To
13/02/2003 10:53:28
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00752703
Message ID:
00752710
Views:
14
This message has been marked as the solution to the initial question of the thread.
Pedro,

you should be able to simply do this in the When

return ! this.Value

or

return ! Table1.Passou

>In a Grid, I have placed a CheckBox with a graphic style
>
>When the user clicks on the CheckBox, a second form is opened to introduce additional data.
>
>The controlSource of this CheckBox is a logical field. In the picture of the CheckBox I have placed
>a red image and at the DownPicture is a green image.
>
>What I need is that once the CheckBox "turns" green, it will/should never again turn red
>and normally this is for each grid entry.
>
>For example, assume I have 10 entries in the Grid, in 2 of them I have already filled in
>the extra fields, therefore the CheckBox appears green, whilst the other 8 are with unfilled fields so
>the CheckBox will be red.
>
>At the red CheckBox I am allowed to click to open a new form, but if I click the green Checkbox, nothing
>should happen and the CheckBox should still maintain green.
>
>I have already tried placing a NODEFAULT at the click and at the interChange, but this still does not work.
>
>The auxiliary data gets stored in Table1.Passou
>Table1.Passou = .T. (Green)
>Table1.Passou = .F. (Red)
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Reply
Map
View

Click here to load this message in the networking platform