Jump to content

Hide_Information


Sally

Recommended Posts

Hi all,

I have extra information in my VI I want to hide all of them , the user need them he can press in one button called " Extra information "to get those information . I can do that but for one infromation only

I mean by property node then visible , but this will hide one icon onlyy ...

Link to comment

QUOTE(Sally @ Apr 13 2007, 01:43 PM)

I have extra information in my VI I want to hide all of them , the user need them he can press in one button called " Extra information "to get those information...

Please post what you have done so far... :blink:

Is the "Extra information" front panel objects? If so, create control references for all the objects that you want to show/hide, and put all these references in an array.

Then use a property node in a loop, to set the "Visible" property for all these objects.

/J

Link to comment

There are many ways to do this. One very simple is to place this hidden information on a sheet of a tab indicator. Also create one empty sheet to the tab indicator. Select visible sheet by wiring a value to the tab indicator. If you care about look & feel you can make your tab control transparent using the paint tool in the tools menu window.

Tomi

Link to comment

QUOTE(Sally @ Apr 13 2007, 10:22 PM)

but how can I create control references ???

Right click on the control node on the block diagram and click create>reference.

another option is to have the controls off the side of your interface and when the user clicks a show/hide button, resize the front panel to show.hide the controls.

Link to comment

QUOTE(crelf @ Apr 13 2007, 03:23 PM)

another option is to have the controls off the side of your interface and when the user clicks a show/hide button, resize the front panel to show.hide the controls.

nOoooooo! This is really annoying way. I've seen a couple of such LabVIEW UIs and I must admit I really hate them. I'd still vote for the tab control as it's very easy to manage. Simply drag and drop new items there and they get hidden. In addition You can display something else for not so advanced users instead.

Tomi

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.