PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK

  • Control attributes
  • Group of controls
  • Operating mode of shortcuts according to the control status
  • Controls on tabs
  • Rows in a Table control
  • Action Bar
  • Columns 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.
WEBDEV - Server codeWEBDEV - Browser code This modification is available for the "Automatic" or "Dynamic" controls only ("Details" tab of control description). Furthermore, the control must be actually displayed in the page.
WEBDEV - Server codeWEBDEV - Browser code This modification is available for the "Automatic" or "Dynamic" controls only ("GUI" tab of control description). Furthermore, the control must be actually displayed in the page.
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 "GUI" tab of control description.
  • In the report editor, the control visibility is defined in the "Details" tab of control description.
  • Versions 15 and later
    WEBDEV - Server code ..Visible is available for the table rows.
    New in version 15
    WEBDEV - Server code ..Visible is available for the table rows.
    WEBDEV - Server code ..Visible is available for the table rows.
Versions 16 and later
Universal Windows 10 App This property is now available for the Windows Phone applications.
New in version 16
Universal Windows 10 App This property is now available for the Windows Phone applications.
Universal Windows 10 App This property is now available for the Windows Phone applications.
Versions 15 and later
Android This property is now available for the Android applications.
New in version 15
Android This property is now available for the Android applications.
Android This property is now available for the Android applications.
Versions 17 and later
iPhone/iPad This property is now available for the iPhone/iPad applications.
New in version 17
iPhone/iPad This property is now available for the iPhone/iPad applications.
iPhone/iPad This property is now available for the iPhone/iPad applications.
Versions 18 and later
Universal Windows 10 App This property is now available in Windows Store Apps mode.
iPhone/iPad This property is now available for the report elements in the iPhone/iPad applications.
Android Widget This property is now available in Android Widget mode.
New in version 18
Universal Windows 10 App This property is now available in Windows Store Apps mode.
iPhone/iPad This property is now available for the report elements in the iPhone/iPad applications.
Android Widget This property is now available in Android Widget mode.
Universal Windows 10 App This property is now available in Windows Store Apps mode.
iPhone/iPad This property is now available for the report elements in the iPhone/iPad applications.
Android Widget This property is now available in Android Widget mode.
Versions 21 and later
Universal Windows 10 App This property is now available in Universal Windows 10 App mode.
Apple Watch This property is now available in Apple Watch mode.
New in version 21
Universal Windows 10 App This property is now available in Universal Windows 10 App mode.
Apple Watch This property is now available in Apple Watch mode.
Universal Windows 10 App This property is now available in Universal Windows 10 App mode.
Apple Watch This property is now available in Apple Watch 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 name>..Visible
<Result>: Boolean
  • True if the specified element is visible,
  • False otherwise.
<Element name>: Character string (with or without quotes)
Name of element to use.

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

<Element name>..Visible = <Visible/Invisible>
<Element name>: Character string (with or without quotes)
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.
WINDEVWEBDEV - Server codeWEBDEV - Browser codeiPhone/iPadWindows MobileUniversal Windows 10 AppJavaPHPAjaxUser 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.
WINDEVWindows MobileJavaUser 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.
WINDEVWindows MobileJavaUser 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 table row 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.
Versions 21 and later
AndroidiPhone/iPad

Action Bar

..Visible can be used to make an Action Bar control invisible.
In this case, an animation is automatically performed when the Action Bar disappear.
New in version 21
AndroidiPhone/iPad

Action Bar

..Visible can be used to make an Action Bar control invisible.
In this case, an animation is automatically performed when the Action Bar disappear.
AndroidiPhone/iPad

Action Bar

..Visible can be used to make an Action Bar control invisible.
In this case, an animation is automatically performed when the Action Bar disappear.
WEBDEV - Server code

Columns in a Table control

..Visible can be used to make the columns found in a Table control invisible.
However, ..Visible must not be used in a code in Ajax mode to modify a column found in a non-Ajax Table control: in this case, only the columns will be invisible, the titles of columns will not be invisible.

Limits

WINDEVWEBDEV - Server codeReports and QueriesiPhone/iPadWindows MobileUniversal Windows 10 App ..Visible does not apply to the reports.
WINDEVWINDEV Mobile ..Visible cannot be used on:
  • a row in a list box or in a combo box,
  • 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.
WEBDEV - Server codeWEBDEV - Browser code ..Visible cannot be used on:
  • a row in a list box or in a combo box,
  • a menu or a menu option,
  • an HTML table,
  • a control found in a looper.
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.
  • Table column.
  • Supercontrol.
Android Widget ..Visible only applies to the following elements:
  • Button control.
  • Static control.
  • Image control.
  • Window.
AndroidiPhone/iPadUniversal 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