************************************************************************
Copyright (c) 1997 Data Access Corporation, Miami Florida,
All rights reserved.
DataFlex is a registered trademark of Data Access Corporation.
08/19/94 JJT - Blended Classes from CB and DAF
************************************************************************
3.1 Changes
07/23/96 JJT - New Class names
05/31/96 JJT - added layer so image passing is optional
03/28/95 JJT - Removed Layer for 0 class
changed name to dfpcklst.pkg
************************************************************************
Dfpcklst.pkg (view source)- import declarations
- PickList_ : WideList
- PickList : Picklist_
Construct_Object()
- Integer
ScrollOnThumbTrackStateAdded 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.
- Integer
ThumbScrollStateThis 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
- Integer
CustomScrollStateIf the developer wishes to augment the vScroll messages they can shut
the existing customizations by setting this true
Mouse_Up()
Mouse_Click()
SetVScrollInfo(Integer iMin Integer iMax Integer iPage)
Added for new scroll bar support. Only support batch style
SetVScrollPos(Integer iPos)
SetVScrollbox(Integer iType Integer iData)
- Integer
iPos - Integer
iTop - Integer
bFast
set(integer iNewTop integer iNewCurrent)
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
References (2):
Field References (0):
Module | Containing Symbol | Line |
---|