compile insert O4W_DESIGN_FORM_EQUATES

Declare Function O4WI_FORMDESIGNER_HELPER, O4WI_FORMDESIGNER_UTILITY, O4WI_FORMDESIGNER_PROPS_HELPER, UCASE, Function, O4WI_FORMDESIGNER_PAGE_HELPER, o4wi_formdesigner_widget_new, o4wi_formdesigner_widget_helper


COMMON /O4WDESIGNFORM/ bInitCommon%, linktypeNames%, linktypeValues%, noYesNames%, noYesValues%, labelPosnNames%, labelPosnValues%, themeNames%, themeValues%, convNames%, convValues%, updateTargets%, PHOLDER2%
COMMON /O4WDESIGNFORM_RUNR/  DRTables@, DRRecords@, DRKeys@, DRKeyList@, DRMV@, DRSuffix@, DRNumMV@, DRSuppressLayout@, DRROOverrideFlag@, DRSkipList@, DRShowNoneOverrideFlag@, DRSuppressDefault@

Equ DESIGN_SUPPORT_PREFIX$ To "O4WI_FORMDESIGNER_WIDGET_"
Equ PAGE_SUPPORT_PREFIX$   To "O4WI_FORMDESIGNER_PAGE_"
Equ TEMPLATE_SUPPORT_PREFIX$ To "O4WI_FORMDESIGNER_TEMPLATE_"
Equ GET_MAP_REQUEST$ To 'o4wMap=" + serializeUs() + "'
Equ DEFAULT_PREFIX$ To "FORMDESIGNER_SETTINGS_DEFAULT_"
Equ DEFAULT_SETTINGS_TABLE$ To "O4WCONFIG"
Equ READONLY_KEY_PREFIX$ To "%RD%"
Equ USER_COMMON_RECORD$ To "userFields@"
Equ ELEMENT_PREFIX$ To "element"

// LAYOUT OF CONFIG RECORD
Equ CONFIG_SECTION_IDS$ To 1
Equ CONFIG_SECTION_NAMES$ To 2
Equ CONFIG_SUPPORTED_ELEMENTS$ To 3
Equ CONFIG_SUPPORTED_TEMPLATES$ To 4
Equ CONFIG_SUPPORTED_PAGE_NAMES$ To 5
Equ CONFIG_SUPPORTED_PAGE_IDS$ To 6
Equ CONFIG_GRID_SIZE_MAX$ To 8
Equ CONFIG_GRID_SIZE_ELEMENT$ To 9
Equ CONFIG_GRID_SIZE_CONTAINER$ To 10
Equ CONFIG_CELL_HEIGHT$ To 11
Equ CONFIG_GRID_COLOR$ To 13
Equ CONFIG_GRID_WIDTH$ To 14
Equ DEFAULT_SUPPORTED_TEMPLATES$ To "OI_FORM_MODE":@vm:"KEY_AND_SEARCH":@vm:"ENTER_KEY":@vm:"SEARCH":@vm:"PICKLIST":@vm:"ADD_ONLY":@vm:"ITEM_LISTING"

// LAYOUT OF HEADER RECORD 
Equ CURRENT_FORM_VERSION$  To "2.0"

Equ HEADER_VERSION$      To 1
Equ HEADER_MODIFIED$     To 2
Equ HEADER_DESC$         To 4
Equ HEADER_TITLE$        To 5
Equ HEADER_TEMPLATE$     To 6
Equ HEADER_TEMPLATE_M$   To 7
   Equ HEADER_TEMPLATE_M_NAME$    To 1
   Equ HEADER_TEMPLATE_M_THEME$   To 2
Equ HEADER_TABLES$       To 8
Equ HEADER_PAGES$        To 9
Equ HEADER_CURR_PAGE$    To 10
Equ HEADER_FORM_TYPE$    To 11
Equ HEADER_PAGE_TYPE$    To 12
Equ HEADER_FORM_RO_FLAG$ To 13
Equ HEADER_FORM_BG_COLOR$ To 14
Equ HEADER_FORM_FG_COLOR$ To 15
Equ HEADER_FORM_BG_IMAGE$ To 16
Equ HEADER_FORM_CELL_HEIGHT$ To 17
Equ HEADER_ASSOCIATED_KEYS$ To 20
Equ HEADER_COMMUTER_FLAG$     To 28
Equ HEADER_COMMUTER_NAME$ To 29
Equ HEADER_EVENT_FLAGS$  To 30
	Equ PREREAD_EVENT$            To 1
	Equ POSTREAD_EVENT$           To 2
	Equ PREWRITE_EVENT$           To 3
	Equ POSTWRITE_EVENT$          To 4
	Equ PREDELETE_EVENT$          To 5
	Equ POSTDELETE_EVENT$         To 6
	Equ SELECT_EVENT$             To 7
	Equ TAB_EVENT$                To 8
	Equ POPUP_EVENT$              To 9
	Equ POSTDRAW_EVENT$           To 10 
	Equ FORM_CREATE_EVENT$        To 11
	Equ FORM_READY_EVENT$         To 12
     Equ POSTCANCEL_EVENT$         To 13 ;* BZS 030821
	Equ BUILDCOMMUTER_TEMP$       To 20 ;* value 20=build commuter module shell (TEMPORARY)

