how to hide a Text in viewer

Stimulsoft Reports.NET discussion
Post Reply
mahboobeh
Posts: 15
Joined: Sun Feb 13, 2011 2:50 am

how to hide a Text in viewer

Post 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.
why people say the hourse is a noble animal
and the pigeon is nice
and why there are not a vulture in any body`s cage.
You have to wash your eyes.
you shoud see the world in a diffrent way.
"sohrab sepehri"
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

how to hide a Text in viewer

Post by Alex K. »

Hello,

Sorry, maybe we did not exactly understand your question. Could you explain your issue in more details?

Thank you.
mahboobeh
Posts: 15
Joined: Sun Feb 13, 2011 2:50 am

how to hide a Text in viewer

Post 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.
why people say the hourse is a noble animal
and the pigeon is nice
and why there are not a vulture in any body`s cage.
You have to wash your eyes.
you shoud see the world in a diffrent way.
"sohrab sepehri"
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

how to hide a Text in viewer

Post by Alex K. »

Hello,

If we understood your problem correctly please see the sample report in attachment.

Thank you.
Attachments
829.SampleReport.mrt
(7.36 KiB) Downloaded 321 times
mahboobeh
Posts: 15
Joined: Sun Feb 13, 2011 2:50 am

how to hide a Text in viewer

Post by mahboobeh »

thanks a lot dear Aleksey

but i coudn't use this.(maybe because i'm new in stimul :blush: )
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.

why people say the hourse is a noble animal
and the pigeon is nice
and why there are not a vulture in any body`s cage.
You have to wash your eyes.
you shoud see the world in a diffrent way.
"sohrab sepehri"
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

how to hide a Text in viewer

Post 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.
mahboobeh
Posts: 15
Joined: Sun Feb 13, 2011 2:50 am

how to hide a Text in viewer

Post 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:kiss:
why people say the hourse is a noble animal
and the pigeon is nice
and why there are not a vulture in any body`s cage.
You have to wash your eyes.
you shoud see the world in a diffrent way.
"sohrab sepehri"
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

how to hide a Text in viewer

Post by Alex K. »

Hello,

We are always glad to help you!
Let us know if you need any additional help.

Thank you.
Post Reply