Subject: Re: How to retain visible selection in a bbrowser ? From: Camille Kater Date: Sun, 11 Aug 2013 08:46:52 +0200 Message-ID: <5207335C.1030006@pt.lu> References: Lines: 42 NNTP-Posting-Host: 83.99.68.0 Path: csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!feeder.erje.net!eu.feeder.erje.net!xlned.com!feeder5.xlned.com!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!news.vo.lu!not-for-mail Newsgroups: comp.lang.clipper.visual-objects X-Trace: vo.lu 1376204348 83.99.68.0 (11 Aug 2013 08:59:08 0200) User-Agent: Mozilla/5.0 (Windows NT 6.2; WOW64; rv:17.0) Gecko/20130620 Thunderbird/17.0.7 MIME-Version: 1.0 To: Krystian In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Xref: csiph.com comp.lang.clipper.visual-objects:5671 Hello Krystian, Did you try "bBrowser:SelectionSave/Restore" ? From the help: The following sample saves the current selection, deletes these and then restores them. auSelection := oBrowser:SelectionSave() oBrowser:SelectionRemove(#All) oBrowser:SelectionRestore(auSelection) Camille On 11/08/2013 00:02, Krystian wrote: > Hello, > > A bbrowser works in a cell mode. > I select several cells in some rows and cols -> the selected region is blue, > then I invoke context menu (still OK) and select dialog window. In that moment the selection disappears and only one cell is blue - on the first selected row and last column. > I would like to see, what was early selected, during entering data in this new window. I tried to use suspend notification, set inactive selection, but it does not work. > Do you have any idea, how to show the selection during edition in a new window ? > > Thank you in advance > Krystian Besler >