[Gambas-user] Cursor question
Benoît Minisini
gambas at ...1...
Tue Oct 6 22:05:16 CEST 2009
> When I use Stock pictures like
> ToolButton1.Picture = Stock["16/zoom-in"]
> everything is fine.
>
> But when I try to define a cursor with
> PRIVATE $hCurZoomin AS Cursor
> $hCurZoomin = NEW Cursor(Stock["16/zoom-in"])
> SomeControl.Mouse = -2 '(no matter if I use this or not)
> SomeControl.Cursor = $hCurZoomin
> I get a cursor that works, but displays only a white silhouette of the
> picture.
>
> What am I doing wrong?
> (Gambas 2.14)
> Thanks Matti
>
gb.qt or gb.gtk (don't remember which one) does not support color cursors.
Regards,
--
Benoît Minisini
More information about the User
mailing list