UpdateThumbFixed (position the scrollbar fixed thumb)

Top  Previous  Next

 

UpdateThumbFixed, PROTECTED

The UpdateThumbFixed method positions the scrollbar fixed 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 fixed thumb behavior.

Implementation:

The AddSortOrder method sets the step distribution methods for the BrowseClass object.

Example:

MyBrowseClass.UpdateThumb PROCEDURE

CODE

IF SELF.Sort.Thumb &= NULL  !if no step object

 SELF.UpdateThumbFixed      !reposition thumb as tho fixed

ELSE

                            !reposition thumb per step object

END