Naming a Form

Designer: Designer forms are named in order to store them in the Designer library. You can use this name during form processing to determine what processing is appropriate for the form or to get a pointer to the form.

Code: You can specify a name for a form that was written in code. To give a form a name, call the function sfm_name():

void sfm_name(name_stp, dfmp)
 
UCHAR *name_stp;
/* Name to give form
*/
DFORMPTR dfmp;
/* Form to name
*/

General: To determine the name of the form, call the function fm_ptrnam():

UCHAR *fm_ptrnam(dfmp)

DFORMPTR dfmp;          /* Form to get name for                      */


Home Contents Previous Next