curfldp()

Returns a pointer to the current data field, pushbutton, or memo field on a data form, to the current field in a scrollable region, or to the current menu field on a menu form

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

FORMPTR fmp

Pointer to a data form or menu form

Returns  
POINTER A pointer to the current data field, pushbutton, menu field, or memo field on a form or to the current field in a scrollable region.
Description

curfldp() returns a pointer to the current data field, pushbutton, menu field, or memo field on the specified form. If the current item is a scrollable region, curfldp() returns a pointer to the current field in that scrollable region.

Related Functions

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

Cautions

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

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


Home Contents Previous Next