Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.clipper.visual-objects > #10308 > unrolled thread
| Started by | Kees Bouw <kees@ic2.com> |
|---|---|
| First post | 2017-03-20 13:36 +0100 |
| Last post | 2017-03-23 16:05 +0100 |
| Articles | 7 — 5 participants |
Back to article view | Back to comp.lang.clipper.visual-objects
bBrowser refresh Kees Bouw <kees@ic2.com> - 2017-03-20 13:36 +0100
Re: bBrowser refresh "Wolfgang Riedmann" <wriedmann@gmail.com> - 2017-03-20 14:01 +0100
Re: bBrowser refresh "Urs Eggmann" <Urs.Eggmann@shinternet.ch> - 2017-03-20 16:58 +0100
Re: bBrowser refresh Kees Bouw <kees@ic2.com> - 2017-03-21 17:28 +0100
Re: bBrowser refresh "Urs Eggmann" <Urs.Eggmann@shinternet.ch> - 2017-03-21 21:22 +0100
Re: bBrowser refresh "Gerhard Bunzel" <g.bunzel@domonet.de> - 2017-03-22 17:10 +0100
Re: bBrowser refresh D.J.W. van Kooten <vankooten@removethis.ic2.com> - 2017-03-23 16:05 +0100
| From | Kees Bouw <kees@ic2.com> |
|---|---|
| Date | 2017-03-20 13:36 +0100 |
| Subject | bBrowser refresh |
| Message-ID | <a3jvcc5bthmg1atah78nv4ogh5ncliu4eg@4ax.com> |
Hi, Is there a way to update the bBrowser, if a record has been added to the database outside of the program that displays the bBrowser? I was hoping that setting an AutoRefreshTime would work, but a new record is not displayed in this way. I suspect AutoRefresh only refreshes records that are already visible. In our situation we display a list of e-mails, and another program adds a new e-mail from time to time and we want to show that in some way. I am hoping that there is an easy way to do this, however I have not yet found it. Ideally the bBrowser would not even get focus when the update is performed. Kees Bouw.
[toc] | [next] | [standalone]
| From | "Wolfgang Riedmann" <wriedmann@gmail.com> |
|---|---|
| Date | 2017-03-20 14:01 +0100 |
| Message-ID | <eja25sFigqjU1@mid.individual.net> |
| In reply to | #10308 |
Hi Kees, IMHO you have two options: - implement a timer and send regularly a NOTIFYFILECHANGE message to bBrowser. In this manner the bBrowser will reread completely every time when timer kicks in - implement a timer and check yourself if a new record has been added, and send or a NOTIFYFILECHANGE message to the bBrowser, or execute the Refresh method of the bBrowser control. Wolfgang Kees Bouw wrote: > Hi, > > Is there a way to update the bBrowser, if a record has been added to > the database outside of the program that displays the bBrowser? I was > hoping that setting an AutoRefreshTime would work, but a new record > is not displayed in this way. I suspect AutoRefresh only refreshes > records that are already visible. In our situation we display a list > of e-mails, and another program adds a new e-mail from time to time > and we want to show that in some way. I am hoping that there is an > easy way to do this, however I have not yet found it. Ideally the > bBrowser would not even get focus when the update is performed. > > Kees Bouw. --
[toc] | [prev] | [next] | [standalone]
| From | "Urs Eggmann" <Urs.Eggmann@shinternet.ch> |
|---|---|
| Date | 2017-03-20 16:58 +0100 |
| Message-ID | <ejacilFkkjhU1@mid.individual.net> |
| In reply to | #10308 |
Hi Kees, If the file is opened in shared mode in both programs (attention to locking....) the bBrowser in program ONE with a autorefresh time of 100 msec reacts here on adding a new record with program TWO. See picture www.voug-bodensee.net/zip-download/screen115.jpg regards Urs "Kees Bouw" <kees@ic2.com> schrieb im Newsbeitrag news:a3jvcc5bthmg1atah78nv4ogh5ncliu4eg@4ax.com... > Hi, > > Is there a way to update the bBrowser, if a record has been added to the > database outside of the program that displays the bBrowser? I was hoping > that setting an AutoRefreshTime would work, but a new record is not > displayed in this way. I suspect > AutoRefresh only refreshes records that are already visible. In our > situation we display a list of e-mails, and another program adds a new > e-mail from time to time and we want to show that in some way. I am hoping > that there is an easy way to do > this, however I have not yet found it. Ideally the bBrowser would not even > get focus when the update is performed. > > Kees Bouw.
[toc] | [prev] | [next] | [standalone]
| From | Kees Bouw <kees@ic2.com> |
|---|---|
| Date | 2017-03-21 17:28 +0100 |
| Message-ID | <drk2dcl5u8lijkgdl746di54pfr6k565qp@4ax.com> |
| In reply to | #10308 |
Thank you Wolfgang and Urs, @Wolfgang: The notifyfilechange works. Funny thing is, it seems (from comments in the source code) that I had tried this before without success. Maybe it was the older bBrowser version or something else, anyway it works now! @Urs: I have been able to confirm that the AutoRefresh does work by changing a field that was visible from outside the running program. The change was visible immediately. However, a new record was not shown in this way. No idea why a new record is not visible in real time but because the notifyfilechange worked, I decided not to investigate it further. Thank you both for replying to my message. I had sent an e-mail to support@bbrowser.com last week, but I have not yet received a reply. Kees. On Mon, 20 Mar 2017 13:36:50 +0100, Kees Bouw <kees@ic2.com> wrote: >Hi, > >Is there a way to update the bBrowser, if a record has been added to the database outside of the program that displays the bBrowser? I was hoping that setting an AutoRefreshTime would work, but a new record is not displayed in this way. I suspect >AutoRefresh only refreshes records that are already visible. In our situation we display a list of e-mails, and another program adds a new e-mail from time to time and we want to show that in some way. I am hoping that there is an easy way to do >this, however I have not yet found it. Ideally the bBrowser would not even get focus when the update is performed. > >Kees Bouw.
[toc] | [prev] | [next] | [standalone]
| From | "Urs Eggmann" <Urs.Eggmann@shinternet.ch> |
|---|---|
| Date | 2017-03-21 21:22 +0100 |
| Message-ID | <ejdgctF9b9tU1@mid.individual.net> |
| In reply to | #10313 |
Hi Kees, After some short test I am allmost shure it has to do with opening the servers shared or not. Regards Urs Kees Bouw" <kees@ic2.com> schrieb im Newsbeitrag news:drk2dcl5u8lijkgdl746di54pfr6k565qp@4ax.com... > Thank you Wolfgang and Urs, > > @Wolfgang: The notifyfilechange works. Funny thing is, it seems (from > comments in the source code) that I had tried this before without success. > Maybe it was the older bBrowser version or something else, anyway it works > now! > > @Urs: I have been able to confirm that the AutoRefresh does work by > changing a field that was visible from outside the running program. The > change was visible immediately. However, a new record was not shown in > this way. No idea why a new record is > not visible in real time but because the notifyfilechange worked, I > decided not to investigate it further. > > Thank you both for replying to my message. I had sent an e-mail to > support@bbrowser.com last week, but I have not yet received a reply. > > Kees. > > On Mon, 20 Mar 2017 13:36:50 +0100, Kees Bouw <kees@ic2.com> wrote: > >>Hi, >> >>Is there a way to update the bBrowser, if a record has been added to the >>database outside of the program that displays the bBrowser? I was hoping >>that setting an AutoRefreshTime would work, but a new record is not >>displayed in this way. I suspect >>AutoRefresh only refreshes records that are already visible. In our >>situation we display a list of e-mails, and another program adds a new >>e-mail from time to time and we want to show that in some way. I am hoping >>that there is an easy way to do >>this, however I have not yet found it. Ideally the bBrowser would not even >>get focus when the update is performed. >> >>Kees Bouw.
[toc] | [prev] | [next] | [standalone]
| From | "Gerhard Bunzel" <g.bunzel@domonet.de> |
|---|---|
| Date | 2017-03-22 17:10 +0100 |
| Message-ID | <oau7lc$alq$1@news-1.m-online.net> |
| In reply to | #10318 |
Kees, Urs, ...to open the same file more than one time, you always should open the server in shared mode. The refresh will be done in two different ways - according on some checks done before. // müssen die Daten aktualisiert werden? IF symRefresh=#All SELF:Refresh(#RefreshBuffer) ELSEIF symRefresh=#Redraw // Daten neuzeichnen SELF:Redraw(#Data) .... Here you should do your tests and/or look at the differences in the source between SELF:Refresh(#RefreshBuffer) and SELF:Redraw(#Data) HTH Gerhard Bunzel "Urs Eggmann" schrieb im Newsbeitrag news:ejdgctF9b9tU1@mid.individual.net... Hi Kees, After some short test I am allmost shure it has to do with opening the servers shared or not. Regards Urs Kees Bouw" <kees@ic2.com> schrieb im Newsbeitrag news:drk2dcl5u8lijkgdl746di54pfr6k565qp@4ax.com... > Thank you Wolfgang and Urs, > > @Wolfgang: The notifyfilechange works. Funny thing is, it seems (from > comments in the source code) that I had tried this before without success. > Maybe it was the older bBrowser version or something else, anyway it works > now! > > @Urs: I have been able to confirm that the AutoRefresh does work by > changing a field that was visible from outside the running program. The > change was visible immediately. However, a new record was not shown in > this way. No idea why a new record is > not visible in real time but because the notifyfilechange worked, I > decided not to investigate it further. > > Thank you both for replying to my message. I had sent an e-mail to > support@bbrowser.com last week, but I have not yet received a reply. > > Kees. > > On Mon, 20 Mar 2017 13:36:50 +0100, Kees Bouw <kees@ic2.com> wrote: > >>Hi, >> >>Is there a way to update the bBrowser, if a record has been added to the >>database outside of the program that displays the bBrowser? I was hoping >>that setting an AutoRefreshTime would work, but a new record is not >>displayed in this way. I suspect >>AutoRefresh only refreshes records that are already visible. In our >>situation we display a list of e-mails, and another program adds a new >>e-mail from time to time and we want to show that in some way. I am hoping >>that there is an easy way to do >>this, however I have not yet found it. Ideally the bBrowser would not even >>get focus when the update is performed. >> >>Kees Bouw.
[toc] | [prev] | [next] | [standalone]
| From | D.J.W. van Kooten <vankooten@removethis.ic2.com> |
|---|---|
| Date | 2017-03-23 16:05 +0100 |
| Message-ID | <8qo7dcl80180s1edi7q9cn6c5k41aiqmpg@4ax.com> |
| In reply to | #10318 |
Replying on message of Tue, 21 Mar 2017 21:22:28 +0100 from Urs Eggmann: Hello Urs, >After some short test I am allmost shure it has to do with opening the >servers shared or not. We always open all our servers shared so I am 100% sure that this server is opened shared. Nevertheless AutoRefresh didn't work. There's only one difference maybe with what you do: the dbf records are appended from a Vulcan program, and we use ADS Server. Maybe this explains why you see it working and we do not. Joachim may be able to explain but as Kees wrote, we haven't received reply yet. And as NOTIFYFILECHANGE is doing the job well, we leave it like that. Dick
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.clipper.visual-objects
csiph-web