Jump to content

MixedCheckbox class: Difference between revisions

From LabVIEW Wiki
mNo edit summary
m Removed VI Server Category from page
 
(One intermediate revision by the same user not shown)
Line 7: Line 7:
{{TOCright}}
{{TOCright}}


==Properties==
<!--Edit Properties, Methods, or Events in the appropriate table in one on the VI Server Templates-->
<span class="mw-customtoggle-propertiestable">Show/Hide MixedCheckbox Properties Table</span>
{{VIServerClassTables|127}}
<div class="mw-collapsible" id="mw-customcollapsible-propertiestable">
{{VIServerLegend|showrw=TRUE|showrte=TRUE}}
{| class="wikitable sortable"
|+ MixedCheckbox Properties Table
! Property ID
! Short Name (English)
! Description
! R/W
! RTE
|- style="background-color:#FFFFCC;"
|33AFA001
| [[MixedCheckbox class/AllowMixed property|AllowMixed]]
|If TRUE, the value of the mixed checkbox changes from TRUE to MIXED during run time by clicking on the checkbox.
|R/W
|X
|- style="background-color:#FFFFCC;"
|33AFA002
| [[MixedCheckbox class/BtnSize property|BtnSize]]
|Returns the width and height of the checkbox in pixels.
|R
|X
|- style="background-color:#FFFFCC;"
|33AFA004
| [[MixedCheckbox class/Height property|Height]]
|Height of the checkbox in pixels.
 
This property is an element of the Button Size property.
|R
|X
|- style="background-color:#FFFFCC;"
|33AFA003
| [[MixedCheckbox class/Width property|Width]]
|Width of the checkbox in pixels.
 
This property is an element of the Button Size property.
|R
|X
|- style="background-color:#FFFFCC;"
|33AFA000
| [[MixedCheckbox class/Strings () property|Strings ()]]
|Array of 1 string or 6 strings. Strings include text for FALSE, TRUE, MIXED, FALSE pressed, TRUE pressed, and MIXED pressed.
 
If the mixed checkbox contains multiple strings, it always reads and writes six strings. If the mixed checkbox does not contain multiple strings, it always reads and writes one string.
 
This property is similar to the <b>Multiple strings</b> option on the Appearance page of the <b>Mixed Checkbox Properties</b> dialog box.
 
{| class="wikitable"
|+ scope="col" style="text-align:left;"|Elements:
! scope="col" style="text-align:left;"| Name
! scope="col" style="text-align:left;"| Description
|- style="vertical-align:top;"
! scope="row" style="text-align:left;"|0
|Displays when the value is FALSE.
|- style="vertical-align:top;"
! scope="row" style="text-align:left;"|1
|Displays when the value is TRUE.
|- style="vertical-align:top;"
! scope="row" style="text-align:left;"|2
|Displays when the value is MIXED.
|- style="vertical-align:top;"
! scope="row" style="text-align:left;"|3
|Displays when the value is FALSE and the checkbox is pressed.
|- style="vertical-align:top;"
! scope="row" style="text-align:left;"|4
|Displays when the value is TRUE and the checkbox is pressed.
|- style="vertical-align:top;"
! scope="row" style="text-align:left;"|5
|Displays when the value is MIXED and the checkbox is pressed.
|}
|R/W
|X
|- style="background-color:#FFFFCC;"
|33AFA005
| [[MixedCheckbox class/Text property|Text]]
|Returns a reference to the text object of the mixed checkbox. Use this reference to change the text color, font, size, and so on, of the text object.
 
You can use this reference with the Text properties.
|R
|X
|- style="background-color:#FFFFCC;"
|33AFA006
| [[MixedCheckbox class/ToggleKeyBind property|ToggleKeyBind]]
|Sets a shortcut key to toggle this control.
 
This property is similar to the <b>Toggle</b> option on the Key Navigation page of the <b>Mixed Checkbox Properties</b> dialog box.
 
{| class="wikitable"
|+ scope="col" style="text-align:left;"|Elements:
! scope="col" style="text-align:left;"| Name
! scope="col" style="text-align:left;"| Description
|- style="vertical-align:top;"
! scope="row" style="text-align:left;"|Control
|If TRUE, the keyboard shortcut includes the  key.
|- style="vertical-align:top;"
! scope="row" style="text-align:left;"|Shift
|If TRUE, the keyboard shortcut includes the  key.
|- style="vertical-align:top;"
! scope="row" style="text-align:left;"|Key
|The name of the shortcut key. (Mac OS X) LabVIEW does not support <VolumeUp>, <VolumeDown>,  and function keys<F15> to <F24> as shortcut keys on Mac OS X. Key must match one of the following values:
<div style="column-count:3;-moz-column-count:3;-webkit-column-count:3">
*<Clear>
*<nowiki><Ins></nowiki>
*<nowiki><Del></nowiki>
*<Home>
*<End>
*<PageUp>
*<PageDown>
*<Escape>
*<Enter>
:<b>Note</b> The <Enter> key on the alphanumeric keyboard and <Enter> key on the numeric keypad are the same value.
*<Play>
*<VolumeUp>
*<VolumeDown>
*<Mute>
*F1
*F2
*F3
*F4
*F5
*F6
*F7
*F8
*F9
*F10
*F11
*F12
*F13
*F14
*F15
*F16
*F17
*F18
*F19
*F20
*F21
*F22
*F23
*F24
:<b>Note</b>  You must use the English Key name when wiring a shortcut key value.
</div>
|}
|R/W
|X
|}
</div>
 
==Methods==
''No Methods for this class.''
 
==Events==
''No Events for this class.''


== History ==
== History ==
Line 175: Line 24:
*[[VI Server]]
*[[VI Server]]


[[Category:VI Server]]
 
[[Category:VI Server Class]]
[[Category:VI Server Class]]

Latest revision as of 02:03, 8 May 2020

VI Server Class Information
Return to VI Server Class Hierarchy
Class Name MixedCheckbox class
Class ID 127
Scope Basic Development Environment
Class Inheritance
Class Children

This class has no children.


The MixedCheckbox class is a class in the VI Server Class Hierarchy, (see also VI Server).

Properties

Show/Hide MixedCheckbox Properties Table

Legend
R/WReadable/Writable Permissions
RTEAvailable in the Run-Time Engine
Basic Development Environment
VI Scripting
Private
Deprecated
MixedCheckbox Properties Table
Property ID Long Name (English) Description R/W RTE
33AFA000Strings []Array of 1 string or 6 strings. Strings include text for FALSE, TRUE, MIXED, FALSE pressed, TRUE pressed, and MIXED pressed.Read/WriteYes
33AFA001Allow MixedIf TRUE, the value of the mixed checkbox changes from TRUE to MIXED during run time by clicking on the checkbox.Read/WriteYes
33AFA002Button SizeReturns the width and height of the checkbox in pixels.Read OnlyYes
33AFA003Button Size:WidthWidth of the checkbox in pixels.Read OnlyYes
33AFA004Button Size:HeightHeight of the checkbox in pixels.Read OnlyYes
33AFA005TextReturns a reference to the text object of the mixed checkbox. Use this reference to change the text color, font, size, and so on, of the text object.Read OnlyYes
33AFA006Toggle Key BindingSets a shortcut key to toggle this control.Read/WriteYes

Methods

This class has no methods or it inherits methods from its parent: Control Class.

Events

This class has no events or it inherits events from its parent: Control Class.


History

Version Change(s)
LabVIEW 2018 More info to come.

See Also