Class: cDbCJGridPromptList

Module location: cDbCJGridPromptList.pkg line 33 (view source)

Class Hierarchy:

DFCOMACTIVEXCONTROLcComActiveXControlcCJReportControlcCJGridcDbCJGridcDbCJGridPromptList

Class 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)
Inherited from cDbCJGrid
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)
Inherited from cCJGrid
if we use auto-ordering, change the order when the column changes
Construct_Object()
Inherited from cDbCJGrid
HandleCreateContextMenu()
Inherited from cDbCJGrid
we don't want a menu for prompt lists
DataLoadAdjustOnAddFocus()
Inherited from cDbCJGrid
with prompts list we don't want any automatic loading of data. Loading is handled in LoadData
Entry_update(Integer iFile Integer iDoAll)
Inherited from cDbCJGrid
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)
Inherited from cCJGrid
augment to popup a search window when allowed
OnComRequestEdit(Variant llRow Variant llColumn Variant llItem Boolean ByRef llCancel)
Inherited from cCJGrid
OnComRowDblClick(Variant llRow Variant llItem)
Inherited from cCJGrid
OnIdle()
Inherited from cDbCJGrid
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)
Inherited from cCJGrid
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)
Inherited from cDbCJGrid
reorder list automatically on column change this also set pbFocusSubItems which is required to make the two states work

Instances

oOrderDtl_GridOrder.vw228

References (5):

ModuleContaining SymbolLine
Customer.sloSelList23
Invt.sloSelList26
Orderhea.sloSelList28
Salesp.sloSelList22
Vendor.sloSelList20