Form_SingleRecord 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:

 

Caption = “Form_SingleRecord”

 

Closable = .F.

 

Name = “form_singlerecord”

 

Custom Properties:

 

cToolbar = “”

Prevents the toolbar from being displayed.

lAllowDelete = .F.

Prevents the deletion of a record that may occur in certain circumstances.

lAllowNew = .F.

Prevents the addition of a record that may occur in certain circumstances.

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:

None

Custom Methods:

 

cmdOK.Click

Saves changes made to the current record.

Closes the form.

cmdCancel.Click

Cancels changes made to the current record.

Closes the form.

More:

Form_Toolbar_OneToMany Class Properties and Methods