Page 1 of 1

Enabled tab in the properties window

Posted: Thu Jun 04, 2015 12:37 am
by Dwayne
Hi
I am trying to get the enabled to switch between true or false depending on if the textbox has anything in it. This is what I have come up with in the before print events box in the GroupHeaderAppliances butI cant get it to work. My report is in VB not C#

IIF(TextAppliance.Text="",GroupHeaderAppliances.Enabled= false,GroupHeaderAppliances.Enabled = true)

Thanks

Re: Enabled tab in the properties window

Posted: Thu Jun 04, 2015 6:56 am
by HighAley
Hello.

This in not right to get value of text component this way.
Please, try to use the sample expression as in TextAppliance component.

If you need to disable any component by condition. It's better to use Conditions and set Conponent is Enabled property to false.

Thank you.