Home | Sign in | English EN

This content has been translated automatically. Click here to view the French version.
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 Property ActiveDisplay allows you 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.displayActive = False
// Add
I is int
FOR I = 1 TO 1000
TableAdd(TABLE_TABLE1, MyCalculationRowContent(I))
// Enable the display of the Table control
TABLE_TABLE1.displayActive = 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 Property DisplayEnabled must never remain with the value False. Indeed, this value must be a temporary value (when filling a Table control for example). Otherwise, unexpected effects may occur (100% of the processor is used by Windows to display the control while this display is disabled).
  • The Property DisplayEnabled cannot be used on container type fields such as an Internal Window control.
Minimum version required
  • Version 9
This page is also available for…
Click [Add] to post a comment