AutoPlay Media Studio 9

ComboBox.DeleteItem

ComboBox.DeleteItem

This is the first topic This is the last topic  

ComboBox.DeleteItem

This is the first topic This is the last topic  

OverviewExamples

ComboBox.DeleteItem (

string ObjectName,

number Item )

Example 1

-- Removes the item at index 1 from the "ComboBox1" combobox object.

ComboBox.DeleteItem("ComboBox1", 1);

 

-- Check to see if any errors occurred calling the ComboBox.DeleteItem 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

Deletes an item from the combobox object named ComboBox1 and checks for an error.

See also: Related Actions


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