company logo

Line :: selected - Checked property

The property returns, whether a list item in a table or tree control with a check box in the first column or with multiple selection is selected/checked (true) or not (false).

Return value:  State of function return ( bool  )

A State true indicates, that the function was executed successfully. Otherwise state is false.

Implementation overview

Implementation details

  1. Get checked state
    bool Line  :: selected (  )

    The function returns true, when the attached line is checked and false, otherwise. When no line is attached, the function throws an exception..

  2. to list
  3. Change checked state
    bool Line  :: selected ( bool bState )

    The function changes the checked state for the attached line to the value passed in bState. When no line is attached, the function throws an exception..

    • bState - State of function return

      A State true indicates, that the function was executed successfully. Otherwise state is false.

  4. to list