Hello,
I have creates one custom command, inheriting from BaseCommand. Initially, I want to disable it and lateron, depending on some condition,want to enable it.
I observe that, BaseCommand::m_enabled can be set only in BaseCommand::OnCreate event. At the other times, this property is read-only.
So, I would like to know if it is possible to set the m_enabled property in any method other than OnCreate. Any help is appreciated.
Thanks in advance,
S.