AutoPlay Media Studio 9

CheckBox.GetText

CheckBox.GetText

This is the first topic This is the last topic  

CheckBox.GetText

This is the first topic This is the last topic  

OverviewExamples

string CheckBox.GetText (

string ObjectName )

Example 1

-- Get the current text from the checkbox

sCurrentText = CheckBox.GetText("CheckBox1");

 

-- Check to see if any errors occurred calling the CheckBox.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("CheckBox Text: " .. sCurrentText .. "\r\n");

Gets the current text of the "CheckBox1" checkbox object and outputs it to the debug window.

See also: Related Actions


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