On jeudi 31 juillet 2008, Stefan Miefert wrote:
> Hello,
>
> i tryy xcursorgen  but the fileformat  isnt accepted by gambas?! What is
> the right format ?!
>

Did you look at the documentation of the Cursor class?

First you load a Picture object, in any format supported by the underlying 
toolkit.

  MyPicture = Picture.Load(...)

Then you create a cursor by specifying an optional hotspot.

  MyCursor = NEW Cursor(MyPicture, X, Y)

Finally you affect the cursor to the control.

  MyControl.Cursor = MyCursor

Regards,

-- 
Benoit Minisini

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to