Returns a value that indicates how the form is being used.
Read-only property
variable = object.Mode |
|
Integer
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 |