PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US

X
Y
  • Check Box and Radio Button control
  • TreeMap control
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
..SubCaption is used to find out and modify:
  • the secondary caption of an option found in a Radio Button or Check Box control.
    Note: The Radio Button or Check Box control must support the sub-captions ("Standard + sub-captions" or "Vista + sub-captions" control).
  • Versions 15 and later
    WINDEV the secondary caption of an element found in a TreeMap control.
    New in version 15
    WINDEV the secondary caption of an element found in a TreeMap control.
    WINDEV the secondary caption of an element found in a TreeMap control.
Versions 22 and later
Universal Windows 10 App This property is now available in Universal Windows 10 App mode.
New in version 22
Universal Windows 10 App This property is now available in Universal Windows 10 App mode.
Universal Windows 10 App This property is now available in Universal Windows 10 App mode.
Example
// Modify the secondary caption of a Radio Button control
RADIO_Choice[2]..SubCaption = "To enable the advanced mode"
Syntax

Finding out the sub-caption of an element Hide the details

<Text of Sub-caption> = <Control Name>[<Element Number>]..SubCaption
<Text of Sub-caption>: Character string
Corresponds to:
  • the sub-caption of the option for a Radio Button or Check Box control.
  • the secondary caption of the element for a TreeMap control.
<Control Name>: Character string (with or without quotes)
Name of control used. This control can correspond to a Radio button control, a Check Box control or a TreeMap control.
<Element Number>: Integer
Corresponds to:
  • the number of the option used for a Radio Button or Check Box control.
  • the subscript of the element used for a TreeMap control.

Modifying the sub-caption of an element Hide the details

<Control Name>[<Element Number>]..SubCaption = <New Sub-caption>
<Control Name>: Character string (with or without quotes)
Name of control used. This control can correspond to a Radio button control, a Check Box control or a TreeMap control.
<Element Number>: Integer
Corresponds to:
  • the number of the option used for a Radio Button or Check Box control.
  • the subscript of the element used for a TreeMap control.
<New Sub-caption>: Character string (with quotes)
Text of the sub-caption to display for the specified element.
Remarks

Check Box and Radio Button control

The height of the sub-caption is automatically adapted to the size of the text displayed. This height can be modified by ..Height.
WINDEV

TreeMap control

The secondary caption of an element will be displayed only if the necessary space is available.
Minimum required version
  • Version 14
This page is also available for…
Comments
Click [Add] to post a comment