ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

DIAdem-Hilfe

Method: LayerName for EditBox

  • Aktualisiert2024-09-12
  • 2 Minute(n) Lesezeit

Method: LayerName for EditBox

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

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

The following example visualizes the dialog box layer with which the EditBox1 textbox is associated:

Dialog.Layers(EditBox1.LayerName) = TRUE

The following example visualizes the layer with which the EditBox2 textbox is associated, in the Page1 tab:

Page1.Layers(EditBox2.LayerName) = TRUE