07-19-2011 07:23 AM - edited 07-19-2011 07:30 AM
Or perhaps you mean something like this?
07-19-2011 07:44 AM
hi Ian
thank you, but not like that.
Tab control should be visible only when cursor on the any of three page buttons.
iam trying to convert my idea into image.
hari
07-20-2011 07:47 AM
If I interpret what you want correctly, you can do it a couple of ways, depending upon whether you want total control of what the menu looks like or you want a system looking menu.
If you want the system looking menu, use an event structure and code in mouse and menu events to generate it. It has been awhile since I did this, so the details are hazy, but it is written up in the LabVIEW help. Essentially, on a menu activate event (when someone does a right click on a control), set up the menu the way you want it. They will then select the menu and you have to handle the menu select. If you want a menu on left click, you need to intercept the mouse down event (use mouse down? event) on that control and convert the mouse button from 1 to 2, then follow the above instructions.
If you want to show something other than a menu (e.g. a tab control), you will need to create a separate VI containing the menu items. You can make the background of the VI transparent, so it will appear to be floating over your other panels. On a mouse down/up/enter/??? on your control of interest, launch the separate VI. You will probably want to make the separate VI modal (see VI properties - appearance) to avoid issues with it disappearing behind your other code. For information on how to launch separate VIs and how to get data into and out of them, see this series of posts.
If neither one of these helps or you need more info, keep posting. We will try.
08-09-2011 02:06 AM
Hi
I added a screen shot sequence with cursor position.
Mainly tab is slides from the left when the cursor on respective slective option.
Can any one did this program please give a solution.
Regards,
Hari
08-09-2011 02:36 AM - edited 08-09-2011 02:39 AM
08-09-2011 04:15 AM
Hi GerdW,
I need some more in your program atleast one tab page visable constantly.
My requirement is when i move my cursor over the page selection buttons then only tab page should appeared, remain time all tab pages should invisable.
Regards,
Hari
08-09-2011 04:38 AM