ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / Developing an application or website / Controls, windows and pages / Controls: Available types / Radio Button control
  • Overview
  • Creating a Radio Button control
  • Creating a Radio Button control
  • Display modes available
  • Swap
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
Overview
The Radio Button control is a control allowing the user to select an option among several ones.
A radio button can display up to 256 options arranged in several rows and columns. A single option can be selected by the user. The radio button returns the number of the selected option.
Examples:
  • In WINDEV or WINDEV Mobile:
  • In WEBDEV:
Creating a Radio Button control

Creating a Radio Button control

To create a Radio Button control:
  1. On the "Creation" tab, in the "Usual controls" group, click "Radio Button".
  2. Click where the control will be created in the window or page. The control appears in the editor.
To view the characteristics of the control, select "Description" in the context menu.
Display modes available
Swap
WINDEV, WINDEV Mobile and WEBDEV allow you to automatically transform a Radio Button control into a Check Box control (and conversely):
  1. Select the control to transform.
  2. On the "Modification", in the "Transformations" group, expand "Refactoring and swapping" and select "Radio Button / Check Box".
Related Examples:
The Radio Button control Unit examples (WINDEV): The Radio Button control
[ + ] Using a Radio Button control
HTMLClass property Unit examples (WEBDEV): HTMLClass property
[ + ] The property ..HTMLClass allows you to read and update the control's HTML attribute "class".
This property lets you select the CSS Style applied on the control.
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 06/22/2023

Send a report | Local help