I did your Google query (as well as searched the Laszlo forums) but I'm
not seeing information which really addresses my problem.  There was a
recent posting on the forum which seemed to be asking the same question
that I've asked, but there wasn't a useful response.

I'm able to get my image to appear when the mouse is over the view. 
I've done this by associating a resource with my view as follows:

  <resource name="hResizeCursor" src="images/hresize.png"/>
  <view resource="hResizeCursor"/>

My problem is that Laszlo is positioning the image such that the
horizontal arrow displays to the right of the view, rather than having
the center of the arrow being where my mouse is pointing.  In other
words, I somehow need to indicate to Laszlo where the hotspot of my
image is.  .CUR files apparently have this information, but I don't
think .PNG files do.  However, it doesn't seem that Laszlo supports .CUR
files (at least the documentation on the resource tag doesn't mention
them) so I'm not sure how I create an image which will center correctly
when the mouse is over my view.

Thanks.


On Tue, 26 Sep 2006 11:52:39 -0400, "P T Withington"
<[EMAIL PROTECTED]> said:
> GTFW: http://www.google.com/search?q=openlaszlo+set+cursor
> 
> On 2006-09-26, at 09:26 EDT, James Howe wrote:
> 
> > [...] Is there a way to control where my cursor image gets displayed?  
> > Does OpenLaszlo support .CUR files?  
>

James Howe
-- 
  James Howe
  


_______________________________________________
Laszlo-user mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-user

Reply via email to