Thank you to everybody who sent me help about how to restrict the mouse motion and thus avoiding the necessity of curson/cursoff. setvaluator works fine. pedro -- Pedro Faria Lopes email: pfl at inesc.inesc.pt INESC mcsun!inesc!pfl at uunet.UU.NET Rua Alves Redol, 9 Phone: +351 1 545150 1000 Lisboa, PORTUGAL Fax: +351 1 525843