VS:GetChoiceText

From Vectorworks Developer
Jump to: navigation, search

.VectorScript|VectorScript ..VS:Function Reference|Function Reference ..VS:Function_Reference_Appendix|Appendix


Description

Using the index, gets the text of the menu item of the given component.
PROCEDURE GetChoiceText(
dialogID  :LONGINT;
componentID  :LONGINT;
itemIndex  :INTEGER;
VAR itemText  :STRING);
def vs.GetChoiceText(dialogID, componentID, itemIndex):
    return itemText

Parameters

dialogID LONGINT The dialog identifier given by CreateLayout or CreateResizableLayout
componentID LONGINT The identifier of the control that contains the menu items from which the text will be retrieved from.
itemIndex INTEGER The item index that contains the desired text.
itemText STRING The text of the item.

Version

Availability: from Vectorworks 2010
Personal tools
NamespacesFFFF

Variants
Actions
Advanced Search
See Also
Navigation
Toolbox