Chapter Contents

Previous

Next
List Box: _setToptext

List Box: _setToptext



Displays the item that has a specified text string at the top of a list box


Syntax
Details
Example

Syntax

CALL NOTIFY (list-box-name, '_setToptext', item-text<, occurrence>);

Argument Type Description
item-text
C specifies the text of the item to display at the top of the list box
occurrence
N specifies the number of the text's occurrence if the text occurs more than once. The default is 1.


Details

On some operating systems, this method causes the specified row to become visible in the list box but does not necessarily display the selected row at the top of the list box.


Example

_setToptext displays the first occurrence of the item North Carolina at the top of the list box:

   call notify('listbox1','_set_toptext_',
               'North Carolina',1);


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.