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

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to