Microsoft KB Archive/95312

= Default Selection of Radio Button with @ ... GET Command =

PSS ID Number: 95312

Article Last Modified on 10/23/1999

-

The information in this article applies to:


 * Microsoft FoxBASE+ for Macintosh 2.01

-



This article was previously published under Q95312



SUMMARY
For a radio button, the GET clause designates a variable, , which must be declared prior to issuing the @ ... GET command.  may be a numeric memory variable or a numeric field in a database. If the value of  is outside the range of the buttons, the first radio button on the screen will be selected.



MORE INFORMATION
The &quot;Fox Report Forum&quot; manual for version 2.01 incorrectly states under &quot;Defining Radio Buttons&quot; on page 5-28 that if the value of  is given outside the range of the buttons (1 to n) then no buttons are selected until the user selects one. To achieve this effect, the command SET VER11 ON must precede the @ ... GET command for the radio button.

The following example illustrates the displayed default button when the numeric value of  is outside the range of the buttons. No radio button will be displayed as selected upon execution of the program. **  is x in this example

STORE 5 TO x  SET VER11 ON   SCREEN 1 TOP CLEAR @ 4,5 GET x PICTURE &quot;@*R First;Second;Third&quot; READ

SET VER11 OFF

Additional query words: 2.01 foxbase+/mac buttons popup numeric gets

Keywords: KB95312

Technology: kbAudDeveloper kbFoxBASE201Mac kbFoxBASESearch kbFoxproSearch kbHWMAC kbOSMAC

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.