ListViewItem.Field

Defines a single field (cell) in a listview.

Constructors

this
this(Text text, ABitmap bitmap, FormatFlags frmtFlags, bool editable, bool numOnly, bool fp)

Default constructor.

Members

Enums

FormatFlags
enum FormatFlags

Used to set numerical formatting styles NOTE: Not all formats support decimal types

Properties

editable
bool editable [@property getter]

Returns whether the field is editable.

editable
bool editable [@property setter]

Sets whether the field is editable. Returns the new value.

forceFP
bool forceFP [@property setter]

Sets whether the field forces floating point. Returns the new value.

forceFP
bool forceFP [@property getter]

Returns whether the field forces floating point.

formatFlags
FormatFlags formatFlags [@property getter]

Returns the field's format flags.

formatFlags
FormatFlags formatFlags [@property setter]

Sets whether the field is editable. Returns the new value.

integerOnly
bool integerOnly [@property getter]

Returns whether the field is integer only.

integerOnly
bool integerOnly [@property setter]

Sets whether the field is integer only. Returns the new value.

numericOnly
bool numericOnly [@property getter]

Returns whether the field is numeric only.

numericOnly
bool numericOnly [@property setter]

Sets whether the field is numeric only. Returns the new value.

Static variables

FORCE_FP
enum FORCE_FP;

Forces number to be displayed as floating point.

FORMAT_FLAGS
enum FORMAT_FLAGS;

Used to set and read formatting flags.

INTEGER_ONLY
enum INTEGER_ONLY;

Set if field only accepts integer numbers.

IS_EDITABLE
enum IS_EDITABLE;

Set if field is text editable.

NUMERIC_ONLY
enum NUMERIC_ONLY;

Set if field only accepts numeric values (integer or floating-point).

Variables

bitmap
ABitmap bitmap;

Custom bitmap, can be 32 bit if target enables it.

text
Text text;

Stores the text of this field if there's any.

Meta