This is the fourth in a series of posts on some of the extended QControls that come already installed with the QControl Toolkit. There is no separate download for these. To get them just install the QControl Tool Kit available here:
The QControl Toolkit on LabVIEW Tools Network
After installed, examples can be found in the NI Example Finder and the Controls (Facades) and the methods can be found in the Addons-->QControl Palettes.
The QControl Toolkit on LabVIEW Tools Network
After installed, examples can be found in the NI Example Finder and the Controls (Facades) and the methods can be found in the Addons-->QControl Palettes.
Overview
The Steps QControl handles the pages in a Tab Control to aid in making step-by-step wizards. It is used in the QControl Creation Wizard given as part of the QCtonrol Toolkit, shown below:
In the Steps QControl Class there are three public methods:
- Goto Start Method - Enables the first page, disables all the other pages, and sets the Tab Control to the first page.
- Next Method - Enables the next page, disables all the other pages, and sets the Tab Control to the next page.
- Back Method - Enables the previous page, disables all the other pages, and sets the Tab Control to the previous page.
These are used in the owning VI using the Steps QControl to navigate through the pages. The Next and Back Methods are smart enough to know when the first and last pages have been reached and will do nothing if used to try to move past the existing pages.
Therefore, in the main VI of the QControl Creation Wizard, the Goto Start Method is used on the initialize. Then when the Next button is clicked, the Next Method is executed which moves the QControl Creation Wizard to the next step.
The Back button is made visible and if it were pressed the QControl Creation Wizard would return to the first step.
The Next and Back buttons are not part of the Steps QControl so changing their properties (visibility, text, etc.) and the value change events are handled in the QControl Creation Wizard's code.
Dear Q,
ReplyDeleteI've installed Qcontrol through VIPM on LabVIEW 2017 (french), but the "New ..." menu doesn't show me the Qcontrol wizard. Is ther an other path to access to the wizard ?
BR
Philippe, I have attempted to answer your question on the QControl thread in the UI Interest Group in the NI Community Pages located here:
ReplyDeletehttps://forums.ni.com/t5/UI-Interest-Group-Discussions/An-Extensible-Object-Oriented-Alternative-to-XControls/td-p/3456639/page/2