@...RADIOGROUP DEFINE RADIOGROUP
|
Creates a radiogroup control.
SYNTAX
Standard Window:
@ <nRow> ,<nCol> RADIOGROUP <ControlName>
[ ID <aId> ]
[ OF | PARENT | DIALOG <ParentWindowName> ]
OPTIONS <acOptions>
[ VALUE <nValue> ]
[ WIDTH <nWidth> ]
[ SPACING <nSpacing> ]
[ FONT <cFontName> SIZE <nFontSize> ]
[ BOLD ] [ ITALIC ] [ UNDERLINE ] [ STRIKEOUT ]
[ TOOLTIP <cToolTipText> ]
[ BACKCOLOR <aBackColor> ]
[ FONTCOLOR <aFontColor> ]
[ ON CHANGE <OnChangeProcedure> | <bBlock> ]
[ TRANSPARENT ]
[ HELPID <nHelpId> ]
[ INVISIBLE ]
[ NOTABSTOP ]
[ READONLY <aReadOnly> ]
[ HORIZONTAL ]
[ LEFTJUSTIFY ]
Dialog Window:
REDEFINE RADIOGROUP <ControlName>
ID <aId>
[ OF | PARENT | DIALOG <ParentWindowName> ]
OPTIONS <acOptions>
[ VALUE <nValue> ]
[ SPACING <nSpacing> ]
[ FONT <cFontName> SIZE <nFontSize> ]
[ BOLD ] [ ITALIC ] [ UNDERLINE ] [ STRIKEOUT ]
[ TOOLTIP <cToolTipText> ]
[ BACKCOLOR <aBackColor> ]
[ FONTCOLOR <aFontColor> ]
[ ON CHANGE <OnChangeProcedure> | <bBlock> ]
[ TRANSPARENT ]
[ HELPID <nHelpId> ]
[ INVISIBLE ]
[ NOTABSTOP ]
[ READONLY <aReadOnly> ]
[ HORIZONTAL ]
[ LEFTJUSTIFY ]
Alternate Syntax:
DEFINE RADIOGROUP <Controlname>
[ ID <nId> ]
[ PARENT <ParentWindowName> ]
COL <nCol>
ROW <nRow>
OPTIONS <acOptions>
[ VALUE <nValue> ]
[ WIDTH <nWidth> ]
[ SPACING <nSpacing> ]
[ FONTNAME <cFontname>
[ FONTSIZE <nFontsize> ]
[ FONTBOLD < .T. | .F.> ]
[ FONTITALIC < .T. | .F.> ]
[ FONTUNDERLINE < .T. | .F.> ]
[ FONTSTRIKEOUT < .T. | .F.> ]
[ TOOLTIP <cToolTipText> ]
[ BACKCOLOR <aBackColor> ]
[ FONTCOLOR <aFontColor> ]
[ ONCHANGE <OnChangeProcedure> | <bBlock> ]
[ TRANSPARENT < .T. | .F.> ]
[ HELPID <nHelpId> ]
[ INVISIBLE < .T. | .F.> ]
[ NOTABSTOP < .T. | .F.> ]
[ READONLY <aReadOnly> ]
[ HORIZONTAL < .T. | .F.> ]
[ LEFTJUSTIFY < .T. | .F.> ]
END RADIOGROUP
PROPERTIES:
Set / Gets RadioGroup value.
| |
Set / Gets enabled state of a RadioGroup control
| |
Set / Gets visible a RadioGroup control.
| |
Set / Gets row position of a RadioGroup control.
| |
Set / Gets column position of a RadioGroup control.
| |
Set / Gets width of a RadioGroup control.
| |
Set / Gets caption of RadioGroup control
| |
Set / Gets RadioGroup control's font name.
| |
Set / Gets RadioGroup control's font size.
| |
Set / Gets RadioGroup control's font bold property
| |
Set / Gets RadioGroup control's font italic property
| |
Set / Gets RadioGroup control's font underline property
| |
Set / Gets RadioGroup control's font strikeout property
| |
Set / Gets the foreground color for text within the Label
| |
Set / Gets the background color for text within the Label
| |
Set / Gets user property 'Cargo' for RadioGroup control
| |
Retrieves the name of a RadioGroup control.
| |
Set / Gets RadioGroup control's readonly property
| |
· Parent (D)
|
Set the name as character identifier of the parent window.
|
Set the numeric help topic identifier of the control.
| |
· Spacing (D)
|
Set space between RADIOGROUP items (For horizontal
orientation)
|
· Blink (D)
|
Set Blink attribute to control text
|
· NoTabStop (D)
|
Sets whether an element behavior can receive focus and
participate in the tabbing sequence
|
D: Available
at control definition only
R: Read-Only
EVENTS:
An action to be performed when generic changing of the control
|
METHODS:
Shows a RadioGroup control
| |
Hides a RadioGroup control
| |
Gives the focus to a RadioGroup control
| |
Save a RadioGroup control as BitMap file.
|
EXAMPLE: