ver.1.1
I have finished my tookit, for LabVIEW and I would like to share it with LabVIEW community. I think, the quality UI become as important part of a LV code as a functionality itself nowdays. Customizing the LV Controls & Indicators can be done many ways, but what about the LV RTM? (Run Time Menu). Maybe the color of RTM can be chage (I'm not sure) but I clearly know there is no way to insert images into menuitems, that could improve the presence of our FP.
So, I've started to develop a control that may replace the "old-timer" LV RTM. Before saying some words about the toolkit please take a look at the attached pictures.
The pictures above show the ToolStrip can be used as Horizontal and Vertical dock.
The following docy types are supported:
The following ToolStripItems are supported already:
ToolStripItem | Functionality |
---|---|
ToolStripButton | Simple Button |
ToolStripLabel | Simple Text filed |
ToolStripSeparator | Separator Item |
ToolStripMenuItem | Nestable Item (dropdown) |
and the following items are under development:
The picture shows and example. (This VI is also available in the package with many more example.)
I think, this is most interesting part of it
User Level: I want to simplify the event handlig as much as possible, so the user doesn't have to take care .Net Events and more. .Net ClickedEvent is registered for UserEvent and used in the top-level vi. The Event returns the ItemTag of the selected ToolStripItem. This ItemTag is used as a parameter of the following methods:
Method Name |
---|
TS - RemoveItem.vi |
TS - GetItemCheck.vi |
TS - SetItemCheck.vi |
TS - GetDisableItem.vi |
TS - SetDisableItem.vi |
For more info can be found on the website.
The picture above shows the event handling part of the code. The ItemTag <string> is an individual identifier of each ToolStripItem.
Checked Property:
There are two types of checked-state. If a ToolStripMenuItem has any icon, the checked state dispalys as the "New" menuitem. Under the New menuitem, Open item has the same icon but its state is unchecked.
And if the menuitem doesn't have any icon, the standard pipe appears as its state is checked.
Version Overview
v1.3.
Feature Request:
### BSD License (http://www.opensource.org/licenses/bsd-license.php) ###
Copyright (c) 2012, mvTech <info@mvtech.eu> | All rights reserved.
This Full Version tookit is free to use for everyone.
Please place the ToolStrip logo to your application about window.
Source Code:
The complete source code added (without password protection), full of with OO programming tools. ( Recursive algorithm, DVR objects, and so on...)
No Limitation | Full Source Code added
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.