CONTEXT Property


10.5, PLBCMP GUI Only

 

The CONTEXT property sets the BootStrap 5 context style used when a DATATABLE is bound to a HTMLCONTROL or for a WebView BUTTON object The property uses the following format:

 

CONTEXT={value}

Note the following:

  1. The CONTEXT property may be used in GETPROP or SETPROP statements of an element of DATATABLE Rows or Columns collections or a BUTTON object.

  2. See the following link for more information for context presentations:

  3.  

    https://getbootstrap.com/docs/5.0/components/list-group/#contextual-classes

     

  4. This DATATABLE property only takes affect when bound to a HTMLCONTROL

  5. The {value} is a decimal number, a Numeric Variable, an Expression, or a keyword as defined in PLBEQU.INC. The supported values and keywords are:

  6.  

    Value

    Keyword

    0

    $OC_DEFAULT

    1

    $OC_DANGER

    2

    $OC_DARK

    3

    $OC_INFO

    4

    $OC_LIGHT

    5

    $OC_PRIMARY

    6

    $OC_SECONDARY

    7

    $OC_SUCCESS

    8

    $OC_WARNING

     

  7. This link provides additional information regarding Bootstrap 5 Contextual Classes:

  8.  

    https://getbootstrap.com/docs/5.0/components/buttons/

 

 

See Also: Object Properties, Object IO Instructions, Object Definitions

 



PL/B Language Reference CONTENTTYPE Property (DATATABLE) ContextMenuStrip Property