ArcPad Scripting Object Model
Mode Property
See Also  Send comments on this topic.
Form Object : Mode Property

Glossary Item Box

Description

Returns a value that indicates how the form is being used.

Property type

Read-only property

Syntax

variable = object.Mode

Return Type

Integer

Remarks

The Mode property allows event handlers to perform different initialization based on how the form is used. The possible return values are:

Form Usage Mode
Not currently open -1
General unbound form (not attached to a layer) 0
Being used for Identify 1
Editing an existing feature 2
Creating a new feature 3
In the Find dialog (Query Form) 4

See Also

© 2013 All Rights Reserved.