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

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!feeder.news-service.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From Joachim Bieler <support@votools.com>
Newsgroups comp.lang.clipper.visual-objects
Subject Re: bBrowser 3.0 cell edit
Date Tue, 14 Jun 2011 07:56:27 +0200
Lines 38
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>
Mime-Version 1.0
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 7bit
X-Trace individual.net nE/7xpQ/CTCAJ4sU2yAnfwbY5JVHFf5ZZOHVlfRtEKhMHI5uwT
Cancel-Lock sha1:Sye1XN4w6lxz8dXViKo4qtHCHFE=
User-Agent Mozilla/5.0 (Windows; U; Windows NT 6.1; de; rv:1.9.2.17) Gecko/20110414 Thunderbird/3.1.10
In-Reply-To <8b7fbd68-00a6-49a5-89f0-5064fb27ec5c@25g2000yqn.googlegroups.com>
Xref x330-a1.tempe.blueboxinc.net comp.lang.clipper.visual-objects:1389

Show key headers only | 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