Topic: APLX Help : System Classes : Properties : range
[ Previous | Next | Contents | Index | APL Home ]

www.microapl.co.uk

The 'range' property


Two-element numeric vector, or empty vector

Valid for: Progress, Spinner, Trackbar, ChooseFont, Movie, RichEdit

For a Progress, Spinner or Trackbar control, the range property is a two-element integer vector. The first element is the minimum value of the control, and the second is the maximum value. Writing an empry vector this property restores the default value: 0 100.

For a ChooseFont pre-defined dialog under Windows, the range property allows you to set the smallest and largest font sizes which the user can select (in the current scale units). An empty vector indicates that there is no pre-set limit on the font size. Remember that the default scale is character units - you will normally find it easier to select scale 3, point units, for the ChooseFont dialog.

For a Movie object, range is a read-only property. It returns the start position (usually 0) and end position of the movie or other media file, in units which depend on the particular type of file. The position property represents the current position within this range.

For a RichEdit control, the range property is read-only, and is a two-element integer vector. The first element is the line number of the first visible line, and the second is the count of lines visible in the control.


Topic: APLX Help : System Classes : Properties : range
[ Previous | Next | Contents | Index | APL Home ]