Radio buttons

Introduction
As an alternative for checkboxes you can use Points as radio buttons. [br]In following applet Points A, B and C are used as Radio buttons to select one out of three equal options. Points D, E and F are Radio buttons to answer a question. While using dynamic coloring, you don't need additional text to provide feedback.
How do you do this?
[list][*][b]PointStyle[/b]:[br]You can define different Pont styles with the command [url=https://wiki.geogebra.org/en/SetPointStyle_Command]SetPointStyle()[/url]. Use[br]- [code]SetPointStyle( , 0 )[/code] for a full dot[br]- [code]SetPointStyle( , 2 )[/code] for an empty dot[/*][*][b]Selecting a Point[/b]:[br]When selecting a point we make sure that the other options are deselected.[br]We do this in the tab Scripting of the Properties with the option [i]Onclick[/i].[br]So for the points A, B and C we use following commands:[br][table][tr][td][b]Point A[/b][/td][td][b]Point B[/b][/td][td][b]Point C[/b][/td][/tr][tr][td][code]SetPointStyle(A,0)[br]SetPointStyle(B,2)[br]SetPointStyle(C,2)[/code][/td][td][code]SetPointStyle(A,2)[br]SetPointStyle(B,0)[br]SetPointStyle(C,2)[/code][/td][td][code]SetPointStyle(A,2)[br]SetPointStyle(B,2)[br]SetPointStyle(C,0)[/code][/td][/tr][/table][/*][*][b]Coloring for feedback[/b]:[br]f(x) is a rational function. Using dynamic colors we can ensure that E colors green when selected, while D and F will color red. Selecting and deselecting of D, E and F is done the same way as A, B and C.[br]We add the command [url=https://wiki.geogebra.org/en/SetColor_Command]SetColor( , "color")[/url] to give feedback on the answer:[br][table][tr][td][b]Point D[/b][/td][td][b]Point E[/b][/td][td][b]Point F[/b][/td][/tr][tr][td][code]SetPointStyle(D,0)[br]SetPointStyle(E,2)[br]SetPointStyle(F,2)[br]SetColor(D,"red")[br]SetColor(E,"blue")[br]SetColor(F,"blue")[/code][/td][td][code]SetPointStyle(D,2)[br]SetPointStyle(E,0)[br]SetPointStyle(F,2)[br]SetColor(D,"blue")[br]SetColor(E,"green")[br]SetColor(F,"blue")[/code][/td][td][code]SetPointStyle(D,2)[br]SetPointStyle(E,2)[br]SetPointStyle(F,0)[br]SetColor(D,"blue")[br]SetColor(E,"blue")[br]SetColor(F,"red")[/code][/td][/tr][/table][/*][*][b]Deselecting all[/b]:[br]The easiest way to deselect all points is a button with the command [code]SetPointStyle( , 0 )[/code] for all points.[br][br][/*][/list]
More examples
Here is a worksheet from Tim Brzezinski where the check boxes behave like radio buttons.

Information: Radio buttons