hb_setListenerNotify()

Syntax

C Prototype

#include <hbset.h>
hb_setListenerNotify( HB_set_enum set, HB_set_listener_enum
when ) --> int

Arguments

<set> The number of the SET parameter that is to be or was changed. <when> Set to HB_SET_LISTENER_BEFORE when called before the SET parameter is to be changed and set to HB_SET_LISTENER_AFTER when called after the SET parameter has been changed.

Returns


Description

This function notifies all SET listener callback functions. It must be called any time you change the value of a SET parameter directly instead of using the Harbour SET function. Both before and after the change.
Examples
      hb_setListenerNotify( HB_SET_DECIMALS, HB_SET_LISTENER_BEFORE );
      hb_set.HB_SET_DECIMALS = 3;
      hb_setListenerNotify( HB_SET_DECIMALS, HB_SET_LISTENER_AFTER );
Status

Ready

Compliance

Compliance is not applicable to API calls.

Files

Library is rtl

Platforms

All

See Also