Class Page (Access VBA)

A Page object corresponds to an individual page on a tab control.

Methods

Move - Moves the specified object to the coordinates specified by the argument values.

Requery - The Requery method updates the data underlying a specified control that's on the active form by requerying the source of data for the control.

SetFocus - The SetFocus method moves the focus to the specified form, the specified control on the active form, or the specified field on the active datasheet.

SetTabOrder - Resets the tab order of the controls in the specified Page to their default values.

SizeToFit - You can use the SizeToFit method to size a control so that it fits the text or image that it contains.

Properties

Caption gets or sets the text that appears at the top of the page.

Controls returns the Controls collection of a form, subform, report, or section.

ControlTipText you can use the ControlTipText property to specify the text that appears in a ScreenTip when you hold the mouse pointer over a control.

ControlType you can use the ControlType property in Visual Basic to determine the type of control on a form or report.

Enabled you can use the Enabled property to set or return the status of the conditional format in the FormatCondition object.

EventProcPrefix gets or sets the prefix portion of an event procedure name.

Height gets or sets the height of the specified object in twips.

HelpContextId the HelpContextID property specifies the context ID of a topic in the custom Help file specified by the HelpFile property setting.

InSelection you can use the InSelection property to determine or specify whether a control on a form in Design view is selected.

IsVisible you can use the IsVisible property to determine whether a control on a report is visible.

Left you can use the Left property to specify an object's location on a form or report.

Name you can use the Name property to specify or determine the string expression that identifies the name of an object.

OnClick sets or returns the value of the On Click box in the Properties window.

OnDblClick sets or returns the value of the On Dbl Click box in the Properties window.

OnMouseDown sets or returns the value of the On Mouse Down box in the Properties window.

OnMouseMove sets or returns the value of the On Mouse Move box in the Properties window.

OnMouseUp sets or returns the value of the On Mouse Up box in the Properties window.

PageIndex you can use the PageIndex property to specify or determine the position of a Page object within a Pages collection. The PageIndex property specifies the order in which the pages on a tab control appear.

Picture you can use the Picture property to specify a bitmap or other type of graphic to be displayed on the specified control.

PictureData you can use the PictureData property to copy the picture to another object that supports the Picture property.

PictureType you can use the PictureType property to specify whether Microsoft Access stores an object's picture as a linked or an embedded object.

Properties returns a reference to a control's Properties collection object.

Section you can identify these controls by the section of a form or report where the control appears.

ShortcutMenuBar you can use the ShortcutMenuBar property to specify the shortcut menu that appears when you right-click the specified object.

StatusBarText you can use the StatusBarText property to specify the text that is displayed in the status bar when a control is selected.

Tag stores extra information about a form, report, section, or control needed by a Microsoft Access application.

Top you can use the Top property to specify an object's location on a form or report.

Visible returns or sets whether the object is visible.

Width gets or sets the width of the specified object in twips.

Properties - The Properties collection contains all the built-in properties in an instance of an open form, report, or control. These properties uniquely characterize that instance of the object.