OverviewExamples
ComboBox.DeleteItem ( |
-- 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