Click or drag to resize

CGUIiTwoPanelSelectionEx Method (IWin32Window, CLST, CLST, Int32, Int32, String)

Two-panel selection; options for sort and ability to select no items.

Namespace:  Geosoft.Desktop.GXNet
Assembly:  geosoft.desktop.gxnet (in geosoft.desktop.gxnet.dll) Version: 2024.2.0.25
Syntax
public static int iTwoPanelSelectionEx(
	IWin32Window owner,
	CLST ls_tf,
	CLST ls_ts,
	int sorted,
	int allow_no_select,
	string title
)

public static int iTwoPanelSelectionEx(
	IWin32Window owner,
	CLST ls_tf,
	CLST ls_ts,
	int sorted,
	int allow_no_select,
	string title
)

Parameters

owner
Type: System.Windows.FormsIWin32Window
The IWin32Window the message box will display in front of.
ls_tf
Type: GeoEngine.Core.GXNetCLST
All available items for selection.
ls_ts
Type: GeoEngine.Core.GXNetCLST
Selections (altered on output)
sorted
Type: SystemInt32
Sort items alphabetically (0:No, 1:Yes)
allow_no_select
Type: SystemInt32
Allow no items selected (0:No, 1:Yes)
title
Type: SystemString
Title for dialog

Return Value

Type: Int32
0 - Ok 1 - Cancel
Remarks
Same as iTwoPanelSelection_GUI, but the items in the two lists are not sorted alphabetically, but are ordered exactly as input, and when an item is selected it is added at the end of the lists.
See Also