Subject: Re: bBrowser 3.0 cell edit From: Camille Kater Date: Sat, 11 Jun 2011 21:01:04 +0200 Message-ID: <1307819258_313@vo.lu> References: Lines: 86 NNTP-Posting-Host: 188.115.62.64 Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!selfless.tophat.at!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!news.vo.lu!not-for-mail Newsgroups: comp.lang.clipper.visual-objects X-Trace: vo.lu 1307819258 188.115.62.64 (11 Jun 2011 21:07:38 0200) User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-GB; rv:1.9.2.15) Gecko/20110303 Thunderbird/3.1.9 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Xref: x330-a1.tempe.blueboxinc.net comp.lang.clipper.visual-objects:1359 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.