Hi All,
I'm converting some values in one of my applications to make the tabs more dynamic (when changing them). So instead of referencing them by Thisform.Basepageframe1.Activepage = 7 I want to make them constants.
So:
#DEFINE gnCompany = 1
#DEFINE gnAddress = 2
...
#DEFINE gnContact = 8
etc.
My question is, where is the best place to make the declaration? Should it be made at the Form INIT level, or should it be made higher in the structure like in the startup.prg?
Best Regards,
Scott
ATS, CDCE, CTIA, CTDC
"Everything should be made as simple as possible, and no simpler."
I'm converting some values in one of my applications to make the tabs more dynamic (when changing them). So instead of referencing them by Thisform.Basepageframe1.Activepage = 7 I want to make them constants.
So:
#DEFINE gnCompany = 1
#DEFINE gnAddress = 2
...
#DEFINE gnContact = 8
etc.
My question is, where is the best place to make the declaration? Should it be made at the Form INIT level, or should it be made higher in the structure like in the startup.prg?
Best Regards,
Scott
ATS, CDCE, CTIA, CTDC
"Everything should be made as simple as possible, and no simpler."