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


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

Re: bBrowser 3.0 cell edit

From Joachim Bieler <support@votools.com>
Newsgroups comp.lang.clipper.visual-objects
Subject Re: bBrowser 3.0 cell edit
Date 2011-06-14 07:56 +0200
Message-ID <95obg4Fh0gU1@mid.individual.net> (permalink)
References <e1edebea-b3c5-46c0-b183-73030a2988bc@v8g2000yqb.googlegroups.com> <1307819258_313@vo.lu> <8b7fbd68-00a6-49a5-89f0-5064fb27ec5c@25g2000yqn.googlegroups.com>

Show all headers | View raw


Hi Jose Maria,

please try the code below:

method CellEdit(oEvent) class myDataWindow
     local iLen            as dword

     if oEvent:EditMode = BEDIT_SHOW
         oEvent:EditControl:Show()
         oEvent:EditControl:SetFocus()

         iLen := SLen(RTrim(oEvent:EditControl:TextValue))
         oEvent:EditControl:Selection := Selection{iLen, iLen}
     endif
     return

Please have a look at topic bBrowser:CellEdit() in the documentation for more information.

Regards,
Joachim Bieler



Am 12.06.2011 20:42, schrieb JoseMaria:
> Great !! by using bBrowser:EditStartFlags and
> bBrowser:EditCloseFlagsand I have been able to replicate the behaviour
> I had in previous version.
>
> Thank you very much.
>
> One thing more, well maybe this is not possible but I say it
> nonetheless in case somebody knows: When I press the right arrow key
> (of the 4 mouvement keys) the cell edit begins and the cursor is
> positioned at the beginning of the string.
> Would it be possible to change some parameter which makes the cell
> edit start with cursor positioned at the end of the string ?
>
> Jose Maria

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