Skip to content

Latest commit

 

History

History
50 lines (40 loc) · 1.21 KB

File metadata and controls

50 lines (40 loc) · 1.21 KB

SetImagePopupSelectedItem

Description

Sets the selected image popup item. The itemIndex parameter is 1-based.

PROCEDURE SetImagePopupSelectedItem(
				dialogID    : LONGINT;
				componentID : LONGINT;
				itemIndex   : INTEGER);
def vs.SetImagePopupSelectedItem(dialogID, componentID, itemIndex):
    return None

Parameters

Name Type Description
dialogID LONGINT Index to the dialog layout that contains the image popup component.
componentID LONGINT Index to a specific image popup component.
itemIndex INTEGER Index to item to select.

Examples

==== VectorScript ====

SetImagePopupSelectedItem(dialogID, componentID, 4);

==== Python ====

See Also

VS Functions: InsertImagePopupObjectItem | GetNumImagePopupItems | GetImagePopupObject | GetImagePopupObjectItemIndex | GetImagePopupSelectedItem | RemoveImagePopupItem | RemoveAllImagePopupItems

Version

Availability: from VectorWorks10.0

Category

  • Dialogs - Modern