et_delfp()

Clears all entries in an event table that call the given event function

Call
#include <vv_sys.h>
int et_delfp(event_fp, etp)

EVENTFP event_fp

Pointer to the event function to remove

ETPTR etp Pointer to the event table to modify
Description of Parameters

etp:Specify a pointer to an event table. The Vermont Views event tables are as follows:

CLETP Choice list event table
FLDETP Field event table
FMETP Form event table
DRAGETP Draw and drag event table
HELPETP Help event table
MEMOETP Memo event table
MNETP Menu event table
PUSHETP Pushbutton event table
RADIOETP Radio button event table
SRETP Scrollable region event table
SYSETP System event table
TTMEMOETP Tickertape memo event table
VIEWETP Viewing event table
LBOXETP List box event table
Returns  
>= 0 The number of entries cleared in the event table
Description

If either the event function pointer or event table pointer passed in the call is a NULLP, et_delfp() immediately returns 0. Otherwise, et_delfp() searches the event table for the function specified in the call. Each entry in the event table that includes this function is cleared. Both the event code and event function are cleared from the entry.

Related Functions

et_def(), et_free(), et_getfp(), et_rplevnt()


Home Contents Previous Next