Returns a reference to the pages of the form.
Read-only property
Set variable = object.Pages |
The Pages property is the default property for the Form object. Therefore, the following two lines of code will yield the same result:
Set objPage = Map.Layers("MyLayer.shp").Forms("frmMyForm").Pages("pgPage1")
Set objPage = Map.Layers("MyLayer.shp").Forms("frmMyForm")("pgPage1")
Set objPage = Map.Layers("MyLayer.shp").Forms("frmMyForm").Pages("pgPage1")
Set objPage = Map.Layers("MyLayer.shp").Forms("frmMyForm")("pgPage1")