Skip to content

Latest commit

 

History

History
31 lines (25 loc) · 621 Bytes

File metadata and controls

31 lines (25 loc) · 621 Bytes

GetSelectionRange

Description

Returns the range of the current selection for the specified control.

PROCEDURE GetSelectionRange(
				dialogID     : LONGINT;
				controlID    : LONGINT;
				VAR startPos : INTEGER;
				VAR endPos   : INTEGER);
def vs.GetSelectionRange(dialogID, controlID):
    return (startPos, endPos)

Parameters

Name Type Description
dialogID LONGINT
controlID LONGINT
startPos INTEGER
endPos INTEGER

Version

Availability: from VectorWorks12.0.1

Category