PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US

X
Y
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
..CompactOption is used to:
  • find out whether the options of a control are in compacted mode.
  • switch the options of a control to compacted mode.
In compacted mode, the options of a control move closer:
  • when an option is made invisible.
  • when an option is deleted.
If the options are not compacted, they keep their initial position.
This property is available for:
  • WINDEV the Check Box controls.
  • WINDEV the Radio Button controls.
  • Versions 19 and later
    the Dashboard controls.
    New in version 19
    the Dashboard controls.
    the Dashboard controls.
Notes:
  • WINDEV Check Box and Radio Button controls: This property corresponds to the option "Compact the options" available in the "Details" tab of the control description.
  • Versions 19 and later
    Dashboard control: This property corresponds to the option "Compact the widgets" available in the "Details" tab of the control description.
    New in version 19
    Dashboard control: This property corresponds to the option "Compact the widgets" available in the "Details" tab of the control description.
    Dashboard control: This property corresponds to the option "Compact the widgets" available in the "Details" tab of the control description.
  • Versions 20 and later
    WEBDEV - Server code This property is available for the Dashboard controls only.
    New in version 20
    WEBDEV - Server code This property is available for the Dashboard controls only.
    WEBDEV - Server code This property is available for the Dashboard controls only.
    WEBDEV - Server codeAndroidiPhone/iPad This property is available for the Dashboard controls only.
Versions 22 and later
Android This property is now available for the Android applications.
iPhone/iPad This property is now available for the iPhone/iPad applications.
New in version 22
Android This property is now available for the Android applications.
iPhone/iPad This property is now available for the iPhone/iPad applications.
Android This property is now available for the Android applications.
iPhone/iPad This property is now available for the iPhone/iPad applications.
Example
WINDEV
CBOX_Options..CompactOption = True
// Deletes option #3 from a check box
CheckBoxDelete(CBOX_Options, 3)
Syntax

Finding out whether the options of a control are compacted Hide the details

<Result> = <Control Name>..CompactOption
<Result>: Boolean
  • True if the options are compacted,
  • False otherwise.
<Control Name>: Character string (with or without quotes)
Name of control used. This control can be:
  • WINDEV a Check Box control,
  • WINDEV a Radio Button control,
  • Versions 19 and later
    a Dashboard control.
    New in version 19
    a Dashboard control.
    a Dashboard control.

Defining whether the options found in a control must be compacted Hide the details

<Control Name>..CompactOption = <Compact>
<Control Name>: Character string (with or without quotes)
Name of control used.
<Compact>: Boolean
  • True if the options of the control must be compacted,
  • False otherwise. This control can be:
    • WINDEV a Check Box control,
    • WINDEV a Radio Button control,
    • Versions 19 and later
      a Dashboard control.
      New in version 19
      a Dashboard control.
      a Dashboard control.
Minimum required version
  • Version 18
This page is also available for…
Comments
Click [Add] to post a comment