Difference between revisions of "VS:VM SelectSymbolDialog"

From VectorMEP
Jump to navigation Jump to search
m
m
 
Line 1: Line 1:
 +
{{DISPLAYTITLE:VS:VM_SelectSymbolDialog}}
 +
 
== Description ==
 
== Description ==
 
Procedure VM_SelectSymbolDialog selects a Symbol name from resource browser<syntaxhighlight lang="pascal">
 
Procedure VM_SelectSymbolDialog selects a Symbol name from resource browser<syntaxhighlight lang="pascal">

Latest revision as of 04:27, 13 December 2020


Description

Procedure VM_SelectSymbolDialog selects a Symbol name from resource browser

PROCEDURE VM_MoveToLayer(
    h     :Handle);

Parameters

h HANDLE Handle to layer.

Remarks

When nill is passed as Layer handle, a dialog is presented with a list of all Layers to choose from.

Example

PROCEDURE MoveToLayer;
VAR
    h : HANDLE;
BEGIN
    h := NIL; 
    {h := GetObject('LayerName'); in case of predefined layer}
    IF VerifyLibraryRoutine('VM_MoveToLayer') THEN
		BEGIN
			IF (GetType(h) = 31) OR (h = NIL) THEN VM_MoveToLayer(h);
        End
    ELSE
        Message('The routine VM_MoveToLayer is not available.');
END;
RUN(MoveToLayer);

Version

Availability: from VectorMEP 2021