curdfldp()

Returns a pointer to the current data field on the data form or scrollable region

Call  
#include <vv_form.h>
DFIELDPTR curdfldp(dfmp)

DFORMPTR dfmp

Pointer to a data form

Returns  
POINTER A pointer to the current data field on the form or scrollable region
Description

curdfldp() returns a pointer to the current data field on the specified data form. If the current item is a scrollable region, curdfldp() returns a pointer to the current data field in that scrollable region.

Related Functions

curitemnum(), curitemp(), curmemop(), curmfldp(), cursrp()

Cautions

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

curdfldp() should only be called if the current item on the form is a data field or a scrollable region.

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


Home Contents Previous Next