Skip to content

ChoiceLib

ChoiceLib is an object type. You don't create it directly: you get one from another call, then call its methods with a colon, e.g. field:help().

Methods

Function Description Since
help() Set the field help text. 1.5.10
title() Set the choice menu title. 1.6.1
values() Set the choice values. 1.6.2

Inherited from FormFieldLib

Function Description
enable() Enable / disable the field.
focus() Give the focus to the field.
rect() Get the field rect.