Share via


ReadyState property

Returns whether the MapPoint Control is ready. Read-only tagREADYSTATE.

tagREADYSTATE

Value

Description

READYSTATE_COMPLETE

4

Object has received all of its data

READYSTATE_INTERACTIVE

3

Object is interactive, but not all of its data is available

READYSTATE_LOADED

2

Object has been initialized

READYSTATE_LOADING

1

Object is currently loading its properties

READYSTATE_UNINITIALIZED

0

Default initialization state

Applies to

Objects: MappointControl

Syntax

object.ReadyState

Parameters

Part

Description

object

Required. An expression that returns a MappointControl object.

Example

  Sub Form_Load()
  On Error GoTo eh
    MappointControl1.OpenMap "nonexisting.ptm"
    'Control is loaded but ready state not yet complete
    MsgBox MappointControl1.ReadyState
  Exit Sub
  eh:
  Resume Next
  End Sub