I don't know if it's the ideal solution but here goes....

Just to test I put a mediaplayer on the form and played a video with wait :=
true;

I also had a timer on the form that fired every 1000ms and in the onTimer
event put application.processmessages

I also had a counter incrementing and assigned this to the forms caption to
see if it was updating ok, which it did.

Might be something worth trying.

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Chris Veale
Sent: Friday, 12 March 2004 11:43 a.m.
To: [EMAIL PROTECTED]
Subject: [DUG]: updating a form while another process is running.

Hi.

Im playing around with the tmediaplayer and am wanting to play a video
in a second window, but I want to update the initial form with a time
remaining

when I play the video though ir locks the form until the video stops (I
believe cause I use the wait procedure of the tmediaplayer)

but I need the wait as people can choose to play two videos and I want
them to be able to, instead of skipping to the last one only.

I looked at threads for this but this also locks the form.

any thoughts how I can do this?

Cheers

Chris Veale


______________________________________________________
The contents of this e-mail are privileged and/or confidential to the
named recipient and are not to be used by any other person and/or
organisation. If you have received this e-mail in error, please notify 
the sender and delete all material pertaining to this e-mail.
______________________________________________________
_______________________________________________
Delphi mailing list
[EMAIL PROTECTED]
http://ns3.123.co.nz/mailman/listinfo/delphi


_______________________________________________
Delphi mailing list
[EMAIL PROTECTED]
http://ns3.123.co.nz/mailman/listinfo/delphi

Reply via email to