Skip to content

Latest commit

 

History

History
44 lines (35 loc) · 946 Bytes

EnableTextEdit.md

File metadata and controls

44 lines (35 loc) · 946 Bytes

EnableTextEdit

Description

Enables text editing for the given component.

PROCEDURE EnableTextEdit(
				dialogID      : LONGINT;
				componentID   : LONGINT;
				editableState : BOOLEAN);
def vs.EnableTextEdit(dialogID, componentID, editableState):
    return None

Parameters

Name Type Description
dialogID LONGINT the dialog identifier given by CreateLayout or CreateResizableLayout
componentID LONGINT The identifier of the text component.
editableState BOOLEAN True if this text component should be editable, false otherwise.

Examples

EnableTextEdit(1, 2, TRUE);
import vs

# Enables text editing for the given component.
dialogID = 1
componentID = 2
editableState = True

vs.EnableTextEdit(dialogID, componentID, editableState)

Version

Availability: from Vectorworks 2010

Category