ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Controls, pages and windows / Check Box functions
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
Deletes an option from a Check Box control.
Example
// Deletes option #3 from a Check Box control
CBOX_Options.Delete(3)
Syntax
<Check Box control>.Delete(<Subscript>)
<Check Box control>: Control name
Name of Check Box control from which the option will be deleted.
<Subscript>: Integer
Index of the option to be deleted. This index must be between 1 and the number of options in the Check Box control. The Count property gets the number of options in a Check Box control.
Remarks
  • When deleting options from a Check Box control, the size of the control is not modified. The control size can be changed using the Width and Height properties.
  • You have the ability to compact the options in order to optimize the aspect of the control once options have been deleted.
    In compacted mode, the options of a Check Box control move closer:
    • when an option is made invisible.
    • when an option is deleted.
  • To use the compacted mode:
    • check "Compact invisible options" in the "Details" tab of the control description.
    • WINDEV use the CompactOption property.
  • When an option is deleted, the indices of the options that follow the deleted option are automatically renumbered.
Component: wd290obj.dll
Minimum version required
  • Version 23
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 06/19/2023

Send a report | Local help