On Wed, 29 Mar 2006 17:50:01 +0200
"Marien van Westen" <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I want to change the cursor of a Shape when runnig Lazarus on Ubuntu
> 5.10(this is possible in win32).
> That is not possible by default. I added the property Cursor to TShape,
> because it was defined in an ancestor.
> Now I see the Cursor property in the Object Inspector, but a change there
> doesn't work.
> I suppose I have to do something in the Gtk widget set, but I don't know
> were to start
> Can anyone tell me what I have to do?
TShape is not a TWinControl, thus does not have a Handle of its own. Because
at the moment the gtk interface only sets the cursor for Handles, you can
not set cursors for non TWinControl.
Probably the only fix is to implement setting the cursor on mouse events in
the gtk interface.
Mattias
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives