@...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:

·   Value
Set / Gets RadioGroup value.
·   Enabled(nItemNumber)
Set / Gets enabled state of a RadioGroup control
·   Visible
Set / Gets visible a RadioGroup control.
·   Row
Set / Gets row position of a RadioGroup control.
·   Col
Set / Gets column position of a RadioGroup control.
·   Width
Set / Gets width of a RadioGroup control.
·   Caption (nItemNumber)
Set / Gets caption of RadioGroup control
·   FontName
Set / Gets RadioGroup control's font name.
·   FontSize
Set / Gets RadioGroup control's font size.
·   FontBold
Set / Gets RadioGroup control's font bold property
·   FontItalic
Set / Gets RadioGroup control's font italic property
Set / Gets RadioGroup control's font underline property
Set / Gets RadioGroup control's font strikeout property
·   FontColor
Set / Gets the foreground color for text within the Label
·   BackColor
Set / Gets the background color for text within the Label
·   Cargo
Set / Gets user property 'Cargo' for RadioGroup control
·   Name (R)
Retrieves the name of a RadioGroup control.
·   ReadOnly
Set / Gets RadioGroup control's readonly property
·   Parent (D)
Set the name as character identifier of the parent window.
·   HelpId (D)
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:

·   OnChange
An action to be performed when generic changing of the control

METHODS:

·   Show
Shows a RadioGroup control
·   Hide
Hides a RadioGroup control
·   SetFocus
Gives the focus to a RadioGroup control
·   SaveAs
Save a RadioGroup control as BitMap file.

EXAMPLE:

See demo in :
\Samples\Basic\RadioGroup
\Samples\Basic\MAINDEMO_(SYNTAX_I) to _(SYNTAX_IV)