curfmp()

Returns a pointer to the current form or menu

Call
#include <vv_form.h>
FORMPTR curfmp()
Returns
NULLP A stand alone window is being processed
POINTER A pointer to the current form or menu
Description

curfmp() checks the current widow pointer to see if it is a form or menu. If the current window is a choice list, and that choice list is attached to a field on the form the form that is the form that is returned. If you are currently processing a window, such as browsing a memory file, processing help, etc then a NULLP will be returned to indicate that a form is not being processed at this time.

Related Functions

curwnp()


Home Contents Previous Next