01-15-2014 10:06 PM - edited 01-15-2014 10:07 PM
I am creating a UI application which have approx 10 different menus. Now I need that when user is working with one submenu then parallely he can open the other submenu belong to other menu.
When I was configuring event structure then I unchecked the Lock front panel setting but now I am only able to select the menu but not able to open any window, and as soon as current window exits then automatically my window selected previously opens up....
Thanks
Solved! Go to Solution.
01-15-2014 10:38 PM
Multiple menus don't sound like any user interface that I've ever heard of.
Can you mock up a screenshot of what it is you want to do?
Perhaps a tree control will let you do what you want.
01-15-2014 11:48 PM
Yes it is in .net application. So I think this should be possible in labview application too.
Here is the snapshot.
01-16-2014 02:37 AM
I think it's possible if you use the Menu selection? event, but you need to implement some floating menu instead of the standard one, thus basically popping up 2 floating dialogs.
/Y
01-16-2014 02:43 AM
Can you please elobreate?
01-16-2014 03:08 AM
Hello Ranjeet
what I don't understand is the reason of your UI design. A menu is intended to start an instruction to the program, e.g. to open a file-dialog or to start conversation with an external device. Additionally with little icons, like checkmarks, states according to these instructions can be shown.
When you want to open a menu to show something, like states or user information, and at the same time you want to open another menu to start some actions, the first menu can be replaced with some kind of indicator on the front panel, like a list, booleans or whatever.
01-16-2014 07:46 AM - edited 01-16-2014 08:10 AM
@Ranjeet_Singh wrote:
Yes it is in .net application. So I think this should be possible in labview application too.
Here is the snapshot.
Who made the .net application that can do this? Can you show it with both menus being open simultaneously?
I have never seen an application behave this way.
I think Dave's message explains well the standard use of a menu architecture.
Another question. If you click on the first menu and it pops up, then you click on the second menu and it pops up while the first remains up (whereas normal menus the first will go away), how do you ultimately get one or both menus to go away when you are done with them?
01-16-2014 08:26 AM
Do you have two mouse pointers to control these submenus? Are these controlled by a single mouse or do you use two (or more) mice?
Norbert
01-17-2014 11:24 PM
@daveTW wrote:
Hello Ranjeet
what I don't understand is the reason of your UI design. A menu is intended to start an instruction to the program, e.g. to open a file-dialog or to start conversation with an external device. Additionally with little icons, like checkmarks, states according to these instructions can be shown.
When you want to open a menu to show something, like states or user information, and at the same time you want to open another menu to start some actions, the first menu can be replaced with some kind of indicator on the front panel, like a list, booleans or whatever.
My menu is like this.
Config --> Configure the com port for communication (Obviously need to be done once)
Testing --> Testing will be done and hence pass fail and total number also will be maintained.
Report --> That will show the report by date and model wise in one day of any model.
Add --> Add parameter
Exit --> Exit my application.
Now in my between testing if user wants to view the report then my numbers will again start from 0. For this I have a soltion that before exit I can write to the database and retrieve it but this very lenthy procedure.
So if user is able to open testing and report vi simultanously then the data will not be lost.
01-17-2014 11:27 PM - edited 01-17-2014 11:29 PM
@RavensFan wrote:
Who made the .net application that can do this? Can you show it with both menus being open simultaneously?
I have never seen an application behave this way.Another question. If you click on the first menu and it pops up, then you click on the second menu and it pops up while the first remains up (whereas normal menus the first will go away), how do you ultimately get one or both menus to go away when you are done with them?
Unfortunately my .net application devreloper doesnt know labview. There are application like this also.
What I need is when user selects the second menu then I dont want first menu to be close first. If it is minimised then no problem, if it remains up but minimised fine with me.