Set config filename (:set_config)
Declaration
dialog_obj = dialog_obj:set_config(name)
Parameters
- name
String. The name to save dialog options with
Returns
- dialog_obj
Dialog. Returns the dialog itself
Description
After the dialog is shown and the user taps Submit, the options will be saved. Next time they will be pre-selected
Saved as a file at /private/var/mobile/Media/1ferver/uicfg/<name>
.xcfg
Example
dialog():set_config('cfg_name'):show()
Full example
See :show()