ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage properties / Properties associated with windows, pages and controls
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 Reduced property is used to determine if a Dockable Panel control is expanded/collapsed, or to switch between the two states.
Example
// -- Click on a Button control
// Code used to collapse or expand the Dockable Panel control
DOPA_MyDockablePanel.Reduced = NOT DOPA_MyDockablePanel.Reduced
Syntax

Finding out whether a Dockable Panel control is collapsed or expanded Hide the details

<Result> = <Dockable Panel control>.Reduced
<Result>:
  • True if the Dockable Panel control is collapsed,
  • False otherwise.
<Dockable Panel control>: Control name
Name of the Dockable Panel control to use.

Collapsing or expanding a Dockable Panel control Hide the details

<Dockable Panel control>.Reduced = <Collapsed/expanded>
<Dockable Panel control>: Control name
Name of the Dockable Panel control to use.
<Collapsed/expanded>:
  • True if the Dockable Panel must be collapsed,
  • False otherwise.
Remarks
If the Dockable Panel control is undocked:
  • the Reduced property will always return False,
  • modifying the Reduced property has no effect (the Dockable Panel control remains expanded and the value of the Reduced property will still be False).
Minimum version required
  • Version 25
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help