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
The Pinned property is used to:
  • Pin a control: the position of the pinned control will be relative to the visible area of its container and not to the content area.
    In a mobile window, this property keeps a control in the same position relative to the screen, even when the window is scrolled.
  • Determine if a control is pinned.
Remark: This property corresponds to the "Pinned control" option in the "UI" tab of the control description window (parallax and pinned controls management button).
Example
BTN_NewMessage.Pinned = True
BTN_NewMessage.HideWhileScrolling = True
Syntax

Determine if a control is pinned Hide the details

<Result> = <Control used>.Pinned
<Result>: Boolean
  • True if the control is pinned (fixed position relative to its container),
  • False otherwise.
<Control used>: Control name
Name of the control to be used.

Pinning a control Hide the details

<Control used>.Pinned = <Pinned?>
<Control used>: Control name
Name of the control to be used.
<Pinned?>:
  • True if the control is to be pinned (fixed position relative to its container),
  • False otherwise.
Minimum version required
  • Version 27
This page is also available for…
Comments
Click [Add] to post a comment