Name

radiobutton — The radio tag provides a simple radio button.

Synopsis

LZX: radiobutton
JavaScript: radiobutton
Type: Class
Access: public
Topic: Components.Laszlo Components
Declared in: lps/components/lz/radio.lzx

Description

The radiobutton class provides a simple two-state button with a text label, for use in radiogroup.

See radiogroup for details on use.

Implements a "radio" button, allows a one-of-many selection when several of these are in a radiogroup. Radiobutton expects its parent to be radiogroup.

Superclass Chain

node (LzNode) » view (LzView) » basecomponent » basevaluecomponent » baselistitem » radiobutton

Known Subclasses

Details

Properties (1)

text_y
<attribute name="text_y" type="number" value="${this.rb.height/2 - this._title.height/2}" />
public var text_y : Number;
the y position of the text label. default: centered

LZX Synopsis

<class name="radiobutton" extends=" baselistitem ">
  <attribute name=" text_y " type="number" value="${this.rb.height/2 - this._title.height/2}" />
</class>

JavaScript Synopsis

public radiobutton extends  baselistitem  {
  public var text_y  : Number;
}