LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Editing Run-time toolbar

I am currently trying to create an application that has a toolbar in the top portion of the window (just under the menus, like most standard toolbars).

I know how to edit the run-time menu's to display only what I require in the menu portion of the window but im wondering if its possible to edit the toolbar that LabView has. For example at run time this has "Running", "Run Countinuosly", "Abort Execution of..." and "Pause". I'd like to get rid of all of those options and add a few of my own.

Thanks

TMC
0 Kudos
Message 1 of 5
(3,146 Views)
TMC,

Join the club. You can disable or remove some or all of those buttons, but you certainly cannot replace them with your own. Those are embedded in LabVIEW.

I would suggest that you disable the toolbar, and create your own. I tried to make a toolset for this, but implementation was impossible, as there is no way to either create dynamic buttons with custom icons, or embed custom icons on standing buttons. Everything must be done manually.

Good luck.
0 Kudos
Message 2 of 5
(3,146 Views)
Using ActiveX, you can create your own toolbar. Have you tried that?
Maybe you should check FAVI site.


TMC wrote:
> I am currently trying to create an application that has a toolbar in
> the top portion of the window (just under the menus, like most
> standard toolbars).
>
> I know how to edit the run-time menu's to display only what I require
> in the menu portion of the window but im wondering if its possible to
> edit the toolbar that LabView has. For example at run time this has
> "Running", "Run Countinuosly", "Abort Execution of..." and "Pause".
> I'd like to get rid of all of those options and add a few of my own.
>
> Thanks
>
> TMC
0 Kudos
Message 3 of 5
(3,146 Views)
What is about add new menu bar or pop-up menu?
You can use user32.dll with WIN32 API menu functions.
If you want, i have llb for creating custom pop-up menu,i can send it to your mail.
0 Kudos
Message 4 of 5
(3,146 Views)
Hi TMC,

Developping on Mac, I (unfortunately) cannot use any Active X or Windows Dll. Instead I have been using a very simple approach to the Toolbar Problem.
I am using Run Time menus as well as a software toolbar (in the VI at the top of the windows under the menus) to perform the same functions. The menus produces some 'Item tag', each of them corresponding to a case of a 'If' structure. The toolbar is made of nice boolean controls that 'release' a string corresponding to the 'Item tag' of your corresponding menu.
....not easy to explain, but have a look at the picture I attached, this should be more clear.
I agree it is not a 'real' toolbar embedded in the frame of the window, but this may be enough for many people out there... as you cannot really
tell the difference with a real one.
Hope you will find that useful.

Cheers

Elie Allouis
0 Kudos
Message 5 of 5
(3,146 Views)