updatethumb_position_the_scrollbar_thumb_.htm
Navigation: ABC Library Reference > BrowseClass > BrowseClass Methods >====== UpdateThumb (position the scrollbar thumb) ====== | |
UpdateThumb
The UpdateThumb method positions the scrollbar thumb and enables or disables the vertical scroll bar depending on the number of items in the browse list, the currently selected item, and the active step distribution method. See Control Templates–BrowseBox for more information on thumb behavior.
Implementation:
The AddSortOrder method sets the stepdistribution methods for the BrowseClass object.
Example:
IF FIELD() = ?MyBrowse !focus on browse list
IF EVENT() = EVENT:NewSelection !if new selection
IF MyBrowse.TakeNewSelection() !BrowseClass object handles it
MyBrowse.UdateThumb !Reposition the thumb
END
END
END
updatethumb_position_the_scrollbar_thumb_.htm.txt · Last modified: 2021/04/15 15:57 by 127.0.0.1