Entering content frameBackground documentation SAPForm Class (Microsoft Visual Basic) Locate the document in its SAP Library structure

Definition

Original class of this plug-in.

Remarks

This class implements the SAPform interface for Microsoft Visual Basic forms, making these forms available to the SAPforms Designer and other components of SAPForms. The Label, TextBox,ComboBox, OptionButton, CheckBox, ListBox, SAPTableView, Grid and MSFlexGrid controls are supported. Control arrays are also supported.

The classes of the SAPForm plug-in type implement the SAPforms interface that provides the SAPforms Designer and other SAPforms components with generic access to the properties and controls of a certain form type (Microsoft Visual Basic, Microsoft Outlook). In other words, these classes can be regarded as being synonymous with various plug-ins of this type.

The SAPForm object is used as an anchor to all other SAPforms objects. The SAPData property, for example, contains a reference to the SAPData object used in the form, while the SAPXmit property references the SAPXmit object used.

If you want to develop your own SAPform-type plug-ins, you should use the source code supplied for this plug-in as a reference (template). The template is stored in the directory ...\sapforms\sapfvb4.

Example

Option Explicit
   Dim objSAPForm As Object

Private Sub Form_Load()
   Set objSAPForm = New SAPForm
   Set objSAPForm.SAPData = New SAPData
   Set objSAPForm.SAPXmit = New SAPXmit
End Sub

Classification

SAPforms Form Plug-In for Microsoft Visual Basic

à SAPForm Class

à Execute (Method)

à GetData (Method)

à Load (Method)

à LogIt (Method)

à Options (Method)

à PutData (Method)

à SAPData (Property)

à SAPXmit (Property)

à Save (Method)

à Start (Method)

à Submit (Method)

Leaving content frame