Equ HEADER_NEXT_ID$      To 31
Equ HEADER_PERMISSIONS$  To 34
Equ HEADER_MENU$         To 36
Equ HEADER_ADDL_SCRIPTS$ To 40
Equ HEADER_ADDL_CSS$ To 41
Equ HEADER_DEFAULT_LABELTYPE$ To 50
   Equ HEADER_DEFAULT_LABELTYPE_SXS$ To "1"
   Equ HEADER_DEFAULT_LABELTYPE_OU$ To "0"
   Equ HEADER_DEFAULT_LABELTYPE_INLINE$ To "-1"
   Equ HEADER_DEFAULT_LABELTYPE_NONE$ To "-2"
Equ HEADER_UI_MODE$ To 51
     Equ HEADER_UI_MODE_NEW$ To "0"
     Equ HEADER_UI_MODE_CLASSIC$ To "1"
Equ HEADER_CURR_PARENT$ To 90
Equ HEADER_SYSTEMFLAG$   To 100
// bzs 053118 preserve the original information (if any) so the wizard can recreate the form?
Equ HEADER_WIZDATA_MODE$ To 110
Equ HEADER_WIZDATA_TABLE$ To 111
Equ HEADER_WIZDATA_VARFIELDS$ To 112
Equ HEADER_WIZDATA_FORMFIELDS$ To 113
Equ HEADER_WIZDATA_SEARCHFIELDS$ To 114
Equ HEADER_WIZDATA_RESULTFIELDS$ To 115
Equ HEADER_WIZDATA_METAFIELDS$ To 116

// LAYOUT OF FORM (PAGE) RECORD
Equ FORMINFO_FIELD_ELEMENT_START$   To 1
Equ FORMINFO_FIELD_ELEMENT_END$     To 29

Equ OVERALL_FORM_ID$ To "FORM_PARENT"
Equ MAX_GRID_WIDTH$                 To 12
Equ MAX_GRID_HEIGHT$               To 22
Equ DEFAULT_GRID_WIDTH$             To 2
Equ DEFAULT_GRID_HEIGHT$            To 1
Equ DEFAULT_GRID_CONTAINER_WIDTH$   To 3
Equ DEFAULT_GRID_CONTAINER_HEIGHT$  To 3
Equ DEFAULT_GRID_CELL_HEIGHT$ To 40

Equ FORMINFO_ID$                 To 1
Equ FORMINFO_COMMENT$            To 2
Equ FORMINFO_TYPE$               To 3
Equ FORMINFO_CHILDREN$           To 4
Equ FORMINFO_PARENT$             To 5
Equ FORMINFO_PARAM_R$            To 6
Equ FORMINFO_PARAM_O$            To 7
Equ FORMINFO_POSN$               To 8
   Equ FORMINFO_POSN_COL$     To 1
   Equ FORMINFO_POSN_ROW$     To 2
   Equ FORMINFO_POSN_WIDTH$   To 3
   Equ FORMINFO_POSN_HEIGHT$  To 4
Equ FORMINFO_PROTECTED$          To 9
Equ FORMINFO_ASSOCIATED$         To 10
Equ FORMINFO_DB_INFO$            To 11
Equ FORMINFO_FMT_INFO$           To 12
Equ FORMINFO_MOB_INFO$           To 13
Equ FORMINFO_EVT_INFO$             To 14
Equ FORMINFO_ADV_INFO$             To 15
Equ FORMINFO_LABEL_TYPE$           To 16 ;* bzs 020720

Equ FORMINFO_NEXT_POSN$ To 30
   Equ FORMINFO_NEXT_POSN_COL$   To 1
   Equ FORMINFO_NEXT_POSN_ROW$   To 2

Equ FORMINFO_PAGE_CONTROL_HDR$   To 40
Equ FORMINFO_PAGE_CONTROL$       To 41
Equ FORMINFO_PAGE_OPTIONS_HDR$         To 42
Equ FORMINFO_PAGE_OPTIONS$         To 43

Equ DEFAULT_TABLE_HEIGHT$ To 4

Equ TAG_CONTENT$                 To "_content"
Equ TAG_HANDLE$                  To "_handle"

