Talk:CudaText API
From Lazarus wiki
Proposed
dlg_adv(title, text)
Shows dialog with several controls. Controls allowed: checkbox, editbox, combobox.
Param text is "\n"-separated items, one item per control. Each item is chr(1)-separated subitems. Each subitem is "\t"-separated, str_name+"\t"+str_value. Possible values of str_name:
- "type": type of control: "check", "edit", "combo".
- "cap": caption of control:
- for check: it's caption
- for combo: "\t"-separated items
- "val": value of control:
- for edit: it's text
- for check: "0"/"1" for off/on
- for combo: index of selected item as str(index)
Gets "\n"-separated items, each item is value of control. Gets None if cancelled.