cursrp()

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

Call  
#include <vv_form.h>
SRPTR cursrp(dfmp)

DFORMPTR dfmp

Pointer to a data form

Returns  
NULLP A scrollable region is not the current item
POINTER A pointer to the current scrollable region on the data form
Description

cursrp() returns a pointer to the current scrollable region on the specified data form. If a scrollable region is not the current item, a NULLP is returned.

Related Functions

curdfldp(), curitemnum(), curitemp(), curmemop(), curmfldp()

Cautions

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


Home Contents Previous Next