Class: cDbCJGridPromptList
Class Hierarchy:
DFCOMACTIVEXCONTROLcComActiveXControlcCJReportControlcCJGridcDbCJGridcDbCJGridPromptListClass Definition
Properties
BooleanpbAutoColumn
attempt to use the best column from invoking object
BooleanpbAutoEnableColumns
should non indexed columns be enabled
BooleanpbAutoSearch
pops up search window
BooleanpbAutoSeed
if we should seed list from invoking data
BooleanpbAutoServer
use the invoking DEO's server if possible
BooleanpbAutoServerInUse
BooleanpbCanceled
internally set by list
these must be set upon closing the list and can be used for manual list updates
BooleanpbDisableEntryUpdate
BooleanpbNeedsNewOrdering
BooleanpbRelational
BooleanpbRequestSearch
BooleanpbStoredAutoColumn
BooleanpbStoredAutoEnableColumns
BooleanpbStoredAutoOrdering
BooleanpbStoredAutoSearch
BooleanpbStoredAutoSeed
BooleanpbStoredAutoServer
BooleanpbStoredMultipleSelection
BooleanpbStoredSelectionEnable
BooleanpbStoredStaticData
IntegerpeStoredUpdateMode
IntegerpeUpdateMode
HandlephmPromptSeedBufferCallback
HandlephmPromptUpdateCallback
HandlephmStoredPromptSeedBufferCallback
HandlephmStoredPromptUpdateCallback
IntegerphoInvokingObject
HandlephoOldServer
HandlephoStoredServer
IntegerpiInitialColumn
IntegerpiInvokingField
IntegerpiInvokingFile
IntegerpiStoredInitialColumn
IntegerpiStoredOrdering
IntegerpiStoredUpdateColumn
IntegerpiUpdateColumn
BooleanPrivate_pbAutoOrdering
Integer[]pSelectedRows
StringpsSeedValue
Functions and Procedures
IntegerAdd_Focus(Handle hoParent)
AutoEnableColumns()
disable columns that don't have indexes and non-static. If static it's enabled
IntegerCancel()
ClosePromptList()
This is only called in a successful close
ColumnChanged(Integer iOld Integer iNew)
if we use auto-ordering, change the order when the column changes
Construct_Object()
HandleCreateContextMenu()
we don't want a menu for prompt lists
DataLoadAdjustOnAddFocus()
with prompts list we don't want any automatic loading of
data. Loading is handled in LoadData
Entry_update(Integer iFile Integer iDoAll)
must be able to disable this when we are seeding the list from the invoking object w/ auto-server
InitializePromptList()
called before the list is activated.
LoadData()
called after list is created and active. Load Data, seed list, select start column, etc.
IntegerOk()
OnComKeyDown(Short ByRef llKeyCode Short llShift)
augment to popup a search window when allowed
OnComRequestEdit(Variant llRow Variant llColumn Variant llItem Boolean ByRef llCancel)
OnComRowDblClick(Variant llRow Variant llItem)
OnIdle()
augmented to handle auto-ordering and invoking the search popup list
OnMoveValueOutByCustom()
OnMoveValueOutByRelational()
OnMoveValueOutByValue()
OnRelationalPromptListError()
by default this raises an error. If you want a failed relational list to not raise an
error but to default to a different mode such as unPromptValue, just remove the error and
set peUpdateMode.
OnRestoreDefaults()
OnRowDoubleClick(Integer iRow Integer iCol)
OnStoreDefaults()
BooleanpbAutoOrdering()
Release_Focus()
augment to send OnRestoreDefaults. This must happen after the object is deactivated
so that the change in server will not do anything. This is called after remove_object
which removes this DEO from the server.
Search()
BooleanSeedData(Handle hoUpdateColumn Handle hoInitialColumn)
IntegerSelectBestColumn(Integer iFile Integer iField)
select best column to start in
String[]SelectedColumnValues(Integer iCol)
RowID[]SelectedRowIds()
Set(Boolean bAutoOrder)
reorder list automatically on column change
this also set pbFocusSubItems which is required to make the two states work
Instances
oOrderDtl_Grid | Order.vw | 228 |
References (5):