Navigation: ABC Library Reference > BrowseClass > BrowseClass Properties >====== StartAtCurrent (initial browse position) ====== | |
StartAtCurrent | BYTE |
The StartAtCurrent property indicates whether the BrowseClass object initially positions to the first item in the sort order or positions to the item specified by the contents of the Browse's view buffer. A value of zero (0 or False) positions to the first item; a value of one (1 or True) positions to the item specified by the contents of the view buffer.
Implementation:
The SetSort method implements the StartAtCurrent initial position. The SetSort method positions the browse list based on the contents of the fields in the active sort order, including the free element field.
Example:
BRW1.StartAtCurrent = True
ST:StateCode = 'K' !set key component value
BrowseSt.Init(?StList,StateQ.ViewPosition,StView,StateQ,Relate:State,SELF)
See Also: SetSort