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


Groups > comp.lang.clipper.visual-objects > #13573

Re: bBrowser and SQL delay question

From Jamal <nospam@example.com>
Newsgroups comp.lang.clipper.visual-objects
Subject Re: bBrowser and SQL delay question
Date 2022-03-08 12:59 -0500
Organization Aioe.org NNTP Server
Message-ID <t085hp$on$1@gioia.aioe.org> (permalink)
References <ef615acd-f046-4fd4-b56f-07254e751726n@googlegroups.com> <svu1p9$4q3$1@dont-email.me> <95426251-7169-48e5-a709-9e7492d3bc4an@googlegroups.com>

Show all headers | View raw


Try using bBrowser:SuspendNotification() in the PostInit() method, then 
when you want to refresh, issue bBrowser:ResestNotification(), then 
bBrowser:Refresh(), then suspend again.

Since notification calls are stacked, you may want to keep track via a 
variable if SuspendNotification is still active, because on Window 
close, you need to ResetNotification.

HTH,
Jamal

On 3/8/2022 3:59 AM, Stavros Spanos wrote:
> Thanks for the reply Jamal!
> 
> Unfortunatelly we do not need an Autorefresh(off). It is anyway by default. Our problem is that the bBrowser autamatically re-reads the current record from the SQLTable every time the current row changes (f.e. when clicking another row).
> 
> We want this behaviour to stop because it leads to 2-3 seconds delay, something that confuses the user when browsing. So in a way we need to make the bBrowser work like "disconnected" to the Server.
> 
> Stavros

Back to comp.lang.clipper.visual-objects | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

bBrowser and SQL delay question Stavros Spanos <stavros.spanos2@gmail.com> - 2022-03-04 07:19 -0800
  Re: bBrowser and SQL delay question Jamal <nospam@example.com> - 2022-03-04 16:53 -0500
    Re: bBrowser and SQL delay question Stavros Spanos <stavros.spanos2@gmail.com> - 2022-03-08 00:59 -0800
      Re: bBrowser and SQL delay question Stefan Ungemach <stefan.ungemach@bingo-ev.de> - 2022-03-08 04:48 -0800
      Re: bBrowser and SQL delay question Jamal <nospam@example.com> - 2022-03-08 12:59 -0500
  Re: bBrowser and SQL delay question dlzc <dlzc1@cox.net> - 2022-03-08 07:47 -0800

csiph-web