PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN

New WINDEV 26 feature!
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 Undocked property is used to determine if a pane of a Tab or Ribbon control is undocked.
Example
// If pane 2 is undocked from the Ribbon control, make the following pane active
IF RIBBON_Menu[2].Undocked THEN
RIBBON_Menu = 3
ELSE
RIBBON_Menu = 2
END
 
// Determine if a pane is undocked from a Tab control
FOR i = 1 TO TAB_Option.Count
     IF TAB_Option[i].Undocked THEN RESULT True
END
RESULT False
Syntax

Determining if a pane is undocked Hide the details

<Result> = <Control used>.Undocked
<Result>: Boolean
  • True if the pane is undocked,
  • False otherwise.
<Control used>: Control name
Name of the pane of the Tab or Ribbon control to use. The following syntax must be used:
<Control name>[Element index]
For example:
RIBBON_Menu[2]
Remarks
  • A pane is undocked if it is in a free window different from the window where the control is.
  • To be undocked from a Tab control, the pane must be dynamic.
  • To undock a pane from a Ribbon control, check the "Undockable panes" option in the control description window.
Minimum version required
  • Version 26
This page is also available for…
Comments
Click [Add] to post a comment