Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Checkbox using Get/Say command
Message
General information
Forum:
Visual FoxPro
Category:
FoxPro 2.x
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01169601
Message ID:
01169607
Views:
13
>
>@ <row, column> GET <memvar> | <field>
>FUNCTION <expC1> | PICTURE <expC2>
>	[FONT <expC3>[, <expN1>]]
>	[STYLE <expC4>]
>	[DEFAULT <expr>]
>	[SIZE <expN2>, <expN3>]
>	[ENABLE | DISABLE]
>	[MESSAGE <expC5>]
>	[VALID <expL1> | <expN4>]
>	[WHEN <expL2>]
>	[COLOR SCHEME <expN5> | COLOR <color pair list>]
>
>
>
>
>Example:
>
>mValue = .t.
>@0,0 get mValue FUNCTION '*CN3' Picture 'Select'
>
>
>Better examples from help:
>
>The following examples illustrate the various forms of syntax you can use to create a check box. In all the examples the check box is placed in the second
>row and column. The state of the box (checked or unchecked) is stored to the memory variable MCHOICE. Each example creates the same check box.
>FUNCTION clause only:
>
>
>
>
>STORE 1 TO mchoice
>@ 2,2 GET mchoice FUNCTION '*C Titles'
>READ
>STORE 1 TO mchoice
>STORE '*C Titles' TO mprompt
>@ 2,2 GET mchoice FUNCTION mprompt
>READ
>
>
>
>PICTURE clause only:
>
>
>
>STORE 1 TO mchoice
>@ 2,2 GET mchoice PICTURE '@*C Titles'
>READ
>STORE 1 TO mchoice
>@ 2,2 GET mchoice PICTURE '@*C' + ' Titles'
>READ
>
Based on your other message <g>, this seems to work as well
nSummary = 0
	@ row(), 20 GET m.nSummary ;
	PICTURE "@*C Summary Report Only?" ;
	DEFAULT 0 ;
	FONT "MS Sans Serif", 8 ;
	STYLE "BT"
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform