Skip to content

Latest commit

 

History

History
47 lines (39 loc) · 1.23 KB

File metadata and controls

47 lines (39 loc) · 1.23 KB

GetNumImagePopupItems

Description

Returns the number of items in the image popup.

FUNCTION GetNumImagePopupItems(
				dialogID    : LONGINT;
				componentID : LONGINT): INTEGER;
def vs.GetNumImagePopupItems(dialogID, componentID):
    return INTEGER

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.

Examples

VectorScript

numImagePopupItems := GetNumImagePopupItems(dialogID, componentID);

Python

numImagePopupItems = vs.GetNumImagePopupItems(dialogID, componentID)

See Also

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

Version

Availability: from VectorWorks10.0

Category