Further Notes

Compressing Screens Containing Tabs

Compressing screens does not change the size of the tab control itself, since the compression relates to the contents of a page (subscreen). If you are using local scrolling at the SAPgui within a tab, and a page is compressed so that there are no more elements visible, the system deletes the tab title. If a tab control contains no more tab titles, the control itself is deleted.

Resizing a tab or a tab page

Tab

You can only resize a tab within the range of its specified maximum and minimum size. The maximum size is specified in the Screen Painter. The minimum size is determined in the Screen Painter by the smallest minimum size for any of the tab pages, whereby you must also ensure that the data can be displayed properly. The size of the tab at any given time always lies between the maximum and minimum size and is calculated in relation to the window size. The size of the tab pages can be determined from the size of the tab itself.

Tab Page

The individual pages within a tab can be of different sizes. You can resize them within the range of their specified maximum and minimum size. The maximum size is derived from the definition of the element in the Screen Painter, where you must ensure that the page fits within the tab itself. You specify the minimum size in the Screen Painter. This should be large enough to ensuzre that the elements within the subscreen can still be displayed properly. The size of the page at any given time is determined by the size of the tab itself.

Dynamic Modifications