DIAdem Help

Method: LayerName for Text

  • Updated2024-09-12
  • 2 minute(s) read

Method: LayerName for Text

Returns the name of the layer associated with a control in user dialog boxes.

sLayerName = Object.LayerName
ObjectText
Object with this method
sLayerNameString
Receives the name of the layer.

The following example shows the dialog box layer associated with the Text1 text:

Dialog.Layers(Text1.LayerName) = TRUE

This example shows the layer associated with the Text2 selection, on the Page1 tab:

Page1.Layers(Text2.LayerName) = TRUE