PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN

WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
VisibleOutsideWindow (Property)
In french: VisibleHorsFenêtre
AjaxNot available
The VisibleOutsideWindow property is used to:
  • determine if a button is visible even if its position (X,Y) is outside the border of the window (entirely or partially).
  • modify the visibility of an "off-window" Button control.
Caution: To use the VisibleOutsideWindow property, the current window must have a clipped border. 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
  • The Button control will not be visible if it is positioned above or to the left of the window (Y<0 or X<0 property). 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