Page 1 of 1
how to hide shape depend on the value of text
Posted: Tue Feb 24, 2015 9:20 pm
by nezarabd
i have ovel shape
i want to hide it when text1 <= text2
i tray this in condition of the shape
but i have error message
Decimal.Parse(Text1.Text) <= Decimal.Parse(Text2.Text)
Re: how to hide shape depend on the value of text
Posted: Wed Feb 25, 2015 6:12 am
by Alex K.
Hello,
You need use the expression from Text components in the Condition. For example "DataSourceName.Column1 <= DataSourceName.Column2", in your case it is - "10 <= 20".
Thank you.
Re: how to hide shape depend on the value of text
Posted: Wed Feb 25, 2015 6:25 am
by HighAley
Hello.
It's impossible to take a value of a text component this way.
You should use the same expression as in the text components or save the values in variables in Get Value events of the text components.
Thank you.
Re: how to hide shape depend on the value of text
Posted: Wed Feb 25, 2015 9:14 am
by nezarabd
Mr. Aleksey Andreyanov
sample pls
thanks for reply
Re: how to hide shape depend on the value of text
Posted: Wed Feb 25, 2015 9:17 am
by nezarabd
Mr. Aleksey
i want to do so without datasource
i want with the value of textbox content
thanks for reply
Re: how to hide shape depend on the value of text
Posted: Wed Feb 25, 2015 10:23 am
by Alex K.
Hello,
You need use this value in the Condition.
Thank you.