Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Directly start the Function Helper Dialog "Spec > Multiple"
#1
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
Code:
Copy      Help
[ ] Description:
[ ] Resturns:
[ ] Parameters: <gets from code>
...etc...
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
Code:
Copy      Help
,case 150 if(TO_HelpSectionSpecDlg(hDlg _s)) TO_HelpSectionSpec _s 1
#2
Macro Macro2202
Code:
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.
#3
Thank you very much!!


Forum Jump:


Users browsing this thread: 2 Guest(s)