Equ CONTROL_TYPE_CONTROL_BLOCK$  To "ctl"
Equ CONTROL_TYPE_INPUT_STORE$    To "str"
Equ CONTROL_TYPE_HEADER$         To "hdr"
Equ CONTROL_TYPE_HEADER_CUSTOM$  To "chdr"
Equ CONTROL_TYPE_NAVBAR$         To "navbar"
Equ CONTROL_TYPE_FOOTER$         To "ftr"
Equ CONTROL_TYPE_BUTTON$         To "btn"
Equ CONTROL_TYPE_BUTTON_SET$     To "bset"
Equ CONTROL_TYPE_TAB$            To "tab"
Equ CONTROL_TYPE_TABLE$          To "tbl"
Equ CONTROL_TYPE_DIV$            To "sec"
Equ CONTROL_TYPE_RADIO$          To "rdio"
Equ CONTROL_TYPE_RADIO_SET$      To "srdio"
Equ CONTROL_TYPE_CHECK$          To "chk"
Equ CONTROL_TYPE_CHECK_SET$      To "schk"
Equ CONTROL_TYPE_INPUT_TEXT$     To "itxt"
Equ CONTROL_TYPE_INPUT_AREA$     To "iarea"
Equ CONTROL_TYPE_INPUT_FILE$     To "ifile"
Equ CONTROL_TYPE_TEXT$           To "txt"
Equ CONTROL_TYPE_INPUT_SLIDER$   To "slider"
Equ CONTROL_TYPE_INPUT_NUMBER$   To "inmbr"
Equ CONTROL_TYPE_IMAGE$          To "img"
Equ CONTROL_TYPE_LINK$           To "link"
Equ CONTROL_TYPE_DATEPICKER$     To "date"
Equ CONTROl_TYPE_TIMEPICKER$     To "time"
Equ CONTROL_TYPE_COLORPICKER$    To "color"
Equ CONTROL_TYPE_M_HEADER$       To "mhdr"
Equ CONTROL_TYPE_M_NAVBAR$       To "mnavbar"
Equ CONTROL_TYPE_M_FOOTER$       To "mftr"
Equ CONTROL_TYPE_M_BUTTON$       To "mbtn"
Equ CONTROL_TYPE_M_GRID$         To "grid"
Equ CONTROL_TYPE_M_DIV_COLLAPSE$ To "csec"
Equ CONTROL_TYPE_M_TOGGLE$       To "tgl"
Equ CONTROL_TYPE_SELECT_MENU$    To "fslct"
Equ CONTROL_TYPE_LIST_UNORDERED$ To "ulist"
Equ CONTROL_TYPE_LIST_ORDERED$   To "olist"
Equ CONTROL_TYPE_LIST_ITEM$      To "ilist"
Equ CONTROL_TYPE_M_LIST_DIVIDER$ To "dlist"

Equ CONTROL_TYPE_GOOGLE_MAP$ To "gmap"
Equ CONTROL_TYPE_GOOGLE_MAP_ELEMENT$ To "gmelement"
Equ CONTROL_TYPE_GOOGLE_CHART$ To "gchart"
Equ CONTROL_TYPE_GOOGLE_CHART_ELEMENT$ To "gcelement"

Equ CONTROL_TYPE_INTERNAL_TABLE$ To "TABLE"
Equ CONTROL_TYPE_INTERNAL_TABLE_ADV$ To "ATABLE"
Equ CONTROL_TYPE_INTERNAL_TABLE_DYN$ To "DTABLE"

* Messages to widgets
Equ WIDGET_MSG_LABEL$            To "1"
Equ WIDGET_MSG_HTML5_TYPE$    To "2"
Equ WIDGET_MSG_LABEL_PLACEMENT$ To "3"
Equ WIDGET_MSG_LEGEND$ To "4"
Equ WIDGET_MSG_NAME$ To "5"
Equ WIDGET_MSG_PROMPT$ To "6"
Equ WIDGET_MSG_SIZE$             To "7"
Equ WIDGET_MSG_VALUE$ To "8"
Equ WIDGET_MSG_VALUE_MIN$ To "9"
Equ WIDGET_MSG_VALUE_MAX$ To "10"
Equ WIDGET_MSG_VALUE_STEP$ To "11"
Equ WIDGET_MSG_SPECIAL_STYLE$    To "12"
Equ WIDGET_MSG_DISPLAY_TYPE$ To "13"
Equ WIDGET_MSG_WIDTH$ To "14"
Equ WIDGET_MSG_HEIGHT$ To "15"
Equ WIDGET_MSG_PAGINATE$ To "16"
Equ WIDGET_MSG_INITIAL_HIDE$ To "17"
Equ WIDGET_MSG_LABEL_TYPE$ To "18"

