Class: PickList

Module location: Dfpcklst.pkg line 29 (view source)

Class Hierarchy:

DFBaseEntryListEntryListWideList_WideListPickList_PickList

Direct Known Subclasses:

ValidationPickList,

Class Definition

Properties

IntegerCustomScrollState
If the developer wishes to augment the vScroll messages they can shut the existing customizations by setting this true
IntegerScrollOnThumbTrackState
Added for new scroll bar support. Only support batch style This determines if the scroll occurs when the thumb is dragged When false, it scrolls when the thumb is released. Only set it to false if the scroll takes a long time.
IntegerThumbScrollState
This determines if thumb should be sized proportionally to the scroll area. When true it acts like a normal windows list. When false, you get old vdf behavior where thumb is small and scroll moves up down one line at a time

Functions and Procedures

Construct_Object()
Inherited from pick_list_mixin
Mouse_Click()
Mouse_Up()
set(integer iNewTop integer iNewCurrent)
Inherited from list_mixin
the DFBaseEntryList class has it's own special Set_Top_item message (as of 9.0) which does not set current_item. When used for non-batch lists, we don't want the set_current_item and that is why it was removed. This fixes a problem when scrolling down/up when the entire grid is shifted horizontally to the right. When you scroll, the grid would shift to col 0. However, with batch lists we want the normal set_top_item or we get other problems. So we we modify the method here to make it do a normal top_item (ie. set current_item). While this top_item addition was added in 9.0 for DataLists classes it was not added to PickList classes, which is the other branch off of Widelist. Since Picklists are always non-batch, this setting of current_item is required and was added as of 11.1
SetVScrollbox(Integer iType Integer iData)
SetVScrollInfo(Integer iMin Integer iMax Integer iPage)
Added for new scroll bar support. Only support batch style
SetVScrollPos(Integer iPos)

References (1):

ModuleContaining SymbolLine
Dfddpklt.pkgValidationPickList28