PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN

This content has been translated automatically. Click here to view the French version.
  • Control attributes
  • Group of controls
  • Operating mode of shortcuts according to the control status
  • Controls on tabs
  • Rows in a Table control
  • Limits
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
..Visible is used to:
  • Find out whether an element is visible.
  • Make an element visible or invisible.
This property applies to the:
  • controls and groups of controls found in a window, in a page or in a report.
  • report blocks,
  • menu options.
Remarks:
  • In the window editor and in the page editor, the control visibility is defined in the "UI" tab of the control description.
  • In the report editor, the control visibility is defined in the "Details" tab of the control description.
Versions 18 and later
Universal Windows 10 App This property is now available in Windows Store Apps mode.
New in version 18
Universal Windows 10 App This property is now available in Windows Store Apps mode.
Universal Windows 10 App This property is now available in Windows Store Apps mode.
Versions 21 and later
Universal Windows 10 App This property is now available in Universal Windows 10 App mode.
New in version 21
Universal Windows 10 App This property is now available in Universal Windows 10 App mode.
Universal Windows 10 App This property is now available in Universal Windows 10 App mode.
Example
// Make the "EDT_Company" control visible if it is invisible
IF EDT_Company..Visible = False THEN
EDT_Company..Visible = True
END
Syntax

Finding out whether an element is visible Hide the details

<Result> = <Element used>..Visible
<Result>: Boolean
  • True if the specified element is visible,
  • False otherwise.
<Element used>: Type of element
Name of element to use.

Making a control or a report block visible/invisible Hide the details

<Element used>..Visible = <Visible/Invisible>
<Element used>: Type of element
Name of element to use.
<Visible/Invisible>: Boolean
  • True if the specified element must be visible,
  • False if the specified element must be invisible.
Remarks

Control attributes

..Visible does not modify the other control attributes (selection without input, enabled or grayed).

Group of controls

If the specified object is a group of controls, the visibility status of all controls belonging to the group is modified.
WINDEVUniversal Windows 10 AppJavaUser code (UMC)

Operating mode of shortcuts according to the control status

The shortcuts of an invisible control cannot be used. For example, an invisible button does not operate when using the shortcuts.
WINDEVJavaUser code (UMC)

Controls on tabs

..Visible will return False if a control found on a tab pane is visible but if this pane is not displayed.
WINDEVJavaUser code (UMC)

Rows in a Table control

A row found in a Table control can be made visible or invisible. For example:
// Makes the second row of the Table control invisible
TABLE_Table[2]..Visible = False
If the Table control is using bars with alternated colors, the alternation of colors will be respected.
Remark: If ..Visible is used on a table cell, all cells found in the corresponding column will be made invisible.

Limits

WINDEVUniversal Windows 10 App ..Visible does not apply to the reports.
WINDEV ..Visible cannot be used on:
  • a row of a List Box or Combo Box control,
  • a window menu
  • an element in a TreeView control.
If ..Visible is used on a table cell, all cells found in the corresponding column will be made invisible.
Java ..Visible only applies to the following elements:
  • Button control.
  • Static control.
  • Edit control.
  • Image control.
  • Check Box control.
  • Radio Button control.
  • List Box control.
  • Combo Box control.
  • TreeView control.
  • Tab control.
  • Window.
  • Table control.
  • Column of a Table control.
  • Supercontrol.
Universal Windows 10 App ..Visible does not apply to the windows.
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment