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


Groups > comp.lang.clipper.visual-objects > #5670 > unrolled thread

How to retain visible selection in a bbrowser ?

Started byKrystian <softb@softb.pl>
First post2013-08-10 15:02 -0700
Last post2013-08-12 01:14 -0700
Articles 3 — 2 participants

Back to article view | Back to comp.lang.clipper.visual-objects


Contents

  How to retain visible selection in a bbrowser ? Krystian <softb@softb.pl> - 2013-08-10 15:02 -0700
    Re: How to retain visible selection in a bbrowser ? Camille Kater <katercam@pt.lu> - 2013-08-11 08:46 +0200
      Re: How to retain visible selection in a bbrowser ? Krystian <softb@softb.pl> - 2013-08-12 01:14 -0700

#5670 — How to retain visible selection in a bbrowser ?

FromKrystian <softb@softb.pl>
Date2013-08-10 15:02 -0700
SubjectHow to retain visible selection in a bbrowser ?
Message-ID<ac34b381-421e-4800-b07f-cb0e7b870a9d@googlegroups.com>
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 

[toc] | [next] | [standalone]


#5671

FromCamille Kater <katercam@pt.lu>
Date2013-08-11 08:46 +0200
Message-ID<5207335C.1030006@pt.lu>
In reply to#5670
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
>

[toc] | [prev] | [next] | [standalone]


#5676

FromKrystian <softb@softb.pl>
Date2013-08-12 01:14 -0700
Message-ID<9d6d96be-e0e6-45ae-b76f-5c949cf4a955@googlegroups.com>
In reply to#5671
W dniu niedziela, 11 sierpnia 2013 08:46:52 UTC+2 użytkownik Camille Kater napisał:
> 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
> 
> >

Hello Camille,

Thank you for answer; in meantime I used browser:SuspendNotification() and then in query close : ResetNotification and SelectionRemove(#All). And it works.

Thank you very much
Have a good day and the whole week
Krystian

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.clipper.visual-objects


csiph-web