VS:SelectEditText

From Vectorworks Developer
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

.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