Ok, I give up. :-D
Actually I don't! :-D
Clientevent.Data.l[1] := TTime(0);
After dug xlib tutorials, I found the above line is the trouble maker! It should set to current time instead of zero. Now, it works perfectly! Thanks. :)
-Bee- has Bee.ography at: http://beeography.wordpress.com _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal