Click a button to show/hide text

Hi all

I would like to create a HELP button. This means when I run the labview, just click this button then it will show a text that I wrote before. Click again to hide the text.

Is there any Vi to do this?

Thank you in advance!

There is no available for this readymade VI. You can use the visible property.

This is my idea

---------------------------------------

1. first create the Boolean command

2. create indicator string (to display the string)

3 when the Boolean control of press user visible string (must use the visible property) and vice versa.

----------------------------------------

Tags: NI Software

Similar Questions

  • Problems with reset toggle buttons that show/hide captions

    I have a problem with the buttons toggle that I use to show/hide a number of legends about a single slide of the reset. The rocker works very well on the first button when I click on and off to show or hide a legend. A simple click on and watch legend. One click off the coast and the legend disappears. However, if I leave a legend that is displayed and click on other buttons to show/hide the other legends, they do not show or hide in a single click. They require two clicks. It seems that something continues the read head after that first toggle is used until there is a second click. The same thing happens if I reset to enter action. If I click on a caption and leave it in place and move to another slide, it disappears when I re - get this initial slide. However, it requires two clicks, not one alone, to display the legend. I find it very strange; I learned most of my techniques from the Lilybiri blog, but this problem does not occur on his examples. I think I'm missing something obvious, but may not know what it is. Any help is very appreciated.

    if_aa.jpg

    else_aa.jpg

    reset_aa.jpg

    Yes, I use Cp6. What I wanted to say about re-use, is that I have different scenarios where a similar script could be used, if your suggestion of a model is a good. My original intention was to write it in a txt for reference. Thank you very much for all your suggestions and links. I'll keep you posted.

  • Buttons interactive show/hide

    I don't know either how to make buttons interactive show/hide each other in InDesign CS6/Windows 7,

    I've created a few interactive documents in CS4 and now I've upgraded to CS6, but I'm lost when it comes to edit these buttons in CS6. Everything seems to look the same in CS6, except when I choose ' show/hide buttons and forms' in the Actions area, the visibility box is empty. In the visibility area used to show me CS4, all the tous les autres other buttons in the document and their visibility properties. I don't see these in CS6. the area of visibility is still there, but it won't fill with buttons to manipulate me.

    How to manipulate the buttons show/hide visibility in CS6?

    I thought about it. If it helps anyone, I am happy:

    The excerpt that I had built was the set of buttons, text, and interactivity in a mooring in a text box (I can't finish with the text box). When I pull this snippet into a document, everything works fine, I can change the functionality my buttons etc. As soon as I anchor this box at a time given in my InDesign Cup document my access to the functionality of the button.

    To regain access, all I have to do is anchor of the code snippet, do my changes and then re - anchor.

    Voila. Buttons of an anchored the anchor object.

    Thank you all.

  • button to show / hide more than once

    Hello

    I have a small question.  I created a "drop-down menu" using a button and advanced actions: when clicking on the button 1 displays the menu options and an identical button 2 (hide button 1), by clicking on the 2 button hides the menu options and original watch key 1 (2 masking).  It works brilliantly and looks really good.  However once I did this and click again on the original button 1 nothing happens.  I set the properties of the action to the infinite, but he still let me do that once a button (on the same blade).  I also tried to put a number of attempt in but still not working.  Can you please specify?

    Thank you

    And the buttons are not in the same place? They have their point of suspension at the same time? Normally, the standard actions keep the playhead is stopped (which is not the case for conditional actions).  The other objects, you show/hide are not interactive? Because if they are interactive, they can cause the playback head to move. Here are the screenshots of the example of the little that I have created, firstly the chronology:

    You see two buttons with their break at the same time (two vertical lines). There are two legends of (non-interactive) text which are hidden initially, TC_Off and TC_On. I added another legend text to follow the read head (TC_Debug), it shows the rdinfoCurrentFrame of system variables.

    The buttons trigger those advanced actions (impossible to insert screenshots, so I'll write them):

    Bt_On

    See the baton

    See the TC_Off

    Hide TC_On

    Hide BtOff

    Bt_Off is similar, simply reverse the show/hide

    It works perfectly, the debugging text caption continues on the same chassis (suspension point) that allows you to repeat her clicking as many times as you want. So I suspect that you have something on the menu that moves the playhead in the inactive part of the button.

    Lilybiri

  • Using the menu button to show/hide TOC CP7 intermittent

    Hello

    Forgot to mention using CP7, I would add also that it slides that do not work, when the Mneu button is clicked for the first time, shows the button pushed, but on the 2nd time, there is no action at all the...

    I have a problem when the menu with its knock adv to show/hide action button, does not always.

    I went through all the slides in masters and made sure that I have the same settings for each, but on some slides, it will display the table of contents but can't hide after pressing the button Menu again. This is assured, there is no associated transition with the key.

    It works well at every time whebn using the small line up double, but we need the user to use the button and do not rely on these arrows...

    Anyione elsoe had similar problem... ?

    See you soon
    Sabine

    Hi Rod,

    Thank you for that. They are actually custom buttons in our workplace, rather than a usual adobe PlayBar... However, what really strange is at the last minute, I thought copy button and then remove the original button and paste in the copy (don't ask not even why I thought this might work..) but it worked and all is good now...

    Thanks for responding...

    See you soon

    Sabine...

  • How create a toggle button that shows/hides a smartshape?

    Hello

    I work in 6 Captivate and want to create a button (may be a smartshape button, say smartshape A), on a click, shows an another smartshape B. When you click on this button (SmartShape), it hides SmartShape B - so basically what it activates / deactivates the visibility of SmartShape B. How would I do this in Captivate?

    Thank you

    Sean

    I guess that SmartshapeB is invisible at first.

    Create a variable, say CountAClick with 0.

    On the A Smartshape, assign an action conditional adv.:

    If CountAClick equals 0

    Assign the CountAClick with 1

    See the SmartshapeB

    On the other

    Hide SmartshapeB

    Assign the CountAClick with 0

    Anthony

  • get the data from the text box by clicking a button and display output text

    Hi all

    I have a task flow with two pages. On the first page, I have a text entry box and a command button.whenever I click the button, the data that is entered in the input text box should be displayed as output in the second page.please text after the code for this example.

    Thank you.

    Hello

    1. create a bean with a scope of application with any appropriate instance name: myBean_Request.
    2. create a property of the bean with any appropriate name. For example:

    private String textValue;
    

    3 generate the getters and setters in the bean for the text argument.
    4. set the value attribute of the text box to something like this.

    value="#{myBean_Request.textValue}"
    

    5. can insert setPropertyListener for the CommandButton as follows

                    
                       
                    
    

    6. in the next page set the value of the text output to the

    value="#{pageFlowScope.textValue}"
    

    I hope this helps.

    Kind regards
    Sicard.

  • Show/hide text caption

    I want to hide a text caption when the user enters the screen but want to display when the user clicks on a box of click for the third time (maximum attempts). How can I do this? Advanced actions or JS. Help, please. *

    Hello and welcome to the forum,

    Possible with advanced actions, have several examples on my blog.

    This will be the workflow:

    1. Create a variable user v_counter, if the user cannot return to the slide, not need to initialize it when entering the slide, because if there is no initial value starts at 0
    2. Create the text of the legend TCWarning and set it to invisible in the properties panel
    3. create a conditional advanced action to be triggered by the success of the click box event; don't know what version of CP you use:
      1. increment the counter - CP5/5.5 in a simulated standard action that will be the first decision "Increment":

        • IF 1 is equal to 1
        • THEN Expression v_counter = v_counter + 1
      2. Check the value of the counter in a second decision 'Show '.
        • IF v_counter is equal to or greater than 3
        • SEE the TCWarning

    Lilybiri

  • Buttons - maximum show/hide get around them

    Hi all

    Does anyone know a work around the number of buttons that can be displayed or hidden by an action click maximum (100). It seems strange to me that it is limited to one hundred; I understood better if it was 99 or 999, but 100 seems strange.

    Thank you

    You can use Acrobat Javascript.

  • Show/hide text field

    Hello

    I have the Group of option buttons, five choices, and by choosing No. 5, I want a text field become visible.

    Someone at - it an idea how to make this happen?

    Kirstine

    You will write the code on the change event of the RadioButtonList method (look in the hierarchy) where radio buttons are grouped. The group object will hold the value currently set for the RadioButtonList method. You can test to see if the group is set to 5 while you bring up your field. Make sure that each RadioButton has a unique value when it is turned on. Something like this:

    If (this.rawValue == 5) {}

    FieldName.Presence = "visible".

    } else {}

    FieldName.Presence = 'invisible '.

    }

    Paul

  • Remove "show/hide TOC" in iframes

    I use RH9 to generate webhelp and uses iframes on almost every page of my project and thus I need to divide the pages in coloumned tables.

    My problems:

    one) I want users to have access to the table of contents and glossary, I created, but the mess of navigation page to the top of my alignment of the table. The obvious solution is to hide the table of contents by default at startup, but none of the tips I found (including Peter Grainge) to modify the js files to make this work for me. The best I could do is settings use webhelp HR integrate the show/hide text at the top of each page.

    (b) Unfortunately, the text to show/hide appears in each topic in the IFRAME, as well as on the pages of the main topic. Users who click on these links in an iframe lose the window of the main topic.

    Then, I can hide the default navigation getting started page and can I selectively incorporate a text to hide/show on the pages, except those iframes? I don't mind doing so manually if necessary. I understand that I could place the subjects I want to display in outdoor iframes to the project, but I would rather not since that affects the portability from one server to another.

    Thanks for any help. John

    Hi John,.

    To hide the navigation page, follow these steps:

    (1) before generating the output of WebHelp, exploring to the! SkinSubFolder! folder in your project folder and open the skn (to be used in the output) file in a text editor and modify it to , as shown in the screenshot below:

    (2) the output and observe that this navigation page must be hidden by default.

    If you want to insert to show/hide only selected topics, I'm afraid you must do it manually.

    For letting us have the best overview of your condition, you can also share a sample project with the necessary details such as your desired output.

    Please perform the following steps to share the project-

    1. click the button register to sign up for a free account at http://acrobat.com.
    2. Once you log on to your account, download the project.
    3. once the project is transferred, please share with us.
    (File sharing option is available in the lower left corner of the page as an option for specific files).

    I hope this helps.

    Thank you
    Aditi

  • Show/hide an element with the click of a button - Script works does not in Firefox

    Hi all

    Basically, I'm looking for show/hide a DIV with the click of a button.

    The script works in IE but fail in FF.

    I am sure that I am the problem here.

    <script type="text/javascript">

    function toggle(box) {
         var el = document.getElementById('box');
         el.style.display = (el.style.display != 'none' ? 'none' : '' );
         
         
         value = document.getElementById('content').value;
         if(value=="Show Calendar"){
         document.getElementById('content').value="Hide Calendar";
         }
         else{
         document.getElementById('content').value="Show Calendar";     
    }
    }
    </script>


    <style type="text/css">
    #box{
         background-color: #C0C0C0;
         height: 100px;
         width: 100px;
    }
    </style>
    </head>

    <body>

    <div id="box">
    </div>

    <input id="content" value="Hide Calendar" type="button" onclick="toggle(box)" />
    </body>
    </html>

    WE

    He also worked if you had changed-

    
    

    on this subject.

    
    
  • How can I prevent Captivate to advance to the next slide, after the end of the audio and I click on click to show/hide sidebar box?

    I currently have a slide that plays audio.  While usage is listening to the narration that I can click on three different click the boxes with advanced actions to open and close text boxes, I want the user to read the value.  When reading narrative ends and I'll click on the boxes to click to read a text box, it moves to the next slide.  I understand that I may have to replace the box with smart buttons click but I don't know how to stop the progression to the next slide.  I already have a next button that is put on pause until the user clicks.  Any help would be greatly appreciated.  I'm on a tight schedule.

    Quickly, I created a sample file, just have a slide with three form buttons that act as the toggles and a next button. The first three buttons break late exactly at the same time and the next button.

    Since it's the slide by clicking the audio stops no audio at all (common misunderstanding). I created a shared action, with the purpose to display and the variable (mine are labeled v_one instead of v_visib) as parameters:

    StarOne is what you want to show/hide. You can click on infinite time on each key to show/hide this element. He won't interfere not audio, once he started playing he will continue. When the audio is finished, you can still continue to click. Just click on the next button will advance to the next slide. It's my calendar

    No need to rewind the playback head in this case at all.

  • Show / Hide button to Drop down works only once

    Hello

    I use RH10. I have about 10 drop-down text on a page.

    I created only one show / hide all the button for my menu drop-down texts according to the procedure mentioned here.

    http://www.Grainge.org/pages/various_rh_projects/rh_twisty2/index.htm

    I get it almost immediately when I followed the instructions and the project. Except that my Show / button hide become inactive after a single use of these two functions, i.e., I can only once to display all click and click again to hide all. After that, either I have to refresh the browser or go to something else and come back to make it work. What could be the cause?

    I use 17.0.7 FireFox and IE8.

    Anthony

    I see only one image to your project. Although the user sees as a method of a button, there are two buttons, one for the show and one to hide.

    See the default value and must appear in the Images when you create the link. Hide is the one who must be in the luggage.

    Have you downloaded the demo rather than just the PDF?

    See www.grainge.org for creating tips and RoboHelp

    @petergrainge

  • can radio buttons show/hide the info in an interactive pdf?

    Hello. I have a question to which I have been faced with during some time... hoping someone can help.

    I create a document in InDesign CS6. It's basically a guide with a joint questionnaire.

    I have forward and back buttons work properly - so that they take you from one page to another.

    However, the more difficult question is I want to have interactivity with the use of radio buttons and eventually the check boxes. Thus, for example, on page 1, I have a question multiple choice where there are three choices. Clicking the wrong answer shows a block of text saying 'no it's wrong' and clicking on the appropriate radio button shows the words "Yes, correct."

    I have created three blocks of text and make it into a multi-state object.

    Three problems:

    1. option buttons seem to be the option for "the State" in the buttons and Forms dialog box
    2. even if that were the case - the State Road seems to be only swf, non-interactive pdf form - is there a way to change this?
    3. script assuming that there IS a way, everything can be put in place so that instead of using radio buttons I have use of check boxes that only give the correct answer if the correct check boxes are selected.

    I would stick to indesign to do this, however, I think that the option is perhaps more suited for this problem?

    Many thanks in advance,

    SunsV

    1 - make 3 images and convert it into boxes option...

    Text blocks 2 2-make (Yes, his right) (No, the wrong) and convert it to buttons - rename it (Righ, evil)

    3 - Click on each radio button and apply action: Show/Hide button and form and on the visibility to activate the globe eye for buttons wrong or right.

Maybe you are looking for

  • trying to erase macmini, but losing internet

    I need to delete my old MacMini, but the internet is not connected when I Turn it back on. My service provider said that it is a product problem? Thank you

  • Shortcut permissions Windows XP problem

    How to restore my TurboTax permissions/ownership/path on Windows XP Shortcut without damaging the input so far data/files? I am currently getting 'Windows cannot access the specified device, path or file. You can not have the appropriate permissions

  • Eyedropper tool do not pick up color images (CC)

    I was never able to choose the colors of any type of image in Illustrator CC (last version) with the eyedropper tool. If I remember correctly, it was possible in CS6. I have reset the preferences, searched forums, played with pipette parameters witho

  • OnLoad in pages ADF Mobile amx

    Can someone please help me use the onload method calls in the pages of the amx? I just want to call a class method Bean while getting the loading of the page.

  • Get the text in the text field?

    HelloHow I can read the text in a field of text on the stage, then enter this value in a variable?I can easily write text in a text field via:SYM. $("my_text_field") .html ("of the text...");But I want to read this text in a vairable? For example:Var