Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
What's wrong with this line of code....
Message
 
 
To
16/11/1999 16:10:55
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00291618
Message ID:
00291630
Views:
20
>What's wrong with this line of code?
>IF thisform.Pageframe1.page1.Optiongroup1.Option2.value = .T.
>
>
>
>ENDIF
>I get a datatype mismatch. What do you use in the place of the word value?

In VFP help search for "Option Button Control" then click "Properties" and you will see the valid values as follows
+++++++++++++++++
For a CheckBox control, the settings for the Value property are:

Setting Description
0 (Default) Unchecked.
1 Checked.
2 Mixed-value. This setting is only available in code
+++++++++++++++++++
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform