[Gambas-user] Cursor question

Matti math.eber at ...221...
Tue Oct 6 21:58:46 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




More information about the User mailing list