Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Directly start the Function Helper Dialog "Spec > Multiple"
I find myself writing a lot of functions, is there a line of code that directly starts the following dialog window:

Function Help Editor - Special Lines
Copy      Help
[ ] Description:
[ ] Resturns:
[ ] Parameters: <gets from code>
This is the dialogwindow that has the QM grid layout.

edit: typo
I know the following code initiates the Dialog window, but I do not know howto reproduce the correct syntax that immediatly starts the above mentioned window.

Function TO_HelpSectionEditor
Copy      Help
,case 150 if(TO_HelpSectionSpecDlg(hDlg _s)) TO_HelpSectionSpec _s 1
Macro Macro2202
Copy      Help
if(TO_HelpSectionSpecDlg(_hwndqm _s)) ;;shows the dialog; on OK stores grid CSV into _s and returns 1
,TO_HelpSectionSpec _s 1 ;;converts the CSV to text and inserts the text in the code editor
As always, make/use copies of these 2 functions, because they are QM private functions and may be changed, renamed or removed in the future.
Thank you very much!!

Forum Jump:

Users browsing this thread: 1 Guest(s)