Form Items (Accessing)

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

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

DFIELDPTR curdfldp (DFORMPTR dfmp)

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

int curitemnum (FORMPTR fmp)

Returns the number of the current item on the form

PTR curitemp (FORMPTR fmp)

Returns a pointer to the current item on the form

MEMOPTR curmemop (DFORMPTR dfmp)

Returns a pointer to the current memo field on a data form

MFIELDPTR curmfldp (FORMPTR fmp)

Returns a pointer to the current menu field or pushbutton on a form

SRPTR cursrp (DFORMPTR dfmp)

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

WINDOWPTR curwnp (void)

Returns a pointer to the current window

int i_maxnum (FORMPTR fmp)

Returns the number of the last item on the form

int i_namnum (UCHAR *name_stp, FORMPTR fmp)

Returns the number of the item with the specified name

PTR i_namptr (UCHAR *name_stp, FORMPTR fmp)

Returns a pointer to the item with the specified name

void i_namset (UCHAR *name_stp, PTR itemp)

Assigns a name to the specified item

UCHAR * i_numnam (int item_num, FORMPTR fmp)

Returns the name of the item with the specified number

PTR i_numptr; (int item_num, FORMPTR fmp)

Returns a pointer to the item structure with the specified item number

UCHAR * i_ptrnam (PTR itemp)

Returns the name of the specified item

int i_ptrnum (PTR itemp, FORMPTR fmp)

Returns the number of the specified item


Home Contents Previous Next