lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Wed, Sep 23, 2009 at 3:35 PM, noel frankinet
<noel.frankinet@skynet.be> wrote:
>> ps.MouseMove:Add(function(sender,e)
>>    local coord = get_coordinate(ps,Point(e.X,e.Y))
>>    coordPanel.Text = ('(%5.1f,%5.1f)'):format(coord.X,coord.Y)
>> end)

> I think you are writing a GPS application, no ? on pda or full windows ?

Nothing so sophisticated ;) get_coordiate() just translates the mouse
point in pixel units into physical units.

And, plain Windows. There are issues with LuaInterface on the Compact framework