Path: csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: "Wolfgang Riedmann" Newsgroups: comp.lang.clipper.visual-objects Subject: Re: bBrowser refresh Date: Mon, 20 Mar 2017 14:01:46 +0100 Lines: 33 Message-ID: References: X-Trace: individual.net n1d5cs0rCuUfyYuD41OAaQeo0QiySAEsuxMnJEYDCaqfPs+ac= Cancel-Lock: sha1:KiZk19qkQr5srdabQX4imhKPw+o= User-Agent: XanaNews/1.18.1.6 Xref: csiph.com comp.lang.clipper.visual-objects:10309 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. --