company logo

ControlContext :: baseProperty - Get base property handle

The base property handle is the base collection defined as such in the data source of a fieldor, when no base collection has been defined for the field data source, the base collection resulting from the data model definition for the property handle of the control.

The function throws an exception, when the control context is not valid or no base collection is defined at all. To avoid an exception, when no base collection is available use hasBaseProperty().

Return value:  Propery handle ( odaba::Property & )

Implementation overview

Implementation details

  1. Get current base property handle
    odaba::Property & ControlContext  :: baseProperty (  )

    The function returns the base property handle currently set for the control.

  2. to list
  3. Change base property handle
    odaba::Property & ControlContext  :: baseProperty ( odaba::Property &cProperty )

    The function changes the base property handle for the control to the property handle passed in cProperty.

    • cProperty - Property handle reference
  4. to list