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


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

Re: Animation windows

From "Paul D B" <pdb@NOMORESPAMhnt.be>
Newsgroups comp.lang.clipper.visual-objects
Subject Re: Animation windows
Date 2018-04-03 14:40 +0200
Organization A noiseless patient Spider
Message-ID <p9vsok$rv8$1@dont-email.me> (permalink)
References <p9irle$79j$1@dont-email.me> <bcdfcd3a-ca35-4dae-8db1-ec90e883084e@googlegroups.com>

Show all headers | View raw


Hi Phil,

don't see any  difference with my animationcontrol.  Are you sure your avi 
will play during an intensif operation (e.g. re indexing ). Mine doesn't!

This is what I do:

// show animationbox with Hourglass
oAnimWin := AnimateWin{SELF,"HOURGLASS"}
oAnimWin:caption :=  "Some patience pleased"
oAnimWin:Melding :=  "Files are being reindexed !"
oAnimWin:Show(showcentered)  // non-modal
GetAppObject():Exec(ExecWhileEvent)


IF .NOT. ReindexTKMAIN()
    ERRORBOX{SELF,"TKMAIN.DBF is in use and will not be re-indexed 
!"}:Show()
    lFout := TRUE
ENDIF

IF .NOT. ReindexKLMAIN()
    ERRORBOX{SELF,"KLMAIN.DBF is in use and will not be re-indexed 
!"}:Show()
    lFout := TRUE
ENDIF

IF .NOT. ReindexACACTIE()
    ERRORBOX{SELF,"ACACTIE.DBF is in use and will not be re-indexed 
!"}:Show()
    lFout := TRUE
ENDIF

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.



Paul

"Sherlock"  schreef in bericht 
news:bcdfcd3a-ca35-4dae-8db1-ec90e883084e@googlegroups.com...

snip[ Using some "animation window" (inherets from DialogWindow) shows 
hourglass and some "Please be patient" stuff. However in recent Windows 
versions (8.1 and 10) the hourglass does not tumble anymore, it is static. ]

My animation never had an issue... any version of Windows.

PROTECT oDCAnimation1 AS ANIMATIONCONTROL

Dialogwindow...

oDCAnimation1 := 
AnimationControl{SELF,ResourceID{_DLGMULTITRUSTDATABASESELECTION_ANIMATION1,_GetInst()}}
oDCAnimation1:OpenResource(9000)
oDCAnimation1:HyperLabel := 
HyperLabel{#Animation1,NULL_STRING,NULL_STRING,NULL_STRING}
oDCAnimation1:BackGround := aBrushes[1]

RESOURCE 9000 AVI D:\RESOURCES\LOGO5.AVI


Phil 

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