OverviewExamples
table RadioButton.GetProperties ( |
Returns a table containing the properties of a radiobutton object.
(string) The name of the radiobutton object.
(table) A table containing the radiobutton object's properties, indexed by the following keys:
KEY |
TYPE |
DESCRIPTION |
|||||||||||||||||||||||||||||||||||||||||||||
ObjectName |
string |
The name of the radiobutton object. |
|||||||||||||||||||||||||||||||||||||||||||||
GroupID |
string |
The name of the radiobutton group that the radiobutton belongs to. |
|||||||||||||||||||||||||||||||||||||||||||||
Value |
string |
The value of the radiobutton object. |
|||||||||||||||||||||||||||||||||||||||||||||
Checked |
boolean |
True if the radiobutton is checked, false if it is unchecked. |
|||||||||||||||||||||||||||||||||||||||||||||
Text |
string |
The text displayed in the radiobutton object. |
|||||||||||||||||||||||||||||||||||||||||||||
FontName |
string |
The font name. |
|||||||||||||||||||||||||||||||||||||||||||||
FontSize |
number |
The font size (in points). |
|||||||||||||||||||||||||||||||||||||||||||||
FontStrikeout |
boolean |
True if the font is set to strikeout, false if it is not. |
|||||||||||||||||||||||||||||||||||||||||||||
FontUnderline |
boolean |
True if the font is set to underline, false if it is not. |
|||||||||||||||||||||||||||||||||||||||||||||
FontAntiAlias |
boolean |
True if the font is set to anti-alias, false if it is not. |
|||||||||||||||||||||||||||||||||||||||||||||
FontItalic |
boolean |
True if the font is set to italic, false if it is not. |
|||||||||||||||||||||||||||||||||||||||||||||
FontWeight |
number |
The weight of the font (how 'dark' the text will appear):
|
|||||||||||||||||||||||||||||||||||||||||||||
FontScript |
number |
The character set in use by the radiobutton object:
|
|||||||||||||||||||||||||||||||||||||||||||||
TextAlignment |
number |
The alignment of the radiobutton text:
|
|||||||||||||||||||||||||||||||||||||||||||||
ButtonAlignment |
number |
The alignment of the button on the object:
|
|||||||||||||||||||||||||||||||||||||||||||||
ReadOrder |
number |
How text will be displayed in the radiobutton object:
|
|||||||||||||||||||||||||||||||||||||||||||||
ColorNormal |
number |
The 'normal' color of the object's text. |
|||||||||||||||||||||||||||||||||||||||||||||
ColorHighlight |
number |
The 'highlight' color of the object's text. |
|||||||||||||||||||||||||||||||||||||||||||||
ColorDisabled |
number |
The 'disabled' color of the object's text. |
|||||||||||||||||||||||||||||||||||||||||||||
ColorDown |
number |
The 'down' color of the object's text. |
|||||||||||||||||||||||||||||||||||||||||||||
Enabled |
boolean |
True if the radiobutton object is enabled, false if it is not. |
|||||||||||||||||||||||||||||||||||||||||||||
Visible |
boolean |
True if the radiobutton object is visible, false if it is not. |
|||||||||||||||||||||||||||||||||||||||||||||
X |
number |
The horizontal position (in pixels) of the top left corner of the object in relation to the current page or dialog. Note: The top left corner of the current page or dialog has an X value of 0 |
|||||||||||||||||||||||||||||||||||||||||||||
Y |
number |
The vertical position (in pixels) of the top left corner of the object in relation to the current page or dialog. Note: The top left corner of the current page or dialog has a Y value of 0 |
|||||||||||||||||||||||||||||||||||||||||||||
Width |
number |
The width (in pixels) of the radiobutton object. |
|||||||||||||||||||||||||||||||||||||||||||||
Height |
number |
The height (in pixels) of the radiobutton object. |
|||||||||||||||||||||||||||||||||||||||||||||
TooltipText |
string |
The mouseover tooltip of the radiobutton object. |
|||||||||||||||||||||||||||||||||||||||||||||
Cursor |
number |
The mouse cursor that will be displayed when the mouse is over the radiobutton object:
|
|||||||||||||||||||||||||||||||||||||||||||||
ResizeLeft |
boolean |
True if the left side of the object will move when the application is resized, false if it is not. |
|||||||||||||||||||||||||||||||||||||||||||||
ResizeRight |
boolean |
True if the right side of the object will move when the application is resized, false if it is not. |
|||||||||||||||||||||||||||||||||||||||||||||
ResizeTop |
boolean |
True if the top of the object will move when the application is resized, false if it is not. |
|||||||||||||||||||||||||||||||||||||||||||||
ResizeBottom |
boolean |
True if the bottom of the object will move when the application is resized, false if it is not. |
|||||||||||||||||||||||||||||||||||||||||||||
HighlightSound |
number |
The type of sound that will be played when the mouse moves over the radiobutton object.
|
|||||||||||||||||||||||||||||||||||||||||||||
HighlightSoundFile |
string |
The path to the radiobutton object's custom highlight sound file. If the radiobutton object does not use a custom sound, this value will be an empty string (""). |
|||||||||||||||||||||||||||||||||||||||||||||
ClickSound |
number |
The type of sound that will be played when the mouse clicks the radiobutton object.
|
|||||||||||||||||||||||||||||||||||||||||||||
ClickSoundFile |
string |
The path to the radiobutton object's custom click sound file. If the radiobutton object does not use a custom sound, this value will be an empty string (""). |
If the object cannot be found, nil will be returned. You can use Application.GetLastError to determine whether this action failed, and why.
When adding an action with the script editor, you can use this field to specify a variable that the return value will be stored in.
See also: Related Actions