Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.clipper.visual-objects > #1359

Re: bBrowser 3.0 cell edit

Subject Re: bBrowser 3.0 cell edit
From Camille Kater <katercamXXX@pt.lu>
Date 2011-06-11 21:01 +0200
Message-ID <1307819258_313@vo.lu> (permalink)
References <e1edebea-b3c5-46c0-b183-73030a2988bc@v8g2000yqb.googlegroups.com>
Newsgroups comp.lang.clipper.visual-objects

Show all headers | View raw


Hi,

There's a difference between 2.7 and bBrowser3:

 From the help menu:
Important note!
The access bBrowser:AutoEdit is replaced by the accesses 
bBrowser:EditStartFlags and  bBrowser:EditCloseFlagsand should not be 
used any more. If a value is assigned to bBrowser:AutoEdit, then the 
corresponding flags are set automatically for bBrowser:EditStartFlags 
and bBrowser:EditCloseFlags.

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_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.

After creating a bBrowser control, the access contains the flags below:
ยท BESF_ONKEY_RETURN
BESF_ONMOUSE_DOUBLECLICK


So please check the methods EditStartFlags and EditCloseFlags

Camille

On 11/06/2011 16:18, JoseMaria wrote:
> Hello,
>
> I upgraded several months ago from VO2.7+bbrowser 2.7 to
> VO2.8SP3+bBrowser 3. The change has been in general for the better as
> 5333 crashes have died out.
>
> There is however one thing which I liked better in the previous
> version: when a user was editing a bbrowser grid and he was on a cell
> containing a string, by default the cell content was selected (in
> blue), and if he wanted to change the string, he could type the right
> arrow (of the 4 mouvement arrows in the keyboard) and he could edit
> the string. So if he wanted to make a small change he did not need to
> retype the whole string, just change whatever was needed.
>
> Now in the new version, again the cell content is selected when he
> reaches a cell in blue (which is right) but if the user types the
> right arrow he goes to the cell in the right, he does not go to edit
> the cell content. There is a solution: he can click on the cell with
> the mouse and then he can edit the cell content, but this is much
> slower as he cannot do it with the keyboard.
>
> Please your help is much appreciated, as users say this makes them
> lose time.

Back to comp.lang.clipper.visual-objects | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

bBrowser 3.0 cell edit JoseMaria <jmespinosabaviera@yahoo.com> - 2011-06-11 07:18 -0700
  Re: bBrowser 3.0 cell edit "Urs Eggmann" <Urs.Eggmann@shinternet.ch> - 2011-06-11 19:29 +0200
  Re: bBrowser 3.0 cell edit Camille Kater <katercamXXX@pt.lu> - 2011-06-11 21:01 +0200
    Re: bBrowser 3.0 cell edit JoseMaria <jmespinosabaviera@yahoo.com> - 2011-06-12 11:42 -0700
      Re: bBrowser 3.0 cell edit Camille Kater <katercamXXX@pt.lu> - 2011-06-12 21:18 +0200
      Re: bBrowser 3.0 cell edit "Geoff Schaller" <geoffx@softwarexobjectives.com.au> - 2011-06-12 23:38 +0000
        Re: bBrowser 3.0 cell edit JoseMaria <jmespinosabaviera@yahoo.com> - 2011-06-13 08:44 -0700
          Re: bBrowser 3.0 cell edit "Stephen Quinn" <stevejqNO@bigpondSPAM.net.au> - 2011-06-14 02:17 +1000
          Re: bBrowser 3.0 cell edit "Geoff Schaller" <geoffx@softwarexobjectives.com.au> - 2011-06-13 22:13 +0000
      Re: bBrowser 3.0 cell edit Joachim Bieler <support@votools.com> - 2011-06-14 07:56 +0200
        Re: bBrowser 3.0 cell edit JoseMaria <jmespinosabaviera@yahoo.com> - 2011-06-14 08:38 -0700

csiph-web