curitemp()

Returns a pointer to the current item on the form

Call  
#include <vv_form.h>
PTR curitemp(fmp)

FORMPTR fmp

Pointer to a data form or menu form

Returns  
POINTER A pointer to the current item on the form
Description

curitemp() returns a pointer to the current item on the specified data or menu form.

Related Functions

curdfldp(), curitemnum(), curmemop(), curmfldp(), cursrp()

Cautions

curitemp() should only be called for a form that (1) is already displayed, (2) is a Designer form, or (3) for which fm_ready() or mn_ready() has already been called.

curitemp() returns a generic pointer. You must cast this pointer to the appropriate type (DFIELDPTR, SRPTR, MEMOPTR, or MFIELDPTR).

curitemp() is a macro and does no error checking. Macros are not listed by the VCS error reporting system


Home Contents Previous Next