ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Controls, pages and windows / Radio Button 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 Radio Button control.
Example
// Delete option #3 from a Radio Button control
RADIO_Options.Delete(3)
Syntax
<Radio Button control>.Delete(<Subscript>)
<Radio Button control>: Control name
Name of the Radio Button control to use.
<Subscript>: Integer
Index of the option to be deleted. This index must be between 1 and the number of options in the Radio Button control. The Count property gets the number of options in a Radio Button control.
Remarks
  • When deleting options from a Radio Button 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 Radio Button 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.
  • When an option is deleted, if the radio button uses option numbering, the options following the deleted option are automatically renumbered.
  • Only the index of the option to delete can be specified. If the radio button uses returned values, you cannot specify the name of the option to delete. However, you can specify the index that corresponds to the option.
Component: wd290obj.dll
Minimum version required
  • Version 23
This page is also available for…
Comments
IMPORTANTE
PARA ZERAR A LISTA DE OPÇÕES, DEIXANDO TODAS OPTIONS DESMARCADAS, BASTA ATRIBUIR O VALOR -1

TO RESET OPTIONS LIST BY LEAVING ALL OPTIONS UNCLEAR, JUST ASSIGN VALUE -1

POUR RÉINITIALISER LA LISTE DES OPTIONS EN LAISSANT TOUTES LES OPTIONS, JUSTE ASSIGNER LA VALEUR -1

PARA RESTABLECER LA LISTA DE OPCIONES DEJANDO TODAS LAS OPCIONES NO CLARAS, SOLO ASIGNE EL VALOR -1
BOLLER
14 Oct. 2019

Last update: 06/20/2023

Send a report | Local help