Skip to content

Latest commit

 

History

History
47 lines (38 loc) · 1012 Bytes

LDevice_DlgResource.md

File metadata and controls

47 lines (38 loc) · 1012 Bytes

LDevice_DlgResource

Description

Sets the Lightning Device Resource selector in the pointed field

PROCEDURE LDevice_DlgResource(
				LayoutID   : INTEGER;
				ControlID  : INTEGER;
				SymbolName : STRING);
def vs.LDevice_DlgResource(LayoutID, ControlID, SymbolName):
    return None

Parameters

Name Type Description
LayoutID INTEGER
ControlID INTEGER
SymbolName STRING

Examples

LDevice_DlgResource( AddEditLegend, kSelSymResource, gSelectedSymbolName );
{Initialize the rows to be used in kFieldsLB.}
EnableLBColumnLines(AddEditLegend, kFieldsLB, TRUE);
SetLBSortColumn(AddEditLegend, kFieldsLB, kColNumber, FALSE);
import vs

# Sets the Lightning Device Resource selector in the pointed field.
LayoutID = 1
ControlID = 2
SymbolName = 'MySymbol'

vs.LDevice_DlgResource(LayoutID, ControlID, SymbolName)

Version

Availability: from Vectorworks 2019

Category