I have the following code:
if(State == State.SetDefaults)
{
ShowmyBox = true;
}
I have:
protected override void OnBarUpdate()
{
if(ShowmyBox)
{
my code here;
}
}
The idea is to create a subbox linked to this one. That means, I want a subbox to be checked only if the above one is checked.
Could someone guide me through the process? Is there a specific function to be used for this purpuse? If yes, which and where in the code?
Many thanks!

Comment