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


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

Re: bBrowser and SQL delay question

Newsgroups comp.lang.clipper.visual-objects
Date 2022-03-08 04:48 -0800
References <ef615acd-f046-4fd4-b56f-07254e751726n@googlegroups.com> <svu1p9$4q3$1@dont-email.me> <95426251-7169-48e5-a709-9e7492d3bc4an@googlegroups.com>
Message-ID <4eadebac-7abd-4e8a-800e-67c5c58f6bb1n@googlegroups.com> (permalink)
Subject Re: bBrowser and SQL delay question
From Stefan Ungemach <stefan.ungemach@bingo-ev.de>

Show all headers | View raw


stavros...@gmail.com schrieb am Dienstag, 8. März 2022 um 09:59:22 UTC+1:
> 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

Have you tried working with a timer? I.e. overwriting bBrowser:Notify, redirect NOTIFYRECORDCHANGE to some killtimer/settimer construct and calling super:Notify() via the Dispatch method of your subclassed bBrowser (for the appropriate WM_TIMER message). That would decouple all internal logic for a moment. Problem is the refresh of the selection, but you could at least start playing around in that direction.

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