Type-Sensitive-Popup2014-10-21

所属分类:界面编程
开发工具:LabView
文件大小:1013KB
下载次数:129
上传日期:2014-10-21 19:05:47
上 传 者yingzi3302
说明:   程序功能: 在树形控件、表格控件等中添加各种类型的控件,包括枚举形、颜色控件、字符串控件、数值控件、按钮等,在其中的整型簇上点击,还可以在鼠标旁边出现一个修改值的小型对话框。
(Program features: In the tree control, a table to add controls and other types of controls, including enumeration shape, color controls, string control, numerical controls, buttons, etc., in which the integer clusters click, you can also mouse A small dialog box appears next to modify values. Implementation: The program has made the current control type and location of the mouse selected, and then based on .)

文件列表:
2013-2-26表格中嵌入下拉列表等\TypeSens Popup\Demo with Dynamic Data Types.vi (60860, 2013-02-26)
2013-2-26表格中嵌入下拉列表等\TypeSens Popup\Private\TSPopup.Breakout Controls to Register.vi (20657, 2013-02-26)
2013-2-26表格中嵌入下拉列表等\TypeSens Popup\Private\TSPopup.Create Search Names.vi (21167, 2013-02-26)
2013-2-26表格中嵌入下拉列表等\TypeSens Popup\Private\TSPopup.Event Enum.ctl (10831, 2013-02-26)
2013-2-26表格中嵌入下拉列表等\TypeSens Popup\Private\TSPopup.FG.Popup.vi (50556, 2013-02-26)
2013-2-26表格中嵌入下拉列表等\TypeSens Popup\Private\TSPopup.Get Control Value.vi (36189, 2013-02-26)
2013-2-26表格中嵌入下拉列表等\TypeSens Popup\Private\TSPopup.Init Controls.vi (22377, 2013-02-26)
2013-2-26表格中嵌入下拉列表等\TypeSens Popup\Private\TSPopup.Make Popup Visible.vi (74918, 2013-02-26)
2013-2-26表格中嵌入下拉列表等\TypeSens Popup\Private\TSPopup.Monitor Events.vi (94532, 2007-08-20)
2013-2-26表格中嵌入下拉列表等\TypeSens Popup\Private\TSPopup.Monitor Register Data.ctl (12170, 2013-02-26)
2013-2-26表格中嵌入下拉列表等\TypeSens Popup\Private\TSPopup.Point to Row Col.vi (46916, 2013-02-26)
2013-2-26表格中嵌入下拉列表等\TypeSens Popup\Private\TSPopup.Popup Operation.ctl (10788, 2013-02-26)
2013-2-26表格中嵌入下拉列表等\TypeSens Popup\Private\TSPopup.Popup Results.ctl (11218, 2013-02-26)
2013-2-26表格中嵌入下拉列表等\TypeSens Popup\Private\TSPopup.Position Cluster.vi (29156, 2013-02-26)
2013-2-26表格中嵌入下拉列表等\TypeSens Popup\Private\TSPopup.Set Font Size.vi (24093, 2013-02-26)
2013-2-26表格中嵌入下拉列表等\TypeSens Popup\Private\TSPopup.String to Variant Value.vi (33659, 2013-02-26)
2013-2-26表格中嵌入下拉列表等\TypeSens Popup\TSPopup.Close.vi (17085, 2013-02-26)
2013-2-26表格中嵌入下拉列表等\TypeSens Popup\TSPopup.Data Type.ctl (10770, 2013-02-26)
2013-2-26表格中嵌入下拉列表等\TypeSens Popup\TSPopup.Demo Registration.vi (32489, 2013-02-26)
2013-2-26表格中嵌入下拉列表等\TypeSens Popup\TSPopup.Demo.vi (39048, 2013-02-26)
2013-2-26表格中嵌入下拉列表等\TypeSens Popup\TSPopup.Grid.Cell Info.ctl (15999, 2013-02-26)
2013-2-26表格中嵌入下拉列表等\TypeSens Popup\TSPopup.Initialize.vi (19258, 2013-02-26)
2013-2-26表格中嵌入下拉列表等\TypeSens Popup\TSPopup.Lookup.vi (36158, 2013-02-26)
2013-2-26表格中嵌入下拉列表等\TypeSens Popup\TSPopup.Popup Call Parameters.ctl (14058, 2013-02-26)
2013-2-26表格中嵌入下拉列表等\TypeSens Popup\TSPopup.Popup Cluster.ctl (16134, 2013-02-26)
2013-2-26表格中嵌入下拉列表等\TypeSens Popup\TSPopup.Register.vi (34288, 2013-02-26)
2013-2-26表格中嵌入下拉列表等\TypeSens Popup\TSPopup.Show Popup.vi (22462, 2013-02-26)
2013-2-26表格中嵌入下拉列表等\TypeSens Popup\TSPopup.Update Cell String.vi (45442, 2013-02-26)
2013-2-26表格中嵌入下拉列表等\TypeSens Popup-简化\Control\Popup Control Ref Array.ctl (4668, 2013-02-26)
2013-2-26表格中嵌入下拉列表等\TypeSens Popup-简化\Control\Popup.Data Type.ctl (10712, 2013-02-26)
2013-2-26表格中嵌入下拉列表等\TypeSens Popup-简化\Control\Popup.Event Enum.ctl (10769, 2013-02-26)
2013-2-26表格中嵌入下拉列表等\TypeSens Popup-简化\Control\Popup.Grid.Cell Info.ctl (15929, 2013-02-26)
2013-2-26表格中嵌入下拉列表等\TypeSens Popup-简化\Control\Popup.Monitor Register Data.ctl (12356, 2013-02-26)
2013-2-26表格中嵌入下拉列表等\TypeSens Popup-简化\Control\Popup.Popup Call Parameters.ctl (14200, 2013-02-26)
2013-2-26表格中嵌入下拉列表等\TypeSens Popup-简化\Control\Popup.Popup Operation.ctl (10766, 2013-02-26)
2013-2-26表格中嵌入下拉列表等\TypeSens Popup-简化\Control\Popup.Popup Results.ctl (11224, 2013-02-26)
2013-2-26表格中嵌入下拉列表等\TypeSens Popup-简化\Popup.Close.vi (17107, 2013-02-26)
2013-2-26表格中嵌入下拉列表等\TypeSens Popup-简化\Popup.Demo Registration.vi (23727, 2013-02-26)
2013-2-26表格中嵌入下拉列表等\TypeSens Popup-简化\Popup.Demo.vi (31602, 2013-02-26)
... ...

