Skip to content

Latest commit

 

History

History
48 lines (39 loc) · 1.2 KB

InsertEnhanPullDownMenuItem.md

File metadata and controls

48 lines (39 loc) · 1.2 KB

InsertEnhanPullDownMenuItem

Description

Inserts a image Replaces InsertEnhancedPulldownMenuItem

FUNCTION InsertEnhanPullDownMenuItem(
				dialogID       : LONGINT;
				controlID      : LONGINT;
				strName        : STRING;
				imageSpecifier : DYNARRAY[] of CHAR): INTEGER;
def vs.InsertEnhanPullDownMenuItem(dialogID, controlID, strName, imageSpecifier):
    return INTEGER

Parameters

Name Type Description
dialogID LONGINT
controlID LONGINT
strName STRING
imageSpecifier DYNARRAY[] of CHAR The string identifier for the image. It should be of the form "ResourceFileNameWithoutExtension/PathOfImageFile".

Examples

resultN := InsertEnhanPullDownMenuItem(1, 2, 'Example', imageSpecifier);
import vs

# Inserts a image Replaces InsertEnhancedPulldownMenuItem.
dialogID = 1
controlID = 2
strName = 'Example'
imageSpecifier = 'Example'

resultN = vs.InsertEnhanPullDownMenuItem(dialogID, controlID, strName, imageSpecifier)
vs.Message('InsertEnhanPullDownMenuItem returned: ' + str(resultN))

Version

Availability: from Vectorworks 2012

Category