GetStyle Method (TABCONTROL)


PLBCMP GUI Only, 9.4C

 

The GetStyle method retrieves the current style bit mask for a TABCONTROL object. The method uses the following format:

 

[label]

{object}.GetStyle

[GIVING {style}

 

Where:

label

Optional. A Program Execution Label.

object

Required. A TABCONTROL object that is accessed.

style

Optional. A Numeric Variable into which the current style bit mask value is stored.

Flags Affected: EOS, OVER, ZERO

Note the following:

  1. If the value returned is zero, the ZERO Condition Flag is set.

  2. The OVER Condition Flag is set if the {return} value is too large to be stored without truncation.

  3. The EOS Condition Flag are always cleared.

  4. The bit mask value that is stored in the {style} variable will contain the following bit values. Other bit values can be ignored.

  5.  

    Value

    Style

    0x8

    $TCS_FLATBUTTONS

    0x10

    $TCS_FORCEICONLEFT

    0x20

    $TCS_FORCELABELLEFT

    0x40

    $TCS_HOTTRACK

    0x100

    $TCS_BUTTONS

    0x200

    $TCS_MULTILINE

    0x400

    $TCS_FIXEDWIDTH

    0x800

    $TCS_RAGGEDRIGHT

     

  6. This method is not available when using the PL/B Web Server.

 

 

See Also: Method Syntax, TABCONTROL Methods

 



PL/B Language Reference DeleteTab Method (TABCONTROL) GetTabCount Method (TABCONTROL)