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 Help

Property: DisplayObj for Area

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

Property: DisplayObj for Area

Returns the Dialog object in an area in DIAdem VIEW.

Set oDisplayObj = Object.DisplayObj
ObjectArea
Object with this property
oDisplayObjDisplayObj
Returned object

The following example creates a textbox with the current date:

VBScriptPython

 

View.ActiveSheet.ActiveArea.DisplayObjType = "TextBox"
Dim oMyObj: Set oMyObj = View.ActiveSheet.ActiveArea.DisplayObj
oMyObj.Text= "Current time: @CurrDate@"