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


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

Re: Animation windows

Path csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From "Karl-Heinz" <invalid@invalid.invalid>
Newsgroups comp.lang.clipper.visual-objects
Subject Re: Animation windows
Date Wed, 4 Apr 2018 17:50:26 +0200
Lines 63
Message-ID <fikai1Fces8U1@mid.individual.net> (permalink)
References <p9irle$79j$1@dont-email.me> <bcdfcd3a-ca35-4dae-8db1-ec90e883084e@googlegroups.com> <p9vsok$rv8$1@dont-email.me>
Mime-Version 1.0
Content-Type text/plain; format=flowed; charset="utf-8"; reply-type=original
Content-Transfer-Encoding 8bit
X-Trace individual.net rZJVALQUBalln4mq87H4XQc1ijjIZc8vvyQm0RR7Wgm/i3nwE=
Cancel-Lock sha1:yrExLE5lBgck5h9hBMLBweQiA5o=
In-Reply-To <p9vsok$rv8$1@dont-email.me>
X-Priority 3
X-MSMail-Priority Normal
Importance Normal
X-Newsreader Microsoft Windows Live Mail 16.4.3564.1216
X-MimeOLE Produced By Microsoft MimeOLE V16.4.3564.1216
Xref csiph.com comp.lang.clipper.visual-objects:11527

Show key headers only | View raw


Hi Paul,

> The hourglass will NOT tumble while a file is being re-indexed. When
> skipping to the next re-index however, it will tumble an quarter and then
> be static again while file 2 is being re-indexed and so on.

I´m using Progressbars only, but there would be the same problem: How to
update the progressbar while the index is created ?
This can be achieved by filling the param 5 and 6 of the server method
SetorderCondition().


5. Param <cbEval>

The code block that is evaluated for every record that is processed, or as
specified below. This code block allows the application to intercede during
the order creation, which might be quite lengthy; it might be used to update
the screen, for example, showing progress
on a thermometer-type display or in the status bar.


6. Param <nInterval>

The numeric expression that modifies the number of times <cbEval> is
evaluated. This argument offers a performance enhancement by evaluating the
condition for every nth record instead of for every record ordered.  To step
through every record, specify a value of 0 or omit the parameter.


some dummy code:

//  modeless Dialog
class YourAniDlg inherit Dialogwindow

// This method is called during the index creation every 32 records
Method Update() class YourAniDlg

call doEvents()

or ApplicationExec (execwhileevent)

to update the screen / animation

return true


---------------

oDlg := YourAniDlg{ self }
oDlg:Show()

...
...

// every 32 Records oDlg:Update() is called
oSrv:SetOrderCondition ( ,,,, { || oDlg:Update() } , 32 ,,,,,,,,,)

oSrv:createOrder (.......)


regards
Karl-Heinz 

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


Thread

Animation windows "Paul D B" <pdb@NOMORESPAMhnt.be> - 2018-03-29 16:02 +0200
  Re: Animation windows D.J.W. van Kooten <vankooten@removethis.ic2.com> - 2018-03-30 21:00 +0200
    Re: Animation windows "Paul D B" <pdb@NOMORESPAMhnt.be> - 2018-04-03 14:43 +0200
  Re: Animation windows Sherlock <sherlock@sherlock.com.au> - 2018-03-31 01:43 -0700
    Re: Animation windows "Paul D B" <pdb@NOMORESPAMhnt.be> - 2018-04-03 14:40 +0200
      Re: Animation windows "Karl-Heinz" <invalid@invalid.invalid> - 2018-04-04 17:50 +0200
        Re: Animation windows "Paul D B" <pdb@NOMORESPAMhnt.be> - 2018-04-10 11:37 +0200
  Re: Animation windows "Paul D B" <pdb@NOMORESPAMhnt.be> - 2018-04-03 15:11 +0200
  Re: Animation windows "Jamal" <nospam@example.com> - 2018-04-09 10:34 -0400
    Re: Animation windows "Paul D B" <pdb@NOMORESPAMhnt.be> - 2018-04-10 11:35 +0200

csiph-web