OriginLab Corporation - Scientific Graphing and Data Analysis Software - 2D graphs, 3D graphs, Contour Plots, Statistical Charts, Data Exploration, Statistics, Curve Fitting, Signal Processing, and Peak Analysis

dlgChkList


Contents

Brief Information

Open a dialog with check boxes and return each check box's selected status when the dialog is closed.

Additional Information

Minimum Origin Version Required: 8.5 SR0

Command Line Usage

Dataset vnStat; dlgChkList inames:="Descriptive Statistics|Normality Test" osel:=vnStat;

Variables

Display
Name
Variable
Name
I/O
and
Type
Default
Value
Description
Check Names inames

Input

string

"Case 1|Case 2|Case 3"
Specify the check box names in the opened dialog, which are separated by '|'.
Dialog Title title

Input

string

Checkbox List
Set the title for the opened dialog.
Description desc

Input

string

Please select the needed cases
Set the description for the opened dialog, which is shown at the top of the dialog.
Choices ochks

Output

vector

<optional>
A vector indicating each check box's status.
  • 0: unchecked
  • 1: checked
Selected Indices osel

Output

vector

<optional>
A vector of selected check boxes' indices. The index is 1-offset.
Selected as a comma separated string olist

Output

string

<optional>
A string of selected check boxes' indices separated by commas. The index is 1-offset.

Description

This X-Function opens a dialog with check boxes whose names can be specified and returns each check box's selected status when the dialog is closed. It can be used to provide interactive options in Labtalk script.