Jump to content

Hide part of the user interface


Recommended Posts

Hello,

I've made a VI for my students.

This VI contains data, graph and calculate some values.

I'd like to hide the calculated values but when I click on a button a modal window

would appear in which I could enter a password to make the whole user interface available.

Is there an easy way to do this.

I've ever user property node (to hide some part of the user interface)

an other idea could be to have two forms (a limited form and a full form)

does anyone here has ever try to do something like the two ideas above ?

How can I open a modal window ?

Kind regards

Link to comment

QUOTE (scls19fr @ Apr 9 2009, 09:23 AM)

Hello,

I've made a VI for my students.

This VI contains data, graph and calculate some values.

I'd like to hide the calculated values but when I click on a button a modal window

would appear in which I could enter a password to make the whole user interface available.

Is there an easy way to do this.

I've ever user property node (to hide some part of the user interface)

an other idea could be to have two forms (a limited form and a full form)

does anyone here has ever try to do something like the two ideas above ?

How can I open a modal window ?

Kind regards

I'll leave the modal window" for other to answer but hiding groups of control can be accomplished by using a tab control with a tab page that is hidden until the password is entered. I find the tab control approach to be an easy way to control the visablity of a collection of objects.

Ben

Link to comment

Thanks for this idea of changing window width in order to hide a part of the UI.

But my application runs in full screen mode (maximized) so this is not a solution for me.

About using tab... I've tryied two ideas

1) Use a tab control with only 1 page. I set this tab control in order to hide page(s) name(s).

This works fine.

2) I'm trying to put all the UI that need to be hidden in the second page of a tab control.

I'd like to hide the whole page of the tab control (not the tab control itself)... but

I succeed in doing this using this http://wiki.lavag.org/TAB_Control

About md5... I've found what I was looking for at OpenG.

I'll do it later.

About user interface... I'm also wondering if LabVIEW can use the same concept of layouts to automatically

modify the size and position of controls (like in Java or C++/Qt)

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
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
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.