Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

hide and show using text box

Hi

I need to show the text box and hide it by using a text box itself can you please help me how is it

Ex:  In Help Desk Dashboard we 've the "Help Guide textbox "   In top of left corner like that....

1 Solution

Accepted Solutions
vardhancse
Specialist III
Specialist III

in order to hide it again

2 methods:

method 1:

on top of object 2 we can create another text object->Properties->

Properties->Actions->Action Type(External)->Set variable->Value:0

object 1->Properties->Layout->Layer->top

Method 2:

in object 1->Properties->Actions->Action Type(External)->Set variable->if(Variable=1,1,0)

so once we click on object1->object 2 will open and once again if we click on object 1->object 2 will be hidden

View solution in original post

5 Replies
sunny_talwar

Are you saying that you want to hide and show a text box (lets say TextBox1) by clicking on itself?? I guess you can hide it, but once hidden, you won't be able to use it to show TextBox1.

Let me know if this is not what you are looking for?

Not applicable
Author

Hi,

Hide and Show of an Object can be achieved by creating and handling Variables.

Create Two Text Boxes and Single Variable.

Use the Action and Layout condition on The textboxes to control the Hide/ Show feature.

Hope it helps !

Cheers !

vardhancse
Specialist III
Specialist III

Create

2 text objects

1 variable with value 0

in one text object->Properties->Actions->Action Type(External)->Set variable->Value:1

In another text object->Properties->Layout->show->Conditional->Variable=1

so on click of object 1, object 2 will be visible

Not applicable
Author

Hi sunny for you ref here I attached the Helpdesk qvw file. I think you already have it.... In that you can see a green color symbol in right corner  once you click on it, it show some text boxes  again if you click on same symbol it hide those text box... I followed the steps wat are in that file but I didn't get it......

vardhancse
Specialist III
Specialist III

in order to hide it again

2 methods:

method 1:

on top of object 2 we can create another text object->Properties->

Properties->Actions->Action Type(External)->Set variable->Value:0

object 1->Properties->Layout->Layer->top

Method 2:

in object 1->Properties->Actions->Action Type(External)->Set variable->if(Variable=1,1,0)

so once we click on object1->object 2 will open and once again if we click on object 1->object 2 will be hidden