Purpose
A bit mask to determine which process is active in the bBrowser.
Class
Type
Access
Data Type
DWord
Description
For different actions (processes) in bBrowser a corresponding process states is accessed wth bBrowser:ProcessState. The process states remain until the process action is complete. Such an action can be, for example, keyboard or mouse input.
The table below defines the supported process states:
Constant |
Description |
BPS_INAUTOREFRESH |
bBrowser is in AutoRefresh (see also bBrowser:AutoRefreshTime) |
BPS_INCLOSECOLUMN |
A column is closing in bBrowser (see also bBrowser:CloseColumn()). |
BPS_INCLOSERECORDGROUP |
A record group item is closing in bBrowser (see also bBrowser:RecordGroupItemChangeState()). |
BPS_INEDITSTART |
Cell input is underway. |
BPS_INEDITCLOSE |
Active cell input to a column has ended. |
BPS_INEDITCANCEL |
Active cell input to a column was canceled. |
BPS_INKEYCLICK |
bBrowser is processing the pressing a key on the keyboard. |
BPS_INMOUSECLICK |
bBrowser processing the pressing of a mouse button. |
BPS_INOPENCOLUMN |
A column is opened in bBrowser (see also bBrowser:OpenColumn()). |
BPS_INOPENRECORDGROUP |
A record group item is opened in bBrowser (see also bBrowser:RecordGroupItemChangeState()). |
BPS_INRECALCULATE |
The areas in the bBrowser are recalculated (see also bBrowser:Recalculate()). |
BPS_INREFRESH |
The column values are re-read (see also bBrowser:Refresh()). |
BPS_INUSE |
bBrowser is linked with a server (see also bBrowser:Use()). |
Several process states can be set at the same time. Use bit masking to indicate whether a process state was really set.
Samples
With the following code fragment, the callback method CellSelect() is used to indicate whether the method was invoked by a mouse or keyboard input.
METHOD CellSelect(oControlEvent) CLASS dtwTest
LOCAL iProcessState AS DWORD
iProcessState := oControlEvent:Control:ProcessState
IF _And(iProcessState, BPS_INMOUSECLICK)=BPS_INMOUSECLICK
// The callback method was invoked by mouse input
:
ELSE
// The callback method was invoked by keyboard input
:
ENDIF
Page url: http://www.YOURSERVER.com/index.html?bbrowser_processstate.htm