Equ WIDGET_MSG_LINK$             To "20"
Equ WIDGET_MSG_LINK_TYPE$        To "21"
Equ WIDGET_MSG_LINK_URL$         To "22"
Equ WIDGET_MSG_LINK_TARGET$      To "23"

Equ WIDGET_MSG_FONT_NAME$        To "30"
Equ WIDGET_MSG_FONT_SIZE$        To "31"
Equ WIDGET_MSG_FONT_BOLD$        To "32"
Equ WIDGET_MSG_FONT_ITALIC$      To "33"
Equ WIDGET_MSG_FONT_ALIGN$       To "34"
Equ WIDGET_MSG_FONT_COLOR_FG$    To "35"
Equ WIDGET_MSG_FONT_COLOR_BG$    To "36"
Equ WIDGET_MSG_CONTROL_ALIGN$      To "37"

Equ WIDGET_MSG_FMT_BORDER$ To "40"
Equ WIDGET_MSG_FMT_OVERFLOW$ To "41"

Equ WIDGET_MSG_DB_TABLE$         To "50"
Equ WIDGET_MSG_DB_FIELD$         To "51"
Equ WIDGET_MSG_DB_RO$            To "52"
Equ WIDGET_MSG_DB_MV$            To "53"
Equ WIDGET_MSG_DB_DEFAULT$ To "54"
Equ WIDGET_MSG_DB_DEFAULT_P1$ To "55"
Equ WIDGET_MSG_DB_DEFAULT_P2$ To "56"
Equ WIDGET_MSG_DB_OVERRIDE$ To "57"
Equ WIDGET_MSG_DB_OVERRIDE_TYPE$ To "58"
Equ WIDGET_MSG_DB_OVERRIDE_TABLE$ To "59"

Equ WIDGET_MSG_MOB_ICON$         To "60"
Equ WIDGET_MSG_MOB_THEME$        To "61"
Equ WIDGET_MSG_MOB_MINI$ To "62"
Equ WIDGET_MSG_MOB_INSET$ To "63"
Equ WIDGET_MSG_MOB_DIVIDER$ To "64"
Equ WIDGET_MSG_MOB_FILTERED$ To "65"
Equ WIDGET_MSG_MOB_GRID_SIZE$ To "66"
Equ WIDGET_MSG_MOB_LAYOUT$ To "67"
Equ WIDGET_MSG_MOB_CLEAR$ To "68"
Equ WIDGET_MSG_MOB_RESPONSIVE$ To "69"
Equ WIDGET_MSG_MOB_FIXED$ To "70"
Equ WIDGET_MSG_MOB_WIDTH$ To "71"
Equ WIDGET_MSG_MOB_HEIGHT$ To "72"

Equ WIDGET_MSG_CONV_O$ To "80"
Equ WIDGET_MSG_CONV_I$ To "81"
Equ WIDGET_MSG_CONV_O_USER$ To "82"
Equ WIDGET_MSG_CONV_I_USER$ To "83"
Equ WIDGET_MSG_VALIDATION$ To "84"
Equ WIDGET_MSG_VALIDATION_USER_1$ To "85"
Equ WIDGET_MSG_VALIDATION_USER_2$ To "86"
Equ WIDGET_MSG_REQD$ To "87"

Equ WIDGET_MSG_EVENT_CLICK$ To "90"
Equ WIDGET_MSG_EVENT_BEFORE$ To "91"
Equ WIDGET_MSG_EVENT_AFTER$ To "92"
Equ WIDGET_MSG_EVENT_CHANGED$ To "93"
Equ WIDGET_MSG_EVENT_UPDATE_ASSOCIATED$ To "94"

Equ WIDGET_MSG_OPT_HEIGHT$ To "100"
Equ WIDGET_MSG_OPT_TABINDEX$ To "101"

Equ WIDGET_MSG_SUPPRESS_LAYOUT$ To "110"
Equ WIDGET_MSG_SUPPRESS_DESIGN$ To "111"

Equ WIDGET_MSG_SELECT_MULTI$ To "120"
Equ WIDGET_MSG_LIST_SOURCE$ To "121"
Equ WIDGET_MSG_LIST_TABLE$ To "122"
Equ WIDGET_MSG_LIST_SELECT$ To "123"
Equ WIDGET_MSG_LIST_CODE_RECORD$ To "124"
Equ WIDGET_MSG_LIST_CODE_FIELD_VALUE$ To "125"
Equ WIDGET_MSG_LIST_CODE_FIELD_DESC$ To "126"
Equ WIDGET_MSG_LIST_STPROC$ To "127"
Equ WIDGET_MSG_SET_SHOWNONE$   To "128"
Equ WIDGET_MSG_STATIC_OPTIONS$ To "129"

