On Mon, Aug 25, 2008 at 4:31 PM, Steve Rose <[EMAIL PROTECTED]> wrote:
> I am working on an application which has a module that repeatedly queries
> and counts records in a scan of a table.  In the process there is lots of
> "flashing" in a child grid as it is updated, in addition to the message
> "Please wait... Requerying dataset". The entire processing takes only 1.5
> seconds but looks annoying on screen.  So, two questions.
>
> 1.  Is there anyway to tell Dabo not to update a grid or the whole ui until
> all the processing is complete?
>
> Something like:
>
> self.update( False )
>
> self.doAllProcessing()
>
> self.update( True )
>
> 2.  Can the "Requerying dataset" message be suppressed?

Try this (assume self is the Form reference):

self.Freeze()
self.doAllProcessing() #requery happens here
self.Thaw()
self.update()

Nate L.


_______________________________________________
Post Messages to: Dabo-users@leafe.com
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/[EMAIL PROTECTED]

Reply via email to