## The `firstvisible' property

Integer scalar or two-element vector

Valid for: List, Grid

For a List object, the `firstvisible` property is an integer scalar which represents the first visible item at the top of the list box. Thus, if the list box has been scrolled down three lines, it will have the value 4. You can write to this property to force a scroll so that a specific item is at the top of the visible portion of the list; however, because you the list will not scroll beyond the last item, you should read back the property if you need to know exactly which item ended up as the first visible item.

For a Grid object, `firstvisible` is a two-element integer vector. It allows you to read or set the top-left position of the visible portion of the Grid. It is the same as the first two elements of the `view` property.

Topic: APLX Help : System Classes : Properties : firstvisible

[ Previous | Next | Contents | Index ]