ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage properties / Properties associated with windows, pages and controls
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
MovableByBackground (Property)
In french: DéplaçableParLeFond
Warning
From version 27 (87), MoveableByBackground is kept for backward compatibility. This property has been replaced with MovableByBackground.
The MovableByBackground property is used to:
  • finding out whether a window can be moved by the background,
  • allowing (or not) a window to be moved by the background.
Remarks:
  • When movable by background is enabled, the user can move the window with the mouse. To do so, click the window background and keep the mouse button down until the window is dragged to the requested location.
  • This property corresponds to the "Move by background " option in the "UI" tab of the window description.
Example
// Allow the window to be moved by the background
MyWindow.MovableByBackground = True
Syntax

Finding out whether a window can be moved by the background Hide the details

<Movable Window> = <Window used>.MovableByBackground
<Movable Window>: Boolean
  • True to allow the window to be moved by the background,
  • False if the window cannot be moved by the background.
<Window used>: Window name
Name of the window used.

Allowing (or not) a window to be moved by the background Hide the details

<Window used>.MovableByBackground = <Movable>
<Window used>: Window name
Name of the window used.
<Movable>: Boolean
  • True to allow the window to be moved by the background,
  • False to forbid the window to be moved by the background.
Minimum version required
  • Version 10
Comments
Click [Add] to post a comment

Last update: 09/20/2024

Send a report | Local help