Equ WIDGET_MSG_DATE_EURO$ To "130"
Equ WIDGET_MSG_DATE_DELIM$ To "131"
Equ WIDGET_MSG_TIME_24HR$ To "140"
Equ WIDGET_MSG_TIME_SECONDS$ To "141"

Equ WIDGET_MSG_BTN_DEFAULT$ To "150"
Equ WIDGET_MSG_M_BUTTON_TYPE$ To "151"
Equ WIDGET_MSG_M_BUTTON_MENU$ To "152"
Equ WIDGET_MSG_M_BUTTON_POSN$ To "153"

Equ WIDGET_MSG_TBL_COLUMNS$      To "160"
Equ WIDGET_MSG_TBL_INSDEL$       To "161"
Equ WIDGET_MSG_TBL_ADDDEL_TOP$   To "162"
Equ WIDGET_MSG_TBL_ADDDEL_BTM$   To "163"
Equ WIDGET_MSG_TBL_ZEBRA$        To "164"
Equ WIDGET_MSG_TBL_COLWIDTHS$    To "165"
Equ WIDGET_MSG_TBL_PAGINATE$ To "166"
Equ WIDGET_MSG_TBL_TYPE$ To "167"
Equ WIDGET_MSG_TBL_COLUMN_ADD$   To "168"
Equ WIDGET_MSG_TBL_REARRANGE$    To "169"


Equ WIDGET_MSG_TEXT_WRAP$ To "180"
Equ WIDGET_MSG_TEXT_MAX$ To "181"
Equ WIDGET_MSG_TEXT_BREAK$ To "182"

Equ WIDGET_MSG_EVENT_POPUP$ To "190"
Equ WIDGET_MSG_POPUP_TYPE$ To "191"
Equ WIDGET_MSG_POPUP_TITLE$ To "192"
Equ WIDGET_MSG_POPUP_WIDTH$ To "193"
Equ WIDGET_MSG_POPUP_HEIGHT$ To "194"
Equ WIDGET_MSG_POPUP_SRC$ To "195"
Equ WIDGET_MSG_POPUP_MULTI$ To "196"
Equ WIDGET_MSG_POPUP_ARGS1$ To "197"
Equ WIDGET_MSG_POPUP_ARGS2$ To "198"
Equ WIDGET_MSG_POPUP_ARGS3$ To "199"
Equ WIDGET_MSG_POPUP_DEST$ To "200"

Equ WIDGET_MSG_HDR_BUTTON_LEFT$ To "210"
Equ WIDGET_MSG_HDR_BUTTON_RIGHT$ To "211"

Equ WIDGET_MSG_GOOGLE_API_KEY$ To "220"
Equ WIDGET_MSG_GOOGLE_TYPE$ To "221"

Equ WIDGET_MSG_CLASSES$ To "230"
Equ WIDGET_MSG_CLASS_ADD$ To "232"
Equ WIDGET_MSG_CLASS_REMOVE$ To "233"
Equ WIDGET_MSG_CLASS_TOGGLE$ To "234"
Equ WIDGET_MSG_HTML_BEFORE$ To "235"
Equ WIDGET_MSG_HTML_AFTER$ To "236"
Equ WIDGET_MSG_DATASTYLE_NAMES$ To "237"
Equ WIDGET_MSG_DATASTYLE_VALUES$ To "238"

Equ WIDGET_MSG_CUSTOM$ To "-1"

* widget available actions
Equ WIDGET_ACTION_MIN_VALUE$ To 1
Equ WIDGET_ACTION_INIT$ To "1"
Equ WIDGET_ACTION_INFO$ To "2"
Equ WIDGET_ACTION_DRAW$ To "3"
Equ WIDGET_ACTION_PROPS$ To "4"
Equ WIDGET_ACTION_UPDATE$ To "5"
Equ WIDGET_ACTION_VALIDATE$ To "6"
Equ WIDGET_ACTION_EVENT$ To "7"
Equ WIDGET_ACTION_PROPS_UPDATE$ To "8"
Equ WIDGET_ACTION_VALUE$ To "9"
Equ WIDGET_ACTION_READ$  To "10"
Equ WIDGET_ACTION_MAX_VALUE$ To 10

Equ WIDGET_ACTION_INVALID$ To "INVALID"

