Page 1 of 1
how to hide a Text in viewer
Posted: Sun Feb 13, 2011 3:03 am
by mahboobeh
hi all
is it possible to show or hide a control like Text in a report in viewer?
the printable isn't useful for this.
i want to have a non visible text in veiwer,in addition i want to it change the other text locatoin after that the text been non visible,it's mean that i dont want to have null space in non visible Text place.
tnx in advance.
how to hide a Text in viewer
Posted: Sun Feb 13, 2011 1:04 pm
by Alex K.
Hello,
Sorry, maybe we did not exactly understand your question. Could you explain your issue in more details?
Thank you.
how to hide a Text in viewer
Posted: Mon Feb 14, 2011 3:04 am
by mahboobeh
hi
tnx for your attention.
i think it's impossible.
but i used the height properties of TEXT ,when i dont need that i set this peoperties to zero.
how to hide a Text in viewer
Posted: Mon Feb 14, 2011 3:25 am
by Alex K.
Hello,
If we understood your problem correctly please see the sample report in attachment.
Thank you.
how to hide a Text in viewer
Posted: Mon Feb 14, 2011 3:46 am
by mahboobeh
thanks a lot dear Aleksey
but i coudn't use this.(maybe because i'm new in stimul

)
can you explain what did you do in this sample?
i think it's clear,i've diffrent show for a special report.some times i want to hide some text control and i want to control it from c#.
i just found height proprties=0 to do this.
how to hide a Text in viewer
Posted: Mon Feb 14, 2011 6:30 am
by Alex K.
Hello,
In this example, 4 text components were added, for each condition displaying is set (if the variable is false then do not display) and set the Dock Style to Left. In this case, when you hide any element, there will be no space between them, the items will dock to each other.
To hide an item from code you can use the Enabled property set to false.
Thank you.
how to hide a Text in viewer
Posted: Mon Feb 14, 2011 7:25 am
by mahboobeh
that's right,i exectly need this.
now i use panels and dock them on top of each other .
i'm realy thank you.
Regards
how to hide a Text in viewer
Posted: Mon Feb 14, 2011 7:28 am
by Alex K.
Hello,
We are always glad to help you!
Let us know if you need any additional help.
Thank you.