Hi,

I would be surprised if kf can animate gifs ... but hey, surpise me, I'm not Shawn ;\)

btw: .DoEvents(1) would be the correct way to not wait for events to happen but continue processing if nothing waits in the queue.
But the safer use of it would be
sample code:
 Code:
break on
$System = createobject('Kixtart.System')
$form = $System.Form()
; do your declaration and definition stuff here

$form.Show
while $form.visible
  $ = execute($System.DoEvents(1))  ;<- note $System insteaad of $form
loop
;continue with stuff even if form is closed


Edited by Jochen (2013-09-12 04:15 PM)
Edit Reason: forgot the execute :(
_________________________