User Tools

Site Tools


radiobuttons

RadioButtons

The RadioButtons element represents a group of radio buttons generated from a user defined list of labels.

Two radio buttons allowing a selection.
RadioButton screenshot

Characteristic

Definition
Type Interactive Display Object
Category Element
Scope Local
Position *
Parents Container
Children none
Gestures none
Requirements none

Attribute

Type

Description
fontColor number sets the color of the labels
fontSize number sets the size of the labels
fontStyle text sets the font of the labels
horizontalOffset number the space, in pixels, between the buttons when horizontally positioned
lables text a comma delimited list of labels
verticalLayout true/false determines whether the buttons are distributed horizontally or vertically
verticalOffset number the space, in pixels, between the buttons when vertically positioned

See Also: Display Attributes

<RadioButtons id="rb1" x="650" y="100" labels="Male,Female,Dragon,Turtle,Monkey,Horse" fontSize="25" fontColor="0x00FF00" fontStyle="OpenSansBold" verticalOffset="90"/>
radiobuttons.txt · Last modified: 2015/09/18 16:51 by glass