hb_setListenerNotify()

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

<int>

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 );

Compliance

NA

Files

Library is core

Platforms

All

Seealso

hb_setListenerAdd()

Advertisements

3 responses to “hb_setListenerNotify()

  1. Pingback: Harbour All Functions – H | Viva Clipper !

  2. Pingback: Harbour C Level API Functions | Viva Clipper !

  3. Pingback: Harbour RG Summary | Viva Clipper !

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s