Type Sensitive Popup V1.0.1 Copyright 2007, David Saunders All rights reserved. Author: David Saunders daudsaunders yahoo.com Distribution: This code was downloaded from the LAVA Code Repository: http://forums.lavag.org/downloads.html Description: Provides an intuitive interface for tabular controls containing multiple data types. Users can use various controls and datatypes. Users can also use provided functions for registering and looking up type parameters by control (as well as by column, row, or cell). When you click on a cell, a correctly positioned and sized popup appears allowing for a controlled and intuitive input. Appears like it is a built-in feature, not an annoying popup window. Features: - Supports tables, listboxes, multicolumn listboxes, trees, and string controls. - Implements many data types : string, integer, float, color, ring, boolean, captioned string, etc. - Can use multiple tabular controls in same program with no programming changes - Can pre-register controls with certain data types - Register the entire control, or columns, rows, and cells. - Can edit the registered data type by registering again at any time - Allows for different font sizes - Works even on modal windows Instructions: Run the Demo program to see example usage. To recreate -- 1. Drop 'TSPopup.Popup Cluster.ctl' anywhere on your front panel. 2. Create program logic, similar to the demo MANDATORY elements a. TSPopup.Initialize.vi (register for the user event in your event structure) b. TSPopup.Lookup.vi (returns positioning information, looks up any registered controls) c. TSPopup.Show Popup.vi (called in a Mouse Down? event case) d. an event case for the user event output from (a.) e. TSPopup.Close.vi (called at end of program) OPTIONAL elements f. TSPopup.Register.vi (register controls with popup type parameters) g. TSPopup.Update Cell String.vi (provided to show how to change the cell string after popup is completed) 3. Bring the Popup Cluster to the front on the front panel. Otherwise the popup will show up behind some of the other controls on your User Interface. Limitations: - Can't programmatically bring popup cluster to front. Must do this manually. Support: If you have any problems with this code or want to suggest features: http://forums.lavag.org/CR-Type-Sensitive-Popup-t8911.html Change Log: 1.0.0: Initial release of the code. 1.0.1: Added another demo using dynamically changing data types in a tree Removed LV version specific event handling (only dealt with LV 7.1) Fixed bug where headers defaulted to have same type as their column/row Fixed cluster scanning from text Fixed ring to default to index 0 if string unrecognized Changed the background event monitor to always be hidden License: This code is distrubuted under the BSD License Copyright 2007, J. David Saunders All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * Neither the name of J. David Saunders nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

近期下载者

相关文件


收藏者