Entering content frameBackground documentation Load (Method) Locate the document in its SAP Library structure

Definition

Loads structure information to SAPforms objects.

Remarks

Classification 1

Load

ß SAPData Class

ß SAPforms Data Plug-In for Workflow

ß SAPData Class

ß SAPform Data Plug-In for Demo

Properties

Loads the property values of an SAPData object from a structured string. As a result, the status of the SAPData object that was previously saved permanently with the Save method is restored.

This saves the additional overheads that would result if the structure information had to be loaded each time from the original source. This method is usually called within the Load method of the SAPForm class.

Parameter

Description

From

Character string containing the structure information

Classification 2

Load

ß Field Class

ß SAPforms Data Plug-In for Workflow

Properties

Loads the property values of a field object from a structured string. As a result, the status of the field object that was previously saved permanently with the Save method is restored.

For this method to be called successfully, the next character at the Pos position must be keyword "Fld".

Parameter

Description

From

Structured string

Pos

Current position within the string. Should point to the number of remaining properties to read.

Classification 3

Load

ß Fields Class

ß SAPforms Data Plug-In for Workflow

Properties

Loads the property values of a fields object from a structured string. As a result, the status of the fields object that was previously saved permanently with the Save method is restored.

Parameter

Description

From

Character string that provides the structure information.

Pos

Current search position within the character string

Classification 4

Load

ß Link Class

ß SAPforms Form Plug-In for Microsoft Visual Basic

ß SAPforms Form Plug-In for Microsoft Outlook

Properties

This method reconstructs an object of the Link class from the serialized representation.

It assumes that the next token is located at the Pos position in the serialized representation of the "Fld" keyword.

Parameter

Description

From

Serialization string.

Pos

Current position within the character string.

Classification 5

Load

ß SAPform Class

ß SAPforms Form Plug-In for Visual Basic

ß SAPform Class

ß SAPforms Form Plug-In for MS Outlook

Properties

Method for loading form control elements from a form or form template to the Controls list.

Note that the form information is not stored in the Tag property of this object, but reconstructed each time the form is loaded. This method is called at design time and at runtime. It has to fill the Controls collection for both cases. At runtime, the method is called by the user code in the form's Load method. When the form is designed, the method is called by the SAPforms Designer or from outside SAPforms. If you are using the SAPforms Designer as a stand-alone application, the Load method is called with Mode=2. This instructs the Load method to load the form from a file. If you are using the SAPforms Designer as a plug-in, the Load method is invoked from the hosting environment and receives the proprietary form description as a parameter. The filled SAPform object should be passed to the SAPforms Designer by the PlugIn method of the Designer class.

Parameter

Description

Frm

Form or form template containing controls.

Mode

0=design time (add-in), 1=design time (file), 2=runtime.

Classification 6

Load

ß SAPXmit Class

ß SAPforms Data Plug-In for Demo

ß SAPXmit Class

ß SAPforms Form Plug-In for Microsoft Outlook

ß SAPXmit Class

ß SAPforms Transmit Plug-In for RFC

ß SAPXmit Class

ß SAPforms Transmit Plug-In for SAPMAPI

ß SAPXmit Class

ß SAPforms Transmit Plug-In for Demo

Properties

Loads the property values of an SAPXmit object from a structured string. As a result, the status of the SAPXmit object that was previously saved permanently with the Save method is restored.

Parameter

Description

From

Character string containing the structure information

 

 

Leaving content frame