Home | Sign in | English EN

WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WindowsLinuxPHPWEBDEV - Browser code
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Stored procedures
DisplayEnabled (Property)
In french: AffichageActif
The DisplayEnabled property is used to:
  • find out whether the display of a control or window is enabled or not. If the display is enabled, the content of the control is refreshed on a regular basis.
  • enable (or not) the display of a control or window.
This property enables you to optimize the processes in which one or more controls must be used. The control or window is displayed once it has been processed.
// Add 1000 elements into a Table control
// The Table control is not redisplayed after each addition
TABLE_TABLE1.DisplayEnabled = False
// Add
I is int
FOR I = 1 TO 1000
TableAdd(TABLE_TABLE1, MyCalculationRowContent(I))
// Enable the display of the Table control
TABLE_TABLE1.DisplayEnabled = True

Finding out the current display mode Hide the details

<Result> = <Element used>.DisplayEnabled
<Result>: Boolean
  • True if the display of the element is enabled,
  • False otherwise.
<Element used>: Control name or window name
Name of control or window to use.

Modifying the current display mode Hide the details

<Element used>.DisplayEnabled = <Display mode>
<Element used>: Control or window name
Name of control or window to use.
<Display mode>: Boolean
  • True to enable the display of the element,
  • False to disable the display of the element.
  • The DisplayEnabled property must never remain set to False. This value must be temporary (when filling a Table control for example). Otherwise, unexpected effects may occur (100% of the processor is used by Windows to display the control even though the control is not to be displayed).
  • The DisplayEnabled property cannot be used on container controls such as Internal Window controls.
Minimum version required
  • Version 9
This page is also available for…
Click [Add] to post a comment