PageFrame_ Class Properties and Methods

Properties

The following table lists the class properties. The properties listed include the standard Visual FoxPro class properties that the VPM Enterprise class uses and the VPM Enterprise custom properties. Where appropriate, the Comments column of the table describes a property and provides suggestions for its use.

Property & Initial Value

Comments

Standard Properties Used:

 

Height = 219

 

Name = “pageframe_”

 

Width = 436

 

Custom Properties:

 

cRightClick_Menu = “”

The name of the right-click shortcut menu to be run.

i_cUse_ID = “”

A two-character ID used by the multilingual functionality to provide for the unique translation of a control’s properties.

i_lOverrideDragIcon = .F.

Used by the multilingual functionality to bypass the translation of the DragIcon property value.

lMoveFocus = .T.

If .T., the page’s Activate method runs the MoveFocus method which moves the focus from the page tab to the first control on the page.

nActivePage = 0

Used to determine what action to take when a page tab is clicked.

Methods

The following table lists the class methods. The methods listed include the standard Visual FoxPro class methods that the VPM Enterprise class uses and the VPM Enterprise custom methods. Where appropriate, the Comments column of the table describes a method and provides suggestions for its use.

Method

Comments

Standard Methods Used:

 

Click

When a page is activated (clicked) and the lMoveFocus property is set to .T., runs the MoveFocus method to move the focus from the “tab” of the page to the first control on the page.

RightClick

Runs the menu specified in the cRightClick_Menu property.

Custom Methods:

 

MoveFocus

Run when a page is activated, moves the focus from the “tab” of the page to the first control on the page.

PageObjectReference

Returns the object reference of the page whose PageOrder property matches the number passed to the method. This method is used by the Related Pages class to allow for reordered pages. This is necessary because when pages are reordered, the rows in a pageframe’s Pages array are not reordered.

More:

Shape_ Class Properties and Methods