Other old issue...
I don't know how I missed that documentation earlier...
But I still have issues with custom cursors.
What are supported picture formats? Or what I'm doing wrong?
My code:
Public aa As New Cursor(Picture.Load("test.png"))
DrawingArea1.Mouse = Mouse.Custom
DrawingArea1.Cursor = aa
Or;
DrawingArea1.Cursor = New Cursor(Picture.Load("test.png"))
Tried with many different formats.
With GTK+ signal 11, with Qt only buggy black&white picture.
Regards,
Jussi
On Wed, Mar 4, 2009 at 20:33, Jussi Lahtinen <[email protected]> wrote:
> Hi!
>
> Me.Mouse = Mouse.Cross
> Works fine, but I need custom cursor.
>
> Me.Mouse = Mouse.Custom
> Me.Cursor = Picture.Load("pic.png")
> This is not working, of course... class cursor has only two properties x, y.
>
> Where do I put the picture?
> Thanks!
>
>
> Jussi
>
------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, &
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com
_______________________________________________
Gambas-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gambas-user