A QControl is an object-oriented alternative to using an XControl. It allows a developer to create useful, highly customized User Interface (UI) components in LabVIEW of which the behavior is extensible and reusable. It is: A LabVIEW Object-Oriented Class with a Control Reference as part of its Private Data where all manipulation of the Control should be done through Properties and Methods of its Class A class that can be reused to recreate the UI Logic wherever required Could have an asynchronously called Event Hander that handles UI Logic Part of the QControl Class Hierarchy which mimics the VI Server Class Hierarchy Tradeoffs of a QControl vs an XControl There are tradeoffs to using a QControl versus using a regular XControl. A QControl has the same benefits of an XControl by: Encapsulating UI Logic Code Maintaining the same functionality when used in multiple instances Allowing for complicated UI code to be abstracted from other developers Allowing for
The OrderSelection QControl Code can be found here: OrderSelection QControl.zip The QControl Toolkit is required to use this and can be found here : The QControl Toolkit on LabVIEW Tools Network Overview Here is another QControl I created to try to answer a question in the discussion board. You can access the original question here . The requirement the OP of the question needed was a control that could help his application's user order a list of items. This is quoted from his post: "I need a simple way for my users to be able to select and order a number of items... I would prefer to provide a larger iconic representation of the items and present them horizontally, since they will ultimately represent column headers in a data file. Drag and drop would of course be needed." from @auspex So I decided to attempt a control like he described using the QControl Toolkit. Here is a view of what the OrderSelection QControl looks like but it