@@41 Panel tabs

When you create panel tabs, every tab is also a separate panel in and of itself. The panels are defined by the @@41 function, while the content of each tab is defined by using the @@24 function.

Syntax

--@@41-;-Field Number-;-Group Number-;--

---Color Code-;-Help Number-;----------------------;--

                          +-Delta X Position-+

-----------------------;-Attribute-;-Height-;

  +-Delta y Position-+

Example

This example is extracted from the Order component:

#30;1;-1;-2;-3;01;00;79;

...

@@41;TABC;0;7;?0;;;SHF;188;

@@24;\Standard;0;7;?0;;;ED;S30;   (Note 1)

@@24;\Mere;0;7;?0;;;E;S31;

$TABC&                            (Note 2)

$\Standard$\Mere&

...

#31;1;-1;-2;-3;01;00;79;

...

@@41;TABC;0;7;?0;;;SHF;188;

@@24;\Standard;0;7;?0;;;E;S30;

@@24;\Mere;0;7;?0;;;ED;S31;

$TABC&

$\Standard$\Mere&

...
Note: In the example above, ED is displayed in the first line, and E in the second. An E identifies a tab. D on the other hand, means that the tab being referenced is the default tab, which is the first tab to be displayed when the screen is opened.
In screen panel #30, the standard tab is displayed first. In screen panel #31, the supporting tab is first to be displayed. In line @@24;\Standard&, the last panel is called 30 (S30) and in line @@24;More&, the panel is called S31. Even though they appear to be the same, they are in fact two different panels. Therefore, you must define TAB C, by using both \Standard and \More and to include in your definition any of the other controls relevant to each tab definition.
Note: TAB C must be referred to as \Standard and \More, otherwise the tab is not correctly defined.

You can also make tabs that use icons instead of words for tab labels. The following is an example of how you do this using the component machines.

#21;1;-1;-2;-3;01;00;79;

...

@@41;TABC;0;7;?0;;;SHF;197;

@@24;\Standard;0;7;?0;"Standard";;;EiD;.ICO=16;C;S21;

@@24;\Mere;0;7;?0;"Mere";;;Ei;.ICO=56;C;S27;

@@24;O\pstillingstid;0;7;?0;"Opstillingstid";;;Ei;.ICO=70;C;S25;

$TABC&

$\Standard$\Mere$O\pstillingstid&

...

#25;1;-1;-2;-3;01;00;79;

...

@@41;TABC;0;7;?0;;;SHF;197;

@@24;\Standard;0;7;?0;"Standard";;;Ei;.ICO=16;C;S21;

@@24;\Mere;0;7;?0;"Mere";;;Ei;.ICO=56;C;S27;

@@24;O\pstillingstid;0;7;?0;"Opstillingstid";;;EiD;.ICO=70;C;S25;

$TABC&

$\Standard$\Mere$O\pstillingstid&

...

#27;1;-1;-2;-3;01;00;79;

...

@@41;TABC;0;7;?0;;;SHF;197;

@@24;\Standard;0;7;?0;"Standard";;;Ei;.ICO=16;C;S21;

@@24;\Mere;0;7;?0;"Mere";;;EiD;.ICO=56;C;S27;

@@24;O\pstillingstid;0;7;?0;"Opstillingstid";;;Ei;.ICO=70;C;S25;

$TABC&

$\Standard$\Mere$O\pstillingstid&

...