Clears data from unprotected widgetsvoid sm_cl_unprot(void);
sm_cl_unproterases onscreen and offscreen data from all widgets (with the exception of list boxes) that are unprotected from clearing—that is, their
clearing_protectproperty is set to
PV_NO. Date and time fields that take system values are reinitialized. Fields whose
null_fieldproperty are set to
PV_YESare reset to their null indicator values.
This function is normally bound to the CLR key.
To clear data from list box widgets, refer to sm_clear_array.
/* The following code clears all unprotected fields
* and puts the cursor into the first one. */