Skip to content

Latest commit

 

History

History
44 lines (35 loc) · 818 Bytes

SetTopVisibleWS.md

File metadata and controls

44 lines (35 loc) · 818 Bytes

SetTopVisibleWS

Description

Brings the referenced worksheet to the front of any open worksheet windows.

PROCEDURE SetTopVisibleWS(worksheet : HANDLE);
def vs.SetTopVisibleWS(worksheet):
    return None

Parameters

Name Type Description
worksheet HANDLE Handle to worksheet.

Examples

BEGIN
	CASE gFindMode OF
	1:	BEGIN
			ShowWS( WSh, TRUE );
			SetTopVisibleWS( WSh );
			SetWSCurrentCell(WSh, row, col);
			ProcessFoundCell := TRUE;
		END;
import vs

# Brings the referenced worksheet to the front of any open worksheet windows.
worksheet = vs.GetObject('MyWorksheet')  # handle to a worksheet

vs.SetTopVisibleWS(worksheet)

Version

Availability: from VectorWorks9.0

Category