Lord Satan wrote:
Hi,

I need to hide the mouse cursor in my app. Changing it with 
Screen.Cursor:=crSomething works, setting it to crNone does not have any 
effect. Any ideas?
Btw this is on Linux, gtk1.
Yes, it should be done through setting cursor to crNone, but not implemented yet (though I have bug report assigned to me).

Not to do this you can create ico file with empty shape, load it and set cursor to it:

Screen.Cursors[1] := LoadCursorFromLazarusResource('my_empty_cursor');
Screen.Cursor := 1;

Best regards,
Paul Ishenin.

_________________________________________________________________
    To unsubscribe: mail [EMAIL PROTECTED] with
               "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to