lua-users home
lua-l archive

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


Hi,
     I am using the element handle of a multiline text control as a key in a table (data). But when the table is accessed in the map_cb function (called when the control is mapped) the value for that key is somehow lost! 
    I have the test case in the attached script. The print statements show that the right key is passed to the map_cb function but the table shows a nil value at that time.
     What am I doing wrong?

Thanks,
Milind

Attachment: test1.lua
Description: Binary data