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.
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
The Property VisibleHorsFenêtre makes it possible to:
  • find out whether a Button control is visible even if its position (X,Y) places it outside the border of the window (entirely or partially).
  • modify the visibility of an "off-window" Button control.
Caution: 0. Otherwise, the property has no effect.
Example
// Place the OK Button control below the window
BTN_OK.Y = MyWindow.Height + 10
// Make the Button control visible
BTN_OK.VisibleOutsideWindow = True
Syntax

Finding out whether a Button control is visible outside the window Hide the details

<Result> = <Button control>.VisibleOutsideWindow
<Result>: Boolean
  • True if the Button control is visible outside the window,
  • False otherwise.
<Button control>: Control name
Name of Button control to use.

Modifying the visibility of a Button control outside the window Hide the details

<Button control>.VisibleOutsideWindow = <Visibility>
<Button control>: Control name
Name of Button control to use
<Visibility>: Boolean
  • True if the Button control must be visible outside the window,
  • False otherwise.
Remarks
  • If the Button control is above or to the left of the window (Property Y<0 or Property X<0), the Button control will not be Visible. To be made visible or invisible, the Button control must be positioned below or to the right of the window.
  • The Button control will not be visible if the Visible property is set to False.
Minimum version required
  • Version 16
This page is also available for…
Comments
Click [Add] to post a comment