Navigation:  Classes > bBrowser >

bBrowser:EditStartFlags

Print this Topic    Previous pageReturn to chapter overviewNext page

Purpose

Flags which define which actions start a cell edit

Class

bBrowser

Type

Access / Assign

Data Type

DWord

Description

bBrowser:EditStartFlags defines which mouse or keyboard actions start a cell edit. The following flags are supported:

 

Flag

Description

BESF_NONE

The flag does not have a meaning and can be used to remove already defined flags.

BESF_ONKEY_RETURN

Cell editing is started if RETURN key is pressed.

BESF_ONKEY_CHAR

Cell editing is started if a character key (for example 0..9 and A..Z) is pressed.

BESF_ONKEY_F2

Cell editing is started if the F2 key is pressed.

BESF_ONMOUSE_BUTTONDOWN

Cell editing is started if the left mouse button is single clicked.

BESF_ONMOUSE_BUTTONUP

Cell editing is started if the left mouse button is released.

BESF_ONMOUSE_DOUBLECLICK

Cell editing is started if the left mouse button is double clicked.

BESF_PERMANENT

Cell editing is immediately started if the table cursor is moved on a editable cell.

 

Except for the flags BESF_NONE and BESF_PERMANENT all flags can be combined with each other.

 

The access bBrowser:EditStartFlags is supported only if cell editing is enabled by the access bBrowser:Editable.

 

The access bBrowser:EditStartFlags is ignored within deleted records or in cells with those editing is disabled by the access bDataColumn:Editable.

 

If for a column own bDataColumn:EditStartFlags are defined, then these are used instead.

 

After creating a bBrowser control, the access contains the flags below:

BESF_ONKEY_RETURN
BESF_ONMOUSE_DOUBLECLICK

 

Important note!
The accesses bBrowser:EditStartFlags and bBrowser:EditCloseFlags replaces the access bBrowser:AutoEdit. The access bBrowser:AutoEdit should not be used any more.

See Also

bBrowser:AutoEdit

bBrowser:Edit()

bBrowser:Editable

bBrowser:EditCloseFlags

bDataColumn:EditStartFlags

 


Page url: http://www.YOURSERVER.com/index.html?bbrowser_editstartflags.htm