11-16-2013, 01:59 PM
Better let it be function, not macro. Then QM will recompile it when you change something in it and open other macro.
Call it from a function that runs when QM starts, for example from your function "init2", because it runs first, if exists.
Or add #compile "_QM_CUSTOM_CONSTANTS_" in function "init2" or in macros where the constants are used.
Or use it with ref, eg add ref CO "_QM_CUSTOM_CONSTANTS_" in function "init2". Then in macros can use CO.SelectFromPopupList.
The "Always add shared files" option is not related.
Call it from a function that runs when QM starts, for example from your function "init2", because it runs first, if exists.
Or add #compile "_QM_CUSTOM_CONSTANTS_" in function "init2" or in macros where the constants are used.
Or use it with ref, eg add ref CO "_QM_CUSTOM_CONSTANTS_" in function "init2". Then in macros can use CO.SelectFromPopupList.
The "Always add shared files" option is not related.
