READ_PROPERTY

#define READ_PROPERTY () ...

Returns if the property implementation function is called :

Example :

  /* This is the implementation of the Visible property of a control */

  BEGIN_PROPERTY(CWIDGET_visible)

    if (READ_PROPERTY)
      GB.ReturnBoolean(!QWIDGET(_object)->isHidden());
    else
    {
      if (VPROP(GB_BOOLEAN))
        QWIDGET(_object)->show();
      else
        QWIDGET(_object)->hide();
    }

  END_PROPERTY