VS:SelectEditText

From Vectorworks Developer
Jump to: navigation, search

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


Description

Activates the given text component and selects its text.

[MaKro] Hint: Can be used to set the cursor at end of text when used in combination with VS:DeselectEditText

PROCEDURE SelectEditText(
dialogID  :LONGINT;
componentID  :LONGINT);
def vs.SelectEditText(dialogID, componentID):
    return None

Parameters

dialogID LONGINT the dialog identifier given by CreateLayout or CreateResizableLayout
componentID LONGINT The identifier of the component that is to be activated and selected.

Version

Availability: from Vectorworks 2010
Personal tools
NamespacesFFFF

Variants
Actions
Advanced Search
See Also
Navigation
Toolbox