Properties dialog: Difference between revisions
Appearance
Started Page |
Added More Classes |
||
Line 6: | Line 6: | ||
! ID | ! ID | ||
! Page Title | ! Page Title | ||
! Possible Objects | ! Possible Pages and Objects | ||
|- | |- | ||
| 0 | | 0 | ||
Line 14: | Line 14: | ||
* '''PropPage_BooleanAppearance.vi''': [[Boolean class|Boolean Control (8)]] | * '''PropPage_BooleanAppearance.vi''': [[Boolean class|Boolean Control (8)]] | ||
* '''PropPage_PathAppearance.vi''': [[Path class|Path Control (11)]] | * '''PropPage_PathAppearance.vi''': [[Path class|Path Control (11)]] | ||
* '''PropPage_TabularAppearance.vi''': [[ListBox class|ListBox Control (12)]] | * '''PropPage_TabularAppearance.vi''': [[ListBox class|ListBox Control (12)]], [[Table class|Table Control (13)]] | ||
* '''PropPage_ArrayAppearance.vi''': [[Array class|Array Control (14)]] | |||
|- | |- | ||
| 1 | | 1 | ||
Line 66: | Line 67: | ||
| 13 | | 13 | ||
| Size | | Size | ||
| | | '''PropPage_ArraySize.vi''': [[Array class|Array Control (14)]] | ||
|- | |- | ||
| 14 | | 14 | ||
| Documentation | | Documentation | ||
| '''PropPage_Documentation.vi''': [[Control class|Control (6)]], [[ColorBox class|ColorBox Control (7)]], [[Boolean class|Boolean Control (8)]], [[RefNum class|RefNum Control (9)]], [[LVVariant class|LVVariant Control (10)]], [[Path class|Path Control (11)]], [[ListBox class|ListBox Control (12)]] | | '''PropPage_Documentation.vi''': [[Control class|Control (6)]], [[ColorBox class|ColorBox Control (7)]], [[Boolean class|Boolean Control (8)]], [[RefNum class|RefNum Control (9)]], [[LVVariant class|LVVariant Control (10)]], [[Path class|Path Control (11)]], [[ListBox class|ListBox Control (12)]], [[Table class|Table Control (13)]], [[Array class|Array Control (14)]], [[Picture class|Picture Control(15)]] | ||
|- | |- | ||
| 15 | | 15 | ||
| Data Binding | | Data Binding | ||
| '''PropPage_FPB.vi''': [[Control class|Control (6)]], [[ColorBox class|ColorBox Control (7)]], [[Boolean class|Boolean Control (8)]], [[LVVariant class|LVVariant Control (10)]], [[Path class|Path Control (11)]], [[ListBox class|ListBox Control (12)]] | | '''PropPage_FPB.vi''': [[Control class|Control (6)]], [[ColorBox class|ColorBox Control (7)]], [[Boolean class|Boolean Control (8)]], [[LVVariant class|LVVariant Control (10)]], [[Path class|Path Control (11)]], [[ListBox class|ListBox Control (12)]], [[Table class|Table Control (13)]], [[Array class|Array Control (14)]] | ||
|- | |- | ||
| 16 | | 16 | ||
| Key Navigation | | Key Navigation | ||
| '''PropPage_KeyNav.vi''': [[Control class|Control (6)]], [[ColorBox class|ColorBox Control (7)]], [[Boolean class|Boolean Control (8)]], [[RefNum class|RefNum Control (9)]], [[LVVariant class|LVVariant Control (10)]], [[Path class|Path Control (11)]], [[ListBox class|ListBox Control (12)]] | | '''PropPage_KeyNav.vi''': [[Control class|Control (6)]], [[ColorBox class|ColorBox Control (7)]], [[Boolean class|Boolean Control (8)]], [[RefNum class|RefNum Control (9)]], [[LVVariant class|LVVariant Control (10)]], [[Path class|Path Control (11)]], [[ListBox class|ListBox Control (12)]], [[Table class|Table Control (13)]], [[Array class|Array Control (14)]], [[Picture class|Picture Control(15)]] | ||
|- | |- | ||
| 17 | | 17 | ||
| Security | | Security | ||
| '''PropPage_FPSecurity.vi''': [[Control class|Control (6)]], [[ColorBox class|ColorBox (7)]], [[Boolean class|Boolean (8)]], [[RefNum class|RefNum Control (9)]], [[LVVariant class|LVVariant Control (10)]], [[Path class|Path Control (11)]], [[ListBox class|ListBox Control (12)]] | | '''PropPage_FPSecurity.vi''': [[Control class|Control (6)]], [[ColorBox class|ColorBox (7)]], [[Boolean class|Boolean (8)]], [[RefNum class|RefNum Control (9)]], [[LVVariant class|LVVariant Control (10)]], [[Path class|Path Control (11)]], [[ListBox class|ListBox Control (12)]], [[Table class|Table Control (13)]], [[Array class|Array Control (14)]] | ||
|- | |- | ||
| 18 | | 18 |
Revision as of 02:22, 19 March 2024
The Properties dialog is accessed by right-clicking on any element on the Front Panel or Block Diagram and then selecting Properties. Depending on the type of the object different tabs are shown. Also, many tabs have two subpanels that contain different controls based on the data type.
ID | Page Title | Possible Pages and Objects |
---|---|---|
0 | Appearance |
|
1 | Data Type | |
2 | Data Entry | |
3 | Scale | |
4 | Display Format | |
5 | Common Styles | |
6 | Plots | |
7 | Scales | |
8 | Cursors | |
9 | Operation | PropPage_BooleanAct.vi: Boolean Control (8) |
10 | Filtering | |
11 | Text Labels | |
12 | Browse Options | PropPage_BrowseOption.vi: Path Control (11) |
13 | Size | PropPage_ArraySize.vi: Array Control (14) |
14 | Documentation | PropPage_Documentation.vi: Control (6), ColorBox Control (7), Boolean Control (8), RefNum Control (9), LVVariant Control (10), Path Control (11), ListBox Control (12), Table Control (13), Array Control (14), Picture Control(15) |
15 | Data Binding | PropPage_FPB.vi: Control (6), ColorBox Control (7), Boolean Control (8), LVVariant Control (10), Path Control (11), ListBox Control (12), Table Control (13), Array Control (14) |
16 | Key Navigation | PropPage_KeyNav.vi: Control (6), ColorBox Control (7), Boolean Control (8), RefNum Control (9), LVVariant Control (10), Path Control (11), ListBox Control (12), Table Control (13), Array Control (14), Picture Control(15) |
17 | Security | PropPage_FPSecurity.vi: Control (6), ColorBox (7), Boolean (8), RefNum Control (9), LVVariant Control (10), Path Control (11), ListBox Control (12), Table Control (13), Array Control (14) |
18 | Output Configuration | |
19 | Fixed-Point Word Length Reduction | |
20 | XNode Property Page 1 | |
21 | XNode Property Page 2 | |
22 | XNode Property Page 3 | |
23 | XNode Property Page 4 | |
24 | XNode Property Page 5 | |
25 | XNode Property Page 6 | |
26 | XNode Property Page 7 | |
27 | XNode Property Page 8 | |
28 | XNode Property Page 9 | |
29 | XNode Property Page 10 | |
30 | Configuration | |
31 | Background |
Custom Property Pages
The tabs are pre-set and the names on them cannot be changed. However, a tab that is shown can be overridden or a tab that wouldn't normally be shown can be overridden and made to be shown. To do this follow these steps:
- Create your VI and save it at: [LabVIEW 20xx]\resource\PropertyPages\Pages\PropPage_[your unique name].vi
- Ensure the VI has the standard 4x2x2x4 connector pane.
- Create a boolean indicator called OKtoQuit and connect it to [2] (or the second one down on the right, a.k.a. outputs).
- Create a string control called QueueName. It is not connected to the connector pane but is used for a Named Queue
- Create an array of Generic Refnum controls called Main Ref Array In. It also is not connected to the connector pane and is the array of references to the selected objects. Only tabs that are defined for all of the selected objects are shown.
- Goto [LabVIEW 20xx]\resource\PropertyPages and find the text file or files for the VI Server Classes you want your page to show up for. The files are named for the VI Server Class ID (for example 6 = Control, 27 = String, etc.).
- In the File, a line exists for each page that will appear for that class. The number is the page from the table above and the VI is the VI to appear in that page's subpanel.