I'm sure this is straight forward, but I can't get the value of a checkbox to pass to a usercontrol via a marco. The checkbox has an alias of regEmail.
usercontrol:
... public bool ProcessEmail { get { return _processEmail; } set { _processEmail = value; } } ... private bool _processEmail = true;
macro:
... ProcessEmail="[#regEmail]" ...
Also tried int for the usercontrol method and variable and number for the macro parameter type.
Passing true/false into usercontrol via macro
Hi All
I'm sure this is straight forward, but I can't get the value of a checkbox to pass to a usercontrol via a marco. The checkbox has an alias of regEmail.
usercontrol:
macro:
Also tried int for the usercontrol method and variable and number for the macro parameter type.
Any ideas?
Thanks
Eddie
What happens if you hard code the bool value, e.g. ProcessEmail="False" ?
Regards,
Magnus
Hi Magnus
It turns out it was another macro parameter that was causing the problem :-)
Thanks
Eddie
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.