Property: DisplayObj for Area
- Updated2024-09-12
- 1 minute(s) read
DIAdem VIEW > Properties > Property: DisplayObj for Area
Property: DisplayObj for Area
Returns the Dialog object in an area in DIAdem VIEW.
Set oDisplayObj = Object.DisplayObj
| Object | Area Object with this property |
| oDisplayObj | DisplayObj Returned object |
The following example creates a textbox with the current date:
| VBScript | Python |
View.ActiveSheet.ActiveArea.DisplayObjType = "TextBox" Dim oMyObj: Set oMyObj = View.ActiveSheet.ActiveArea.DisplayObj oMyObj.Text= "Current time: @CurrDate@"