PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
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
Deletes an option from a Radio Button control.
Versions 21 and later
Android This function is now available for the Android applications.
New in version 21
Android This function is now available for the Android applications.
Android This function is now available for the Android applications.
Versions 22 and later
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
New in version 22
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Example
// Deletes option #3 from a radio button
RadioButtonDelete(RADIO_Options, 3)
Syntax
RadioButtonDelete(<Radio Button Control> , <Subscript>)
<Radio Button Control>: Control name
Name of Radio Button control from which the option will be deleted.
<Subscript>: Integer
Subscript of option to delete. This subscript must be included between 1 and the number of options found in the Radio Button control. ..Occurrence is used to find out 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 size of the control can be modified by ..Width and ..Height.
  • 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 the invisible options" in the "Details" tab of control description.
    • WINDEV use ..CompactOption.
  • When deleting an option, if the radio button uses the numbering of options, the subscripts of the options found after the deleted option are automatically re-numbered.
  • Only the subscript 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 have the ability to specify the subscript corresponding to the option.
Components
WINDEVReports and Queries wd230obj.dll
Linux wd230obj.so
Android wd230android.jar
Minimum required version
  • Version 18
This page is also available for…
Comments
Click [Add] to post a comment