AutoPlay Media Studio 9

RadioButton.GetText

RadioButton.GetText

This is the first topic This is the last topic  

RadioButton.GetText

This is the first topic This is the last topic  

OverviewExamples

string RadioButton.GetText (

string ObjectName )

Example 1

-- 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


Learn More: Indigo Rose Software - AutoPlay Media Studio - Buy Now - Contact Us