PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN

  • Check Box and Radio Button 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
The SubCaption property is used to get and change:
  • the secondary caption of an option found in a Radio Button or Check Box control.
    Remark: The Radio Button or Check Box control must support the sub-captions ("Standard + sub-captions" or "Vista + sub-captions" control).
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

<Sub-caption text> = <Control used>[<Element number>].SubCaption
<Sub-caption text>: 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 used>: Control name
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 index of the element used for a TreeMap control.

Modifying the sub-caption of an element Hide the details

<Control used>[<Element number>].SubCaption = <New sub-caption>
<Control used>: Control name
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 index 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 the Height property.
Minimum version required
  • Version 14
This page is also available for…
Comments
Click [Add] to post a comment