[Gambas-user] Cursor question

Matti math.eber at ...221...
Tue Oct 6 23:18:14 CEST 2009


Thanks. Will use a standard Mouse.

Benoît Minisini schrieb:
>> 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,
> 




More information about the User mailing list