Show TOC Start of Content Area

Procedure documentation Creating a Custom Container  Locate the document in its SAP Library structure

Use

A custom control is a container for a control, which makes resizing and compression of controls possible.

Note

For more information about control programming, see SAP Control Framework.

Procedure

...

       1.      Position the cursor where you want the top left-hand corner of the container to be.

       2.      Choose Edit Create element Custom control.

The system displays the maximum possible size for the container.

       3.      Position the cursor where you want the bottom right-hand corner of the container to be.

       4.      Choose Mark ctrl end.

The attribute dialog box for the custom control appears.

       5.      Enter the custom control attributes. For more information, see Custom Container Attributes.

       6.      Choose Copy.

The system displays the control container using the dimensions that you have specified in the dialog box.

       7.      You can use the following functions to edit the control you have already created:

Function

Use

Ctrl Attributes

Changes the attributes of the custom control

Mark Ctrl End

Changes the position of the bottom right-hand corner of the control

Deselect Ctrl

Deselects the control

Delete Ctrl

Deletes the control

Move Ctrl

Moves the control to a new position

See also

Creating a Control Using the SAP Picture as an Example

End of Content Area