Construct_Object()
- Integer
Orderinginitial ordering
- Boolean
pbPromptListBehaviordetermines behavior of various grid vs prompt list
- Integer
peRequestFindModedetermines how request_find behaves
- Boolean
entry_refresh_Staterequired by dds
- Boolean
pbUnOrderedtracks if new records might have made the list out of order
- Boolean
pbAutoRegenerateif false it will never try to reorder your additions
- Boolean
pbStaticDataif true, load all data at once and it is static
- Integer
Component_Statefrom nesting.pkg
- Integer
Has_Components_State
Set(Integer newVal)
this procedure **replaces** set Changed_state from the server mixin. We are not going to set
the watched server's (parent DDs) to changed_state. This is not needed and is heavy handed because
this sets all watched servers and not the single column that triggered the change. We probably don't
need to set watched servers in the grids. We are setting the main server's DD to changed and that is enough
- Integer
srvr# - Integer
wsrvr
Request_Cancel()
- Handle
CreateDataSource()
called by constructor
- Integer
hoDataSource
- Handle
CreateContextMenu()
default context menu for db grids
- Integer
hoMenu - Integer
hoMenu1
BindDataSource()
use this to set any special properties in the datasource that might be
needed for this particular grid and data source. With db grids we need to
update the Server, Main_file and Ordering
- Integer
iOrder - Boolean
bDDReadMode - Boolean
bReverseOrdering - Boolean
bStatic - Integer
hoDD - Integer
hoDataSource
- Integer
Add_Focus(Handle hoParent)
- Integer
iRows - Integer
hoDataSource - Boolean
bAutoLoad - Boolean
bAllLoaded - Boolean
bActive
DataLoadAdjustOnAddFocus()
- Integer
iRows - Integer
hoDataSource - Integer
hoServer - Boolean
bAllLoaded - Boolean
bHasRec - RowId
riID
OnIdle()
- Boolean
bUnOrdered - Boolean
bNew - Boolean
bRegenerate - Boolean
bStatic - Boolean
bChanged - Boolean
bBeginEdit - Integer
hoDataSource
- Integer
Exiting(Handle hoDestination)
augment to refresh the grid if it is unordered after a save. Generally upon
exit we want to grid refreshed else OnIdle may do this when the grid does not have
the focus which can change other DEOs that rely on this grid.
- Boolean
bCancel - Boolean
bUnOrdered - Boolean
bNew - Boolean
bChanged - Boolean
bRegenerate - Boolean
bStatic - Integer
hoDataSource - Integer
hoEdit
Request_Find(Integer eFindMode Integer bEntUpdt)
required DD/DEO Find interface
- Integer
iCol
Find_GE()
required DD/DEO Find interface
Find_Next()
required DD/DEO Find interface
Find_Previous()
required DD/DEO Find interface
Find_First()
required DD/DEO Find interface
Find_Last()
required DD/DEO Find interface
Entry_update(Integer iFile Integer iDoAll)
required DD/DEO interface
sent by DD before a find and save. We only care about DD finds which
means DoAll is 1
- Integer
hoDataSource
Request_Clear_All()
- Boolean
bErr - Integer
hoServer
Request_Save_No_Clear()
A grid save *is* a no-clear save so you don't really need to use this. However this message is supported in DEO controls
and we want it to work if this is sent from a hot-key, menu or toolbar item.
- Integer
DDRefreshTableStatus(Integer iTable)
returns the table's status for the refresh event. A table can either be
cleared, found or not touched by the operation. This can only be called while
within Refresh. This was created to hide the private is_file_included command
- Boolean
bIncluded
Refresh(Integer eMode)
required DD/DEO interface
sent by DD when there is a clear/find/save/delete
- Integer
hoDataSource - Integer
hoDD - Integer
hoCol - Boolean
bRowDisplay - Boolean
bMainFound - Boolean
bDeferred - Integer
iMainFile - Integer
iRow - Integer
iSel - Integer
iOffSet - Integer
eDDStatus - RowId
riId
File_Field_Value_Changed(Integer iFile Integer iField String sValue Integer iChangeDisabled)
required DD/DEO interface
sent by DD whenever DD value has changed.
- Integer
iCols - Integer
i - Integer
hoCol - Integer
hoDataSource - Boolean
bChanged - Boolean
bFieldChanged
File_Field_Option_Changed(integer iFile integer iField integer iOptions integer bClear)
required DD/DEO interface
sent by DD whenever DD option has changed.
- Integer
iCols - Integer
i - Integer
hoCol
File_Field_mask_Changed(Integer iFile Integer iField String sMask)
required DD/DEO interface
- Integer
iCols - Integer
i - Integer
hoCol
File_Field_Label_Changed(Integer iFile Integer iField Boolean bLong String sLabel)
required DD/DEO interface
- Integer
iCols - Integer
i - Integer
hoCol
- String
Item_Field_Property(Integer iMsg Integer iItem)
required DD/DEO interface
- Integer
iFile - Integer
iField - Integer
hoDD - String
sValue
Update_focus_field()
required DD/DEO interface
sent by DD to commit the focused value
- Integer
Validate_Items(Boolean bNotFindReq)
required DD/DEO interface
- Handle
ItemToDEOColumnObject(Integer iItem)
- Integer
hoCol
- Integer
Data_File(Integer iItem)
required DD/DEO interface
- Integer
iFile - Integer
hoCol
- Integer
Data_Field(Integer iItem)
required DD/DEO interface
- Integer
iField - Integer
hoCol
- Integer
Checkbox_item_State(Integer iItem)
required DD/DEO interface
- Integer
iState - Integer
hoCol
- Integer
Item_Noput(Integer iItem)
required DD/DEO interface
- Integer
iState - Integer
hoCol
- String
Data_Value(Integer iItem)
required DD/DEO interface
- Integer
hoCol - String
sValue
- Handle
prototype_object()
required DD/DEO interface
update_dependent_items()
required DD/DEO interface
- Integer
Extended_deo_State()
required DD/DEO interface
- Boolean
Deo_Find_Object()
required DD/DEO interface
- Boolean
DEO_Control_Object()
required DD/DEO interface
- Boolean
DEO_Object()
required DD/DEO interface
Copy_Item_Options(Integer iDSO Integer iFile Integer iField Integer iDEO Integer iItem)
required DD/DEO interface
- Integer
hoCol
- Handle
DEOColumnObject(Integer iColumn)
returns object for column. If the column object is not a DEO it returns 0
- Integer
hoCol - Boolean
bDEO
RequestColumnFind(Integer iCol Integer eFindMode Integer bEntUpdt)
- Integer
iFile - Integer
iField - Integer
iIndex - Integer
iMain - Integer
iOffset - Integer
iRelField - Integer
eRequestFindMode - Boolean
bDDReadMode - Boolean
bFound - Boolean
bStatic - Integer
hoCol - Integer
hoServer - Integer
hoDataSource
- Integer
RelatingField(Integer iRelatedFile)
Attempt to find the field from the server's MainFile that relates to iRelatedFile
- Integer
iField - Integer
iRelFile - Integer
iNumFields - Integer
iIndex - Integer
iMainfile - Integer
hoServer
RequestColumnLookup(Integer iCol)
does a find for the passed column by first looking down and, if no find, then looking up
This is used when you are doing lookup/searches
HeaderReorder(Integer iCol)
- Integer
hoCol - Integer
hoDataSource - Integer
iOrder - Integer
iOld - Integer
iOldCol - Boolean
bHeaderTogglesDirection - Boolean
bHeaderReorders - Boolean
bReverse - Boolean
bStatic - Boolean
bLoaded
ReorderGridByColumn(Handle hoCol Boolean bDescending)
- Integer
iCol - Integer
iOrdering
ChangeOrdering(Integer iOrdering Boolean bDescending)
- Boolean
bCancel
- Integer
LoadByMatchingRow(RowID riID Boolean bResetCache)
Load grid based on rowId. If bResetCache the cache is cleared so the
search always refreshed. If false, it tries to find the ID in the existing
datasource first.
- Integer
hoDataSource - Integer
iCount - Integer
iIndex - Boolean
bDirty
RefreshDataFromMatchingRow(RowID riID Integer iOffset)
Refreshes grid around this row id. Allows you to refresh a grid around record.
This always refreshes the cache
- Integer
iRow - Integer
hoDataSource
RefreshDataFromSelectedRow()
Refreshes grid around selected row id
- RowId
riID - Integer
iSel - Integer
iOffset - Integer
hoDataSource
RefreshDataFromDD(Integer iOffset)
Refreshes grid around the DD record. You'd use this if you've got a newly empty activated grid or a
deferred grid
This always refreshes the cache
- RowId
riID - Integer
hoDD
RefreshDataFromExternal(Integer iOffset)
Refreshes grid around the current file buffer
This always refreshes the cache
- RowId
riID - Integer
hoDD - Integer
iFile
RequestColumnSearch(Handle hoCol Integer iKeyCode Integer iKeyShift)
do a popup search request for the passed column. The keys can provide a
seed value - they come from OnComKeyDown. Augmented to do a file find with
DB grids
- Integer
hoSearchDialog - Integer
hoDataSource - Integer
iCol - Boolean
bOk - Boolean
bStatic - String
sValue