Setting FIELD Structure Members

  #include <vv_form.h>

#include <vv_bool.h>

#include <vv_clist.h>

#include <vv_date.h>

#include <vv_mtog.h>

#Include <vv_spin.h>

#include <vv_time.h>

#include <vv_radio.h>

All
sf_booltoggle ( )
sf_clist ( )
sf_datefmt ( )
sf_mtoggle()
sf_spin()
sf_timefmt ( )
sf_radio ( ), sf_radgrp ( )
   
void sf_att (UCHAR actatt, UCHAR inactatt, UCHAR skipatt, FIELDPTR fldp)

Sets the attributes for a field (active, inactive, and skip)

void sf_begfp (int (*beg_fp) ( ), FIELDPTR fldp)

Installs a begin-field function for the field

void sf_boolch (UCHAR yes_ch, UCHAR no_ch, DFIELDPTR dfldp)

Sets the characters (case insensitive) to be accepted in the Boolean field

int sf_booltoggle (UCHAR *yes_stp, UCHAR *no_stp,UCHAR yes_att, UCHAR no_att, DFIELDPTR dfldp)

Sets the toggle strings and attributes for a Boolean toggle field

int sf_clist (UCHAR *kwdp, int options, MFILEPTR mfp, FIELDPTR fldp)

Assigns a choice list to the data field or tickertape memo field

void sf_datefmt (UCHAR *format_stp, DFIELDPTR dfldp)

Sets the date format for the specified F_DATE field

void sf_endfp (int (*end_fp ( ), FIELDPTR fldp)

Installs an end-field function for the field

void sf_help (UCHAR *help_stp_or_kwdp, FIELDPTR fldp)

Sets the help string or section of the memory file to be displayed when help is called for the field

int sf_mtoggle (UCHAR *kwdp, MFILEPTR mfp, DFIELDPTR dfldp)

Turns a data entry field into a multiple toggle field

void sf_msg (UCHAR *msg_stp, FIELDPTR fldp)

Specifies a message to appear in the message window when the field is active

void sf_opt (long options, int state, FIELDPTR fldp)

Sets the field options for the specified field

void sf_radch (UCHAR i, UCHAR noselect_ch, DFIELDPTR dfldp, DFORMPTR dfmp)

Sets the selection character used in radio buttons

int sf_radgrp (DFIELDPTR first_fldp, DFIELDPTR last_fldp, DFORMPTR dfmp)

Collects radio buttons into a single group for mutually exclusive selections

int sf_range (PTR minp, PTR maxp, DFIELDPTR dfldp)

Sets the range of allowed values for a field

void sf_selectch (UCHAR ch_pos, UCHAR ch_att, FIELDPTR fldp)

Sets the selection character andUCHAR attribute for a specified field

int sf_spin (UCHAR *kwdp, MFILEPTR mfp, DFIELDPTR dfldp)

Changes a data entry field into a spin button field

void sf_timefmt (UCHAR *format_stp, DFIELDPTR dfldp)

Sets the time format for the specified F_TIME field

void sf_valfp (int (*val_fp) ( ), FIELDPTR fldp)

Installs a field validation function in the field



Home Contents Previous Next