It works for me.
Obvious question, but CEButton1Click is the OnClick event for the button? And the lua script has been executed ?
to get the file picked by the user read load_dialog.Filename
Thanks for the reply. But it did not work until I changed the code to the following one:
Code:
function CEButton3Click(sender)
load_dialog = createSaveDialog(sender)
settingsList = createStringlist()
if load_dialog.execute() then
settingsList.saveToFile(load_dialog.Filename)
end
load_dialog.destroy()
settingsList.destroy()
end
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum