GetCheckBox Method

<< >>

Navigation:  Programming with Amos > Class Reference > Amos Graphics Class Reference > Pd Class Members > Methods >

GetCheckBox Method

Gets a CheckBox control in an Amos Graphics window.

Syntax

result = Pd.GetCheckBox (formName, controlName)

The GetCheckBox method syntax has the following parts:

Part

Description

result

An object of type System.Windows.Forms.CheckBox.

formName

(String) The name of an Amos Graphics form.

controlName

(String) The name of a CheckBox on an Amos Graphics form.

To obtain formName and controlName values for a CheckBox, hold the mouse pointer over the CheckBox and press F1.