@...RADIOGROUP DEFINE RADIOGROUP Create a RadioGroup control
|
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> ]
[ AUTOSIZE ]
[ FONT <cFontName> SIZE <nFontSize> ]
[ BOLD ] [ ITALIC ] [ UNDERLINE ] [ STRIKEOUT ]
[ TOOLTIP <cToolTipText> ]
[ BACKCOLOR <anBackColor> ]
[ FONTCOLOR <anFontColor> ]
[ ON CHANGE <OnChangeProcedure> | <bBlock> ]
[ ON INIT <bInit> ]
[ 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> ]
[ AUTOSIZE ]
[ FONT <cFontName> SIZE <nFontSize> ]
[ BOLD ] [ ITALIC ] [ UNDERLINE ] [ STRIKEOUT ]
[ TOOLTIP <cToolTipText> ]
[ BACKCOLOR <anBackColor> ]
[ FONTCOLOR <anFontColor> ]
[ ON CHANGE <OnChangeProcedure> | <bBlock> ]
[ ON INIT <bInit> ]
[ 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> ]
[ AUTOSIZE < .T. | .F.> ]
[ FONTSIZE <nFontSize> ]
[ FONTBOLD < .T. | .F.> ]
[ FONTITALIC < .T. | .F.> ]
[ FONTUNDERLINE < .T. | .F.> ]
[ FONTSTRIKEOUT < .T. | .F.> ]
[ TOOLTIP <cToolTipText> ]
[ BACKCOLOR <anBackColor> ]
[ FONTCOLOR <anFontColor> ]
[ ONCHANGE <OnChangeProcedure> | <bBlock> ]
[ TRANSPARENT < .T. | .F.> ]
[ HELPID <nHelpId> ]
[ INVISIBLE < .T. | .F.> ]
[ NOTABSTOP < .T. | .F.> ]
[ READONLY <aReadOnly> ]
[ HORIZONTAL < .T. | .F.> ]
[ LEFTJUSTIFY < .T. | .F.> ]
[ ONINIT <bInit> ]
END RADIOGROUP
nRow, nCol
|
Position in the area of ??the window in pixels.
|
nWidth, nHeight
|
The desired size of the RadioGroup Control in pixels.
|
nId
|
The ID identifier this Control in Dialog Window
|
ControlName
|
A reference to the RadioGroup Control
|
ParentWindowName
|
A reference to the Parent Window.
|
nHelpID
|
The help topic identifier for this Control
|
acOptions
|
Specifies a List of Options for the RadioGroup
|
nValue
|
Specifies the startup value of the RadioGroup
|
nSpacing
|
Specifies the Spacing between the RadioGroup
|
cFontName
|
Specifies the Font Name
|
cFontSize
|
Specifies the Font Size
|
cToolTipText
|
Specifies the Text for the ToolTip
|
anBackColor
|
Specifies the Background Color
|
anFontColor
|
Specifies the Font Color
|
OnChangeProcedure
|
An action to be performed when control value is Changed
|
aReadOnly
|
Specified that the control is in Readonly mode
|
|
|
TRANSPARENT
|
Specifies that the background of a control should be
transparent
|
INVISIBLE
|
The visibility property specifies whether or not a control is
visible
|
NOTABSTOP
|
Stop the control to receive focus and participate in the
tabbing sequence
|
HORIZONTAL
|
Specifies to display the options in a horizontal way
|
LEFTJUSTIFY
|
|
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 t the background of a control transparent
| |
Set / Gets user property 'Cargo' for RadioGroup control
| |
Retrieves the name of a RadioGroup control.
| |
Set / Gets options of RadioGroup control
| |
Set / Gets RadioGroup control's readonly property
| |
Set the name as character identifier of the parent window.
| |
Set the numeric help topic identifier of the control.
| |
Set / Gets space between RadioGroup items (For horizontal
orientation)
| |
Set Blink attribute to control text
| |
Sets whether an element behavior can receive focus and
participate in the tabbing sequence
|
D: Available at control definition only
R: Read-Only
EVENTS:
Action to be performed when generic changing of the control
|
METHODS:
Shows a RadioGroup control
| |
Hides a RadioGroup control
| |
Redraw a Control
| |
Gives the focus to a RadioGroup control
| |
Save a
RadioGroup control as BitMap file.
|
EXAMPLE: