Class Hierarchy:
DFCOMACTIVEXCONTROL

cComActiveXControl


cCJReportControl



cCJGrid




cDbCJGrid





cDbCJGridPromptListClass Definition
Properties
Boolean
pbAutoColumn
attempt to use the best column from invoking object
 Boolean
pbAutoEnableColumns
should non indexed columns be enabled
 Boolean
pbAutoSearch
pops up search window
 Boolean
pbAutoSeed
if we should seed list from invoking data
 Boolean
pbAutoServer
use the invoking DEO's server if possible
 Boolean
pbAutoServerInUse
 Boolean
pbCanceled
internally set by list
these must be set upon closing the list and can be used for manual list updates
 Boolean
pbDisableEntryUpdate
 Boolean
pbNeedsNewOrdering
 Boolean
pbRelational
 Boolean
pbRequestSearch
 Boolean
pbStoredAutoColumn
 Boolean
pbStoredAutoEnableColumns
 Boolean
pbStoredAutoOrdering
 Boolean
pbStoredAutoSearch
 Boolean
pbStoredAutoSeed
 Boolean
pbStoredAutoServer
 Boolean
pbStoredMultipleSelection
 Boolean
pbStoredSelectionEnable
 Boolean
pbStoredStaticData
 Integer
peStoredUpdateMode
 Integer
peUpdateMode
 Handle
phmPromptSeedBufferCallback
 Handle
phmPromptUpdateCallback
 Handle
phmStoredPromptSeedBufferCallback
 Handle
phmStoredPromptUpdateCallback
 Integer
phoInvokingObject
 Handle
phoOldServer
 Handle
phoStoredServer
 Integer
piInitialColumn
 Integer
piInvokingField
 Integer
piInvokingFile
 Integer
piStoredInitialColumn
 Integer
piStoredOrdering
 Integer
piStoredUpdateColumn
 Integer
piUpdateColumn
 Boolean
Private_pbAutoOrdering
 Integer[]
pSelectedRows
 String
psSeedValue
 Functions and Procedures
Integer
Add_Focus(Handle hoParent)
			
 
AutoEnableColumns()
			
disable columns that don't have indexes and non-static. If static it's enabled
Integer
Cancel()
			
 
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()
			
Handle
CreateContextMenu()
			
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.
Integer
Ok()
			
 
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()
			
Boolean
pbAutoOrdering()
			
 
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()
			
Boolean
SeedData(Handle hoUpdateColumn Handle hoInitialColumn)
			
 Integer
SelectBestColumn(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):