Equ WIDGET_INFO_CONTAINER$ To "1"
Equ WIDGET_INFO_ASSOCIATED_LABEL$ To "2"
Equ WIDGET_INFO_CAN_DELETE$ To "3"
Equ WIDGET_INFO_DB$ To "4"
Equ WIDGET_INFO_ID$ To "5"
Equ WIDGET_INFO_DETAILS$ To "6"
Equ WIDGET_INFO_INPUT$ To "7"
Equ WIDGET_INFO_ALIGN$ To "8"
Equ WIDGET_INFO_EVENTS$ To "9"
Equ WIDGET_INFO_SUFFIX$ To "10"
Equ WIDGET_INFO_CHILD_INFO$ To "11"
Equ WIDGET_INFO_OVERFLOW$ To "12"
Equ WIDGET_INFO_STATIC_DATA$ To "13"
Equ WIDGET_INFO_BGCOLOR$ To "14"
Equ WIDGET_INFO_CHILDREN$ To "15"
Equ WIDGET_INFO_PRELOADS$  To "16"
Equ WIDGET_INFO_UPDATE_TARGET$ To "17"
Equ WIDGET_INFO_NAME$ To "18"
Equ WIDGET_INFO_NO_WRAPPER$ To "19"
Equ WIDGET_INFO_INVISIBLE$ To "20"
Equ WIDGET_INFO_PROPNAMES$ To "21"
Equ WIDGET_INFO_NO_LAYOUT$ To "22"
Equ WIDGET_INFO_CHANGE_TYPE$ To "23"
Equ WIDGET_INFO_TABINDEX$ To "24"
Equ WIDGET_INFO_CUSTOM$ To "99"

Equ WIDGET_EVENT_CLICK$ To "EVT_CLICK"
Equ WIDGET_EVENT_CHANGED$ To "EVT_CHANGED"
Equ WIDGET_EVENT_BEFORE$ To "EVT_BEFORE"
Equ WIDGET_EVENT_AFTER$ To "EVT_AFTER"
Equ WIDGET_EVENT_ASSOCIATED$ To "EVT_ASSOC"
Equ WIDGET_EVENT_POPUP$ To "EVT_POPUP"
Equ WIDGET_EVENT_TAB$ To "EVT_TAB"
Equ WIDGET_EVENT_LINK_URL$ To "EVT_LINK"
Equ WIDGET_EVENT_IMG_URL$ To "EVT_IMG"

Equ PROPS_TAB_LIST_COUNT$ To 7
Equ PROPS_TAB_LIST_IDS$ to "req":@VM:"db":@VM:"opt":@VM:"fmt":@VM:"mob":@VM:"evt":@VM:"adv"
Equ PROPS_TAB_LIST_NAMES$ to "Required":@VM:"Data":@VM:"Optional":@VM:"Formatting":@VM:"Mobile":@VM:"Events" :@VM:"Advanced"
Equ PROPS_FIELDS_LIST_PREFIX$ To  "PROP_REQ_":@vm:"PROP_DB_":@vm:"PROP_OPT_":@vm:"PROP_FMT_":@vm:"PROP_MOB_":@vm:"PROP_EVT_":@VM:"PROP_ADV_"
Equ PROPS_FIELDS_LIST_MAX$ To  "PROP_MAX_REQ":@vm:"PROP_MAX_DB":@vm:"PROP_MAX_OPT":@vm:"PROP_MAX_FMT":@vm:"PROP_MAX_MOB":@vm:"PROP_MAX_EVT":@vm:"PROP_MAX_ADV"
Equ PROPS_TAB_NAME_REQ$ To "req"
Equ PROPS_TAB_NUM_REQ$ To 1
Equ PROPS_TAB_NAME_DB$ To "db"
Equ PROPS_TAB_NUM_DB$ To 2
Equ PROPS_TAB_NAME_OPTS$ To "opt"
Equ PROPS_TAB_NUM_OPTS$ To 3
Equ PROPS_TAB_NAME_FMT$ To "fmt"
Equ PROPS_TAB_NUM_FMT$ To 4
Equ PROPS_TAB_NAME_MOB$ To "mob"
Equ PROPS_TAB_NUM_MOB$ To 5
Equ PROPS_TAB_NAME_EVT$ To "evt"
Equ PROPS_TAB_NUM_EVT$ To 6
Equ PROPS_TAB_NAME_ADV$ To "adv"
Equ PROPS_TAB_NUM_ADV$ To 7

Equ PAGEWIDGET_ACTION_MIN_VALUE$ To 1
Equ PAGEWIDGET_ACTION_MAX_VALUE$ To 6

Equ PAGEWIDGET_ACTION_PREDRAW$ To "1"
Equ PAGEWIDGET_ACTION_DRAW$ To "2"
Equ PAGEWIDGET_ACTION_RESULTS$ To "3"
Equ PAGEWIDGET_ACTION_PROPS_SHOW$ To "4"
Equ PAGEWIDGET_ACTION_PROPS_SAVE$ To "5"
Equ PAGEWIDGET_ACTION_PROPS_DEFAULT$ To "6"

Equ PAGEHELPER_RSLT_NONE$ To ""
Equ PAGEHELPER_RSLT_REDRAW_CURRENT$ To "1"
Equ PAGEHELPER_RSLT_CHANGE_PAGE$ To "2"
Equ PAGEHELPER_RSLT_PROCEED$ To "3"

Equ TEMPLATEWIDGET_ACTION_MIN_VALUE$ To 1
Equ TEMPLATEWIDGET_ACTION_MAX_VALUE$ To 4

Equ TEMPLATEWIDGET_ACTION_INFO$ To "1"
Equ TEMPLATEWIDGET_ACTION_QUICKDRAW$ To "2"
Equ TEMPLATEWIDGET_ACTION_CREATE$ To "3"
Equ TEMPLATEWIDGET_ACTION_FORM_PROPERTIES$ To "4"

Equ O4W_LOCAL_COMMON_ID_SUFFIX$ To "_LOCALSTATE"
Equ O4W_LOCAL_VAR_RESET_TEXT$ To "O4WSTORE_RESET_TEXT"
Equ O4W_LOCAL_VAR_SORT_BY$ To "O4WSTORE_SORT_BY"
Equ O4W_LOCAL_VAR_PAGINATION$ To "O4WSTORE_PER_PAGE"
Equ O4W_LOCAL_VAR_CURR_PAGE$ To "O4WSTORE_displayPage"
Equ O4W_LOCAL_VAR_STARTING_ITEM$ To "O4WSTORE_starting_num"
Equ O4W_LOCAL_VAR_ENDING_ITEM$ To "O4WSTORE_ending_num"
Equ O4W_LOCAL_VAR_RECENTLY_USED$ To "O4WSTORE_recently_used"

* bzs 013121 manually-triggered events
Equ MANUAL_TRIGGER_EVENT_SAVE$ To "O4W_MANUALLY_TRIGGERED_SAVE"
Equ MANUAL_TRIGGER_EVENT_DEL$ To "O4W_MANUALLY_TRIGGERED_DEL"
Equ MANUAL_TRIGGER_EVENT_CANCEL$ To "O4W_MANUALLY_TRIGGERED_CANCEL"
Equ MANUAL_TRIGGER_EVENT_NEW$ To "O4W_MANUALLY_TRIGGERED_NEW"
Equ MANUAL_TRIGGER_EVENT_READ$ To "O4W_MANUALLY_TRIGGERED_READ"
Equ MANUAL_TRIGGER_EVENT_SEARCH$ To "O4W_MANUALLY_TRIGGERED_SEARCH"
Equ MANUAL_TRIGGER_EVENT_FORWARD$ To "O4W_MANUALLY_TRIGGERED_FWD"
Equ MANUAL_TRIGGER_EVENT_BACK$ To "O4W_MANUALLY_TRIGGERED_BACK"

* in page_control_hdr/page_control
Equ HEADER_TAG_VERSION$ To "<VERSION>"
Equ HEADER_TAG_VERSION_VALUE$ To "2.0"

Equ TRIGGER_EVENT_SAVE$ To "<SBUTTON>"
Equ TRIGGER_EVENT_DEL$ To "<DBUTTON>"
Equ TRIGGER_EVENT_CANCEL$ To "<CBUTTON>"
Equ TRIGGER_EVENT_NEW$ To "<NBUTTON>"
Equ TRIGGER_EVENT_READ$ To "<RBUTTON>"
Equ TRIGGER_EVENT_SEARCH$ To "<SRBUTTON>"
Equ TRIGGER_EVENT_FORWARD$ To "<FBUTTON>"
Equ TRIGGER_EVENT_BACK$ To "<BBUTTON>"
Equ TRIGGER_EVENT_NONE$ To "<NONE>"
* in page_options_hdr/page_options
Equ HEADER_TAG_NEW_DETAIL$ To "<NEWKEY>"
Equ HEADER_TAG_FOCUS$ To "<FOCUS>"
Equ HEADER_TAG_TRIGGER_TYPE$ To "<TRIGGER_TYPE>"
Equ HEADER_TAG_SEARCH_MAX$ To "<MAXSEARCH>"
Equ HEADER_TAG_SEARCH_WARN$ To "<WARNSEARCH>"
Equ HEADER_TAG_QBF_DISABLE$ To "<QBFDISABLE>"
Equ HEADER_TAG_NOSAVE_OK$ To "<NOSAVEOK>"
Equ HEADER_TAG_REDIRECT_TO$ To "<REDIRECTTO>"
Equ HEADER_TAG_SELSTMT$ To "<O4WRDSELSTMT>"
Equ HEADER_TAG_PREDRAW_EVENT$ To "<PREDRAW>"
Equ HEADER_TAG_POSTDRAW_EVENT$ To "<POSTDRAW>"
Equ HEADER_TAG_CUSTOM_EVENT$ To "<EVENT>"
Equ HEADER_TAG_TARGET$ To "<TARGET>"
Equ HEADER_TAG_SORT_BY$ To "<SORTBY>"
Equ HEADER_TAG_PER_PAGE$ To "<PERPAGE>"
Equ HEADER_TAG_STATUS$ To "<STATUS>"
Equ HEADER_TAG_SORT_FIELDS$ To "<SORT_FIELDS>"
Equ HEADER_TAG_SEARCH_READIFONESELECTED$ To "<READ1SEARCH>"

Equ TRIGGER_EVENT_NAMES$ To "Save":@VM:"Delete":@VM:"Cancel":@VM:"New":@VM:"Read"
Equ TRIGGER_EVENT_VALS$ To TRIGGER_EVENT_SAVE$:@vm:TRIGGER_EVENT_DEL$:@VM:TRIGGER_EVENT_CANCEL$:@vm:TRIGGER_EVENT_NEW$:@vm:TRIGGER_EVENT_READ$


If bInitCommon% <> "1" Then
   bInitCommon% = "1"
   
   linktypeNames% = "None":@SVM:"Explicit URL":@SVM:"Page Link":@SVM:"Local Link":@SVM:"O4W Form (Key)":@SVM:"O4W Procedure":@SVM:"Email Link":@SVM:"Embedded URL":@SVM:"LinkedIn Profile":@SVM:"LinkedIn Share"
   linktypeValues% = "":@SVM:O4W_LINKTYPE_NORMAL$:@svm:O4W_LINKTYPE_PAGE$:@svm:O4W_LINKTYPE_LOCAL$:@svm:O4W_LINKTYPE_FORM$:@SVM:O4W_LINKTYPE_PROGRAM$:@SVM:O4W_LINKTYPE_EMAIL$:@SVM:O4W_LINKTYPE_EMBED$:@SVM:O4W_LINKTYPE_LINKEDIN_PROFILE$:@SVM:O4W_LINKTYPE_LINKEDIN_SHARE$

   noYesNames% = "No":@SVM:"Yes"
   noYesValues% = "0":@SVM:"1"

   labelPosnNames% = "Side-by-Side":@SVM:"Over-Under":@SVM:"Inline":@SVM:"None"
   labelPosnValues% = "1":@SVM:"0":@SVM:"-1":@SVM:"-2"
   Equ WIDGET_LABEL_POSN_SXS$ To "1"
   Equ WIDGET_LABEL_POSN_OU$ To "0"
   Equ WIDGET_LABEL_POSN_INLINE$ To "-1"
   Equ WIDGET_LABEL_POSN_NONE$ To "-2"
   
   convNames% = "Use dictionary":@SVM:"None":@SVM:"2-Place decimal number":@SVM:"Integer (truncates decimal)":@SVM:"4-Place decimal number":@svm:"Dollars":@SVM:"Date":@SVM:"Date, MM/DD/YYYY":@SVM:"Date, MM/DD/YY":@SVM:"European date, DD.MM.YY":@SVM:"Time":@SVM:"Date & Time":@SVM:"Boolean (True/False)":@SVM:"Zip code format (US, Canadian)":@SVM:"US phone number":@SVM:"US Social Security format":@SVM:"Valid email address":@svm:"Other (user entered)"
   convValues% = "-":@SVM:"NONE":@SVM:"MD2":@svm:"MD0":@svm:"MD4":@svm:"MD2,$":@SVM:"D":@svm:"D4/":@SVM:"D2/":@svm:"DE.":@svm:"MT":@svm:"DT":@svm:"B":@svm:"[ZIP_FORMAT]":@svm:"[PHONE_FORMAT]":@svm:"[SSN_FORMAT]":@svm:"[EMAIL_FORMAT]":@svm:"USER"

   themeNames% = "Default"
   themeValues% = ""
   letters = "abcdefghijklmnopqrstuvwxyz"
   For each.theme = 1 To 26
      themeNames%<1,1,each.theme+1> = letters[each.theme,1]
      themeValues%<1,1,each.theme+1> = letters[each.theme,1]
   Next each.theme
   
   updateTargets% = CONTROL_TYPE_HEADER$:@vm:CONTROL_TYPE_IMAGE$:@vm:CONTROL_TYPE_TEXT$:@vm:CONTROL_TYPE_GOOGLE_MAP$
   updateTargets%<2> = "1":@VM:"1":@VM:"1":@VM:"1"
End



