- int_item ->increment:
- Increment the selection.
- int_item ->decrement:
- Decrement the selection. This methods translates the currently displayed
text into an integer (0 if the value cannot be translated), decrements
the result by one and ensures the result is within the boundaries
determined by int_item
->range.
- int_item ->initialise: name=[name],
default=[function
|int], message=[code]*, low=[int],
high=[int] - Create an int_item
object from its name, default value, message and low and high value. The
initialisation is the same as
text_item
->initialise,
followed by int_item->range:
low, high.
- int_item ->range: low=[int],
high=[int]
- Allowed range. This methods assigns text_item
<-type
and text_item->length
to ensure the item is wide enough to hold all values in the indicated
range. The default low value is pce<-min_integer,
the default high is pce<-max_integer.
- int_item ->typed: event_id
- Invokes text_item
->typed.
If the result is not an integer, or not within int_item->range
a warning is raised and the value is reset to the value before calling
this method.