07-14-2015, 09:29 PM
Sorry for this simple question , but I need to be sure about this.
If I create a new smart dialog through File > New > ... , Is it the same as creating a new Function (File > New > New Function) and pasting dialog code in it?
Or do I always need to create new dialogs through File > New > New Dialog.
I ask this because the the "newitem" command can only be:
"Macro", "Function", "Menu", "Toolbar", "Autotext", "Member", "Folder", "File Link".
I want to create some custom dialog templates to speed up coding in which I need the newitem command.
At first glance it seems to work, but I do not know what's different under the hood (within QM).
It may be that creating a new a function through File > New > creates a function but lacks some dialog internals if I just paste dialog code in it.
This could lead to problems in future?
If I create a new smart dialog through File > New > ... , Is it the same as creating a new Function (File > New > New Function) and pasting dialog code in it?
Or do I always need to create new dialogs through File > New > New Dialog.
I ask this because the the "newitem" command can only be:
"Macro", "Function", "Menu", "Toolbar", "Autotext", "Member", "Folder", "File Link".
I want to create some custom dialog templates to speed up coding in which I need the newitem command.
At first glance it seems to work, but I do not know what's different under the hood (within QM).
It may be that creating a new a function through File > New > creates a function but lacks some dialog internals if I just paste dialog code in it.
This could lead to problems in future?