OverviewExamples
string RadioButton.GetText ( |
-- Get the current text from the radiobutton
sCurrentText = RadioButton.GetText("RadioButton1");
-- Check to see if any errors occurred calling the RadioButton.GetText action.
-- If any error occurred, display the error message.
error = Application.GetLastError();
if (error ~= 0) then
Dialog.Message("Error", _tblErrorMessages[error], MB_OK, MB_ICONEXCLAMATION, MB_DEFBUTTON1);
end
-- Print the current text to the debug window
Debug.Print("RadioButton Text: " .. sCurrentText .. "\r\n");
Gets the current text of the "RadioButton1" radiobutton object and outputs it to the debug window.
See also: Related Actions