open-insight/SYSPROG/STPROCINS/OIWIN_EQUATES.txt
2024-03-25 15:17:34 -07:00

605 lines
27 KiB
Plaintext

compile insert OIWin_Equates
/*
** Copyright (C) 1992-2022 Revelation Software Inc. All Rights Reserved **
Author : ????
Date : 1992?
Purpose : Structure definitions for SYSREPOSWINS and SYSREPOSWINEXES records
Comments
========
Amended Date Reason
======= ==== ======
Mr C 01 Jun 22 Uncommented deprecated IOOPTIONS for back-compat reasons
Mr C 17 Jan 22 Added CS_COMMONLIST$
Mr C 21 Jan 21 Added FIO_ALLOWSEQKEYRESET$
Added "__" labels for source navigation
Mr C 17 Jan 21 Added FIO_ALLOWFORMSTATE$
Mr C 09 Dec 20 Updated IOOPTIONS notes for QBFREADMODE
Mr C 05 Nov 20 Added FIO_SUPPRESSSAVEWARN$
Mr C 16 Apr 20 Added POS_WINMSGLIST$
Mr C 05 Dec 19 Added POS_UDPNAMES$ and POS_UDPVALUES$
Mr C 13 Feb 19 Added POS_VIEWPROPERTIES$
Mr C 11 Feb 19 Added ORR_MODE_CONTROLLISTEX$
Mr C 04 Jun 18 Added JSPEC_CONTROL_LABEL$
Mr C 06 Sep 17 Added SYSREPOSWINS row equates
Mr C 20 Aug 17 Added CLOSE event CloseFlags parameter equates
Mr C 04 Aug 17 Updated comments re. Image and ImageList properties
Mr C 14 Jul 17 Added MENUPOS_RESERVED_2$
Mr C 13 Jul 17 Added MENUPOS_RESERVED_1$
Mr C 07 Jul 17 Added MENUPOS_MISC$ and Image properties.
rjc 01 Feb 17 Added MENUQEPOS_xxx
Mr C 30 Aug 16 Added POS_FORMDES_SCRIPTS$
Mr C 22 Jun 16 Added POS_FORMDES_ID$
Mr C 20 Apr 16 Moved OIWINEXE structure into OIWIN_EQUATES
Mr C 21 Jan 16 Extended generic placeholders once more...
Mr C 10 Jan 16 Added MENUPOS_NAME$, and image/imagelist positions
Mr C 22 Dec 15 Added Menu header positions
Mr C 19 Dec 15 Added Menu Item styles
Mr C 10 Dec 15 Added Menu types
Mr C 09 Dec 15 Added Menu record structure
Mr C 07 Oct 15 Added POS_COMMUTERMODULE$, CS_COMMUTERMODULE$
Mr C 02 Oct 15 Cleanup, added POS_CURSOR$
Mr C 08 Sep 15 Extended generic placeholders
MTR 29 Jun 15 Added Temp Event Positions
Mr C 13 Feb 15 Removed DSO-based equates
Mr C 06 Dec 14 Added POS_CONTEXTMENu$
Mr C 10 Nov 14 Added CS_VALIDMSG$ and POS_VALIDATIONMSG$
mtr march, 2014 More v10 Updates
Mr C 25 Oct 13 Updated for v10
*/
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////
#ifndef _OIWIN_EQUATES_
#define _OIWIN_EQUATES_
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////
// OIWIN structure (SYSREPOSWINS records)
//
// record is @rm-delim'd array of header, window, controls, menu
// positions (@vm-delim'd) of window attributes
// applies to window and controls
equ POS_NAME$ to 1
equ POS_CLASS$ to 2
equ POS_TYPE$ to 3
equ POS_PARENT$ to 4
equ POS_X$ to 5
equ POS_Y$ to 6
equ POS_WIDE$ to 7
equ POS_HIGH$ to 8
equ POS_TEXT$ to 9
equ POS_SDKSTYLE$ to 10
equ POS_PSSTYLE$ to 11
equ POS_TAB$ to 12
equ POS_BKCOLOR$ to 13 ; // <0,0,1> ColorFrom; <0,0,2> ColorTo; <0,0,3> GradientStyle
equ POS_FORECOLOR$ to 14
equ POS_LOGFONT$ to 15
equ POS_MISC$ to 16
equ POS_EVENTS$ to 17
equ POS_EVENT_HANDLER$ to 18
equ POS_QEVENTS$ to 19
equ POS_RESERVED3$ to 20
equ POS_RESERVED4$ to 21
equ POS_SPOTPOS$ to 22
equ POS_TABLE$ to 23
equ POS_COLUMN$ to 24
equ POS_KEY$ to 25
equ POS_KEYPART$ to 26
equ POS_JOININFO$ to 27
equ POS_VALIDATION$ to 28
equ POS_CONVERSION$ to 29
equ POS_DEFAULT$ to 30
equ POS_REQUIRED$ to 31
equ POS_RESERVED10$ to 32
equ POS_BITMAP$ to 33
equ POS_IMAGE$ to 33 ; // synonym for OI10
equ POS_ICON$ to 34
equ POS_LIST$ to 35
equ POS_VALUE$ to 36
equ POS_SCROLLRANGE$ to 37
equ POS_SCROLLCHANGE$ to 38
equ POS_CHARCOUNT$ to 39
equ POS_NUMCOLS$ to 40
equ POS_ROWLIMIT$ to 41
equ POS_COLSTYLES$ to 42
equ POS_COLWIDE$ to 43
equ POS_LABEL$ to 44
equ POS_DDEMODE$ to 45
equ POS_DDEITEM$ to 46
equ POS_DDETOPIC$ to 47
equ POS_DDESERVER$ to 48
equ POS_DDETIMETOUT$ to 49
equ POS_CHILD_COORD$ to 50 ; // Deprecated for v10
equ POS_NOTESINFO$ to 51 ; // Deprecated for v10 - LOTUSNOTES specific -- see notes_oiwin_equates for layout
equ POS_DTSRCINFO$ to 51 ; // Deprecated for v10 - polymorphic structure (overlaps for DATASET and NOTES)
equ POS_GLYPH$ to 52 ; //
equ POS_GLYPHPROPERTIES$ to 53 ; // <0,0,1> ColorKey; <0,0,2> ImageStyle; <0,0,3> ImageOffset; <0,0,4> ImageOrigin; <0,0,5> Alpha value; <0,0,6> ImageCount; <0,0,7> ImageNumber; <0,0,8> ImageAlign; <0,0,9> ImageFrameNumber; <0,0,10> NoAutoScale
equ POS_IMAGEPROPERTIES$ to 54 ; // <0,0,1> ColorKey; <0,0,2> ImageStyle; <0,0,3> ImageOffset; <0,0,4> ImageOrigin; <0,0,5> Alpha value; <0,0,6> ImageCount; <0,0,7> ImageNumber; <0,0,8> ImageAlign; <0,0,9> ImageFrameNumber; <0,0,10> NoAutoScale
equ POS_TEXT_1$ to 55 ; // Generic property
equ POS_TEXT_2$ to 56 ; // Generic property
equ POS_TEXT_3$ to 57 ; // Generic property
equ POS_TEXT_4$ to 58 ; // Generic property
equ POS_TOOLTIP$ to 59
equ POS_TYPESPECIFIC$ to 60
equ POS_SIZING$ to 61
equ POS_DISPLAY$ to 62 ; // <0,0,1> Alpha Value; <0,0,2> GlassMargins; <0,0,3> GlassFrame; <0,0,4> Create Position; <0,0,5> ShowEffect; <0,0,6> Hide Effect; <0,0,7> MaximizeSize
equ POS_BORDER$ to 63 ; // <0,0,1> Width; <0,0,2> Color; <0,0,3> Radius; <0,0,4> RndCnrs; <0,0,5> Edges; <0,0,6> BevelWidth; <0,0,7> BevelStyle; <0,0,8> BevelSysColor
equ POS_COLOR_1$ to 64 ; // <0,0,1> ColorFrom; <0,0,2> ColorTo; <0,0,3> GradientStyle
equ POS_COLOR_2$ to 65 ; // <0,0,1> ColorFrom; <0,0,2> ColorTo; <0,0,3> GradientStyle
equ POS_COLOR_3$ to 66 ; // <0,0,1> ColorFrom; <0,0,2> ColorTo; <0,0,3> GradientStyle
equ POS_COLOR_4$ to 67 ; // <0,0,1> ColorFrom; <0,0,2> ColorTo; <0,0,3> GradientStyle
equ POS_IMGLIST_1$ to 68 ; //
equ POS_IMGLIST_1_PROPS$ to 69 ; // <0,0,1> ColorKey; <0,0,2> ImageCount; <0,0,3> NoAutoScale
equ POS_IMGLIST_2$ to 70 ; //
equ POS_IMGLIST_2_PROPS$ to 71 ; // <0,0,1> ColorKey; <0,0,2> ImageCount; <0,0,3> NoAutoScale
equ POS_IMGLIST_3$ to 72 ; //
equ POS_IMGLIST_3_PROPS$ to 73 ; // <0,0,1> ColorKey; <0,0,2> ImageCount; <0,0,3> NoAutoScale
equ POS_IMGLIST_4$ to 74 ; //
equ POS_IMGLIST_4_PROPS$ to 75 ; // <0,0,1> ColorKey; <0,0,2> ImageCount; <0,0,3> NoAutoScale
equ POS_LOGFONT_1$ to 80 ; // Same structure as POS_LOGFONT
equ POS_LOGFONT_2$ to 81 ; // Same structure as POS_LOGFONT
equ POS_GLYPH1$ to 82 ; //
equ POS_GLYPH1PROPERTIES$ to 83 ; // <0,0,1> ColorKey; <0,0,2> ImageStyle; <0,0,3> ImageOffset; <0,0,4> ImageOrigin; <0,0,5> Alpha value; <0,0,6> ImageCount; <0,0,7> ImageNumber; <0,0,8> ImageAlign; <0,0,9> ImageFrameNumber; <0,0,10> NoAutoScale
equ POS_GLYPH2$ to 84 ; //
equ POS_GLYPH2PROPERTIES$ to 85 ; // <0,0,1> ColorKey; <0,0,2> ImageStyle; <0,0,3> ImageOffset; <0,0,4> ImageOrigin; <0,0,5> Alpha value; <0,0,6> ImageCount; <0,0,7> ImageNumber; <0,0,8> ImageAlign; <0,0,9> ImageFrameNumber; <0,0,10> NoAutoScale
equ POS_LAYOUT$ to 86 ; // <0,0,1> Padding
equ POS_COLOR_5$ to 87 ; // <0,0,1> ColorFrom; <0,0,2> ColorTo; <0,0,3> GradientStyle
equ POS_COLOR_6$ to 88 ; // <0,0,1> ColorFrom; <0,0,2> ColorTo; <0,0,3> GradientStyle
equ POS_ENABLED$ to 89
equ POS_SPOT_X$ to 90
equ POS_SPOT_Y$ to 91
equ POS_VALIDATIONMSG$ to 92
equ POS_CONTEXTMENU$ to 93
equ POS_TEXT_5$ to 94 ; // Generic property
equ POS_TEXT_6$ to 95 ; // Generic property
equ POS_TEXT_7$ to 96 ; // Generic property
equ POS_TEXT_8$ to 97 ; // Generic property
equ POS_TEXT_9$ to 98 ; // Generic property
equ POS_TEXT_10$ to 99 ; // Generic property
equ POS_TEXT_11$ to 100 ; // Generic property
equ POS_TEXT_12$ to 101 ; // Generic property
equ POS_CURSOR$ to 102
equ POS_COMMUTERMODULE$ to 103 ; // WINDOW only
equ POS_TEXT_13$ to 104 ; // Generic property
equ POS_TEXT_14$ to 105 ; // Generic property
equ POS_VIEWPROPERTIES$ to 106 ; // View Based properties <0,0,1> PageSwapRenderMode
equ POS_UDPNAMES$ to 107 ; // @svm'd list of custom property (UDP) names (minus the "@" prefix)
equ POS_UDPVALUES$ to 108 ; // @svm'd list of custom property (UDP) values
equ POS_WINMSGLIST$ to 109 ; // @svm'd list of qualified WINMSG events to track
equ POS_DROPACCEPTLIST$ to 110 ; // @svm'd list of acceptable drag-drop data format names
equ POS_FORMDES_ID$ to 120 ; // Used by the FormDesigner to store the ID
// of the design-time control in dsProperties
equ POS_FORMDES_SCRIPTS$ to 121 ; // Used by the FormDesigner paste process to
// transfer event scripts
equ DTSRC_MASTERLIST$ to 1
equ DTSRC_MAXSTRUCTSIZE$ to 6 ;* max number of fields in any of overlapping structures
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////
// SYSREPOSWINS Menu structure (record 4)
//
// <1> @vm'd menu item structure
//
// <1,1> MENU header item
// <1,2> Menu item (ITEM,POPUP,SEPARATOR)
// ...
// <1,n>
// <2> Menu Event info
//
// <2,1> @tm'd list of Event Script handler IDs
// <2,2> @svm'd list of @tm/@stm Quick event handlers
// <2,3> @svm'd list of Quick Event menu items
// <2,4> Changed flag (ignored)
//
// <2,2> and <2,3> form an AMV group
equ MENUREC_POS_ITEMS$ to 1
equ MENUREC_POS_EVENTS$ to 2
// Menu Events
equ MENUREC_POS_EV_SCRIPTIDS$ to 1 ; // @tm'd
equ MENUREC_POS_EV_QEHANDLERS$ to 2 ; // @svm/@tm/@stm'd
equ MENUREC_POS_EV_QEIDS$ to 3 ; // @svm'd
equ MENUREC_POS_EV_FLAG$ to 4
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////
// menu sub-structure positions
equ MENUCLASS_CONTEXT$ to "FLOATING"
// Header "item"
equ MENUHDRPOS_NAME$ to POS_NAME$
equ MENUHDRPOS_CLASS$ to POS_CLASS$ ; // "FLOATING" for a context menu
equ MENUHDRPOS_TYPE$ to POS_TYPE$ ; // Always MENU
equ MENUHDRPOS_PARENT$ to POS_PARENT$
// Standard items
equ MENUPOS_TYPE$ to 1
equ MENUPOS_NUMITEMS$ to 2 ;* source
equ MENUPOS_END$ to 2 ;* compiled
equ MENUPOS_EVENT$ to 3 ;* source
equ MENUPOS_RESERVED$ to 3 ;* deprecated - don't use this!!
equ MENUPOS_NAME$ to 3 ;* compiled
equ MENUPOS_TEXT$ to 4
equ MENUPOS_GREY$ to 5
equ MENUPOS_CHECK$ to 6
equ MENUPOS_HIDDEN$ to 7
equ MENUPOS_ACCEL$ to 8
equ MENUPOS_TOTALITEMS$ to 9 ;* source
equ MENUPOS_HELP_TEXT$ to 9 ;* compiled
equ MENUPOS_HANDLER$ to 10
equ MENUPOS_STYLE$ to 11
equ MENUPOS_BITMAP$ to 12
equ MENUPOS_COLORKEY$ to 13
equ MENUPOS_IMAGELISTINDEX$ to 14
equ MENUPOS_IMAGEAUTOSCALE$ to 15
equ MENUPOS_IMAGEFRAMEINDEX$ to 16
equ MENUPOS_IMAGEOFFSET$ to 17
equ MENUPOS_IMAGEORIGIN$ to 18
equ MENUPOS_IMAGETRANSLUCENCY$ to 19
equ MENUPOS_MISC$ to 20
equ MENUPOS_RESERVED_1$ to 21 ; // HMENU
equ MENUPOS_RESERVED_2$ to 22 ; // ItemID
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////
// Quickevent structure
equ MENUQEPOS_TYPE$ to 1
equ MENUQEPOS_MESSAGE$ to 2
equ MENUQEPOS_TARGET$ to 3
equ MENUQEPOS_PARAMS$ to 4
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////
equ MENUTYPE_MENU$ to "MENU"
equ MENUTYPE_POPUP$ to "POPUP"
equ MENUTYPE_SEPARATOR$ to "SEPARATOR"
equ MENUTYPE_ITEM$ to "ITEM"
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////
// These are the only menu style flags allowed at runtime.
equ MENUSTYLE_AUTOCHECK$ to 0x00000001
equ MENUSTYLE_GRPBEGIN$ to 0x00000002
equ MENUSTYLE_GRPEND$ to 0x00000004
equ MENUSTYLE_SKIPEVENT$ to 0x00000010
equ MENUSTYLE_GENLOSTFOCUS$ to 0x00000020
equ MENUSTYLE_PASSTOFRAME$ to 0x00000040
equ MENUSTYLE_COPYSTATE$ to 0x00000080
equ MENUSTYLE_TEXTSEPARATOR$ to 0x00000800
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////
// PSCONTROL equates
equ OIWIN_WINDOW$ to "WINDOW"
equ OIWIN_CHECKBOX$ to "CHECKBOX"
equ OIWIN_COMBOBOX$ to "COMBOBOX"
equ OIWIN_EDITLINE$ to "EDITLINE"
equ OIWIN_EDITFIELD$ to "EDITFIELD"
equ OIWIN_LISTBOX$ to "LISTBOX"
equ OIWIN_PUSHBUTTON$ to "PUSHBUTTON"
equ OIWIN_RADIOBUTTON$ to "RADIOBUTTON"
equ OIWIN_RADIOGROUP$ to "RADIOGROUP"
equ OIWIN_ICON$ to "ICON"
equ OIWIN_MENU$ to "MENU"
equ OIWIN_BITMAP$ to "BITMAP"
equ OIWIN_EDITBOX$ to "EDITBOX"
equ OIWIN_GROUPBOX$ to "GROUPBOX"
equ OIWIN_SCROLLBAR$ to "SCROLLBAR"
equ OIWIN_DATATABLE$ to "EDITTABLE"
equ OIWIN_TABCONTROL$ to "TABCONTROL"
equ OIWIN_RADIOBMP$ to "RADIOBMP"
equ OIWIN_CHECKBMP$ to "CHECKBMP"
equ OIWIN_PUSHBMP$ to "PUSHBMP"
equ OIWIN_RTFBOX$ to "RTFBOX" ; // No longer valid in OI 7
equ OIWIN_RICHEDITBOX$ to "RICHEDITBOX"
equ OIWIN_OLECONTROL$ to "OLECONTROL"
equ OIWIN_WINCONTROL$ to "WINCONTROL"
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////
// SYSREPOSWINS row structures @rm delimited ------
equ WINSRC_HEADER$ to 1
equ WINSRC_WINDOW$ to 2
equ WINSRC_CONTROLS$ to 3
equ WINSRC_MENU$ to 4
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////
// SYSREPOSWINEXES row structures @rm delimited ------
equ WINOBJ_CONTROLS$ to 1
equ WINOBJ_JOINMAPS$ to 2
equ WINOBJ_ROWMAPS$ to 3
equ WINOBJ_MASTERROWMAP$ to 4
equ WINOBJ_CONTROLMAPS$ to 5
equ WINOBJ_KEYMAP$ to 6
equ WINOBJ_CONTROLSEMS$ to 7
equ WINOBJ_RESMAP$ to 8
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////
oiwin_JoinSpec__:
// OIWIN Join Spec structure (source only)
equ JSPEC_TABLENAME$ to 1
equ JSPEC_JOIN_COLUMNS$ to 2
equ JSPEC_JOIN_CONTROLS$ to 3
equ JSPEC_JOIN_FUNCTION$ to 4
equ JSPEC_JOIN_PRED$ to 5
equ JSPEC_KEY_CONTROLS$ to 6
equ JSPEC_INSERT_FLAG$ to 7
equ JSPEC_UPDATE_FLAG$ to 8
equ JSPEC_DELETE_FLAG$ to 9
equ JSPEC_IMPL_DELETE_FLAG$ to 10
equ JSPEC_CONTROL_NAME$ to 1
equ JSPEC_CONTROL_LABEL$ to 2
equ JSPEC_CONTROL_INDEX$ to 3 ;* Used to specify column in edit table
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////
// OIWINEXE structure (SYSREPOSWINEXES records)
//
// record is @rm-delim'd array of control definitions, join maps, row maps,
// master row map, control map, key map;
//
// use oiwin_comm_init or oiwin_comm_init_ex insert to access
////////////////////////////////////////////////////////////////////////////
// Control Map (controlMap@)
////////////////////////////////////////////////////////////////////////////
// Control List (controlList@) -- associated with Control Map
// see PS_EQUATES for layout
////////////////////////////////////////////////////////////////////////////
oiwin_JoinMap__:
// Join Map structure (joinMap@)
equ JMAP_TABLENAME$ to 1
equ JMAP_JOIN_COLUMNS$ to 2
equ JMAP_JCOLUMN_POS$ to 3
equ JMAP_JCOLUMN_PART$ to 4
equ JMAP_JOIN_FIELDS$ to 5 ; // position(s) in masterRowMap@
equ JMAP_JOIN_FUNCTION$ to 6
equ JMAP_JOIN_PRED$ to 7
equ JMAP_KEY_CONTROLS$ to 8
equ JMAP_KEY_FIELDS$ to 9
equ JMAP_INSERT_FLAG$ to 10
equ JMAP_UPDATE_FLAG$ to 11
equ JMAP_DELETE_FLAG$ to 12
equ JMAP_IMPL_DELETE_FLAG$ to 13
equ JMAP_READ_OPTIM$ to 14
equ JMAP_DBCOMP_CLASS$ to 15
////////////////////////////////////////////////////////////////////////////
oiwin_RowMap__:
// Per-table Row Map structure (rowMaps@)
equ RMAP_COLUMN$ to 1
equ RMAP_POS$ to 2
equ RMAP_PART$ to 3
equ RMAP_FIELD$ to 4 ; // position in masterRowMap@
equ RMAP_CONV$ to 5
equ RMAP_VALID$ to 6
equ RMAP_MV$ to 7
////////////////////////////////////////////////////////////////////////////
oiwin_MasterRowMap__:
// Master Row Map structure (masterRowMap@)
equ MRMAP_CONTROL$ to 1 ;* name of control
equ MRMAP_INDEX$ to 2 ;* index (column) of control (if edit table)
equ MRMAP_TYPE$ to 3 ;* type of control
equ MRMAP_CTLPOS$ to 4 ;* position of control in control list
equ MRMAP_TABPOS$ to 5 ;* Table number field/control is associated with
////////////////////////////////////////////////////////////////////////////
oiwin_KeyMap__:
// Key Map structure (keyMap@)
equ KMAP_CONTROL$ to 1
equ KMAP_TYPE$ to 2
equ KMAP_CTLPOS$ to 3 ; // position of control in control list
////////////////////////////////////////////////////////////////////////////
oiwin_ControlSemantics__:
// Control Semantics (controlSemantics@) -- associated with Control Map
equ CS_TABLE$ to 1
equ CS_COLUMN$ to 2
equ CS_IOOPTIONS$ to 2 ; // Aliased - Only for WINDOW objects
equ CS_POS$ to 3
equ CS_PART$ to 4
equ CS_CONV$ to 5
equ CS_VALID$ to 6
equ CS_MV$ to 7
equ CS_EVENTS$ to 8
equ CS_EVENT_HDLR$ to 9
equ CS_QBFSTATUS$ to 10
equ CS_LOSTFOCUS$ to 11 ; // True if any condition needs evaluation on losfocus (optim)
equ CS_SIBLING_CTLS$ to 12 ; // positions of sibling controls for update
equ CS_TABLEKEY$ to 13 ; // # of table this is key part for (for autoread and subrefetch)
equ CS_RECALC$ to 14 ; // list of controls to send recalcs to on change
equ CS_GOTFOCUS_VALUE$ to 16 ; // Now stored in UDP
equ CS_SAVEWARN$ to 16 ; // aliased - Only for WINDOW objects
equ CS_REQUIRED$ to 17
equ CS_DEFAULT$ to 18
equ CS_NOTESINFO$ to 19 ; // Deprecated - Lotus Notes specific information
equ CS_DATASETINFO$ to 20 ; // Deprecated - DataSet specific information
equ CS_DBCOMP_CLASS$ to 21 ; // class of DBCOMPONENT.
equ CS_VALIDMSG$ to 22
equ CS_COMMUTERMODULE$ to 23 ; // For WINDOW objects only
equ CS_COMMONLIST$ to 24 ; // List of "attached" labelled common names
// CS_DBCOMP_CLASS$ equates (DSO and Notes removed)
equ DBCOMPCLASS_NATIVE$ to ""
// QBF State equates
equ CS_QBFSTATUS_ENABLED$ to 1
equ CS_QBFSTATUS_READONLY$ to 2
equ CS_QBFSTATUS_EDITMODE$ to 3
equ CS_QBFSTATUS_SKIPMODE$ to 4
equ CS_QBFSTATUS_VALUE$ to 5
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////
// Resolution Map equates
//
// Resolution map is used at load time to determine which and what
// location resolution need to be performed. It is a sort of run-time
// link map for windows
equ RESMAP_CTLN$ to 1
equ RESMAP_ICORES$ to 2
equ RESMAP_BMPRES$ to 3
equ RESMAP_NOTESRES$ to 4
equ RESMAP_DSRES$ to 5
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////
oiwin_IOOoptions__:
// IOOPTIONS property File I/O Options flags and modes equates
// References the CS_COLUMN$ attribute of semantics for the window
//
// The following options are not used by OI:
//
// FIO_LOCKSUB$
// FIO_QUOTEPARAMS$
//
// The following equate names have been deprecated:
//
// FIO_WRITECLEAR$
// FIO_NOCOMMIT$
// FIO_ROLLBACKONCLEAR$
// FIO_REQONSAVEONLY$
//
// The following options are not exposed because they cannot be used
//
// FIO_LOCKMODE$
equ FIO_LOCKMODE$ to 1 ; * 0 Pessemistic locking; 1 Optimistic Locking
equ FIO_LOCKLEVEL$ to 2 ; * Mode Pessimistic Optimistic
; * 0 Exclusive Compare All
; * 1 Shared Compare Changes
; * 2 No Lock No Comparison
equ FIO_LOCKCOORD$ to 3 ; * Do File Coord locks
equ FIO_LOCKSELF$ to 4 ; * 1 - Self locks OK
equ FIO_NOWRITECLEAR$ to 6 ; * Equate is aliased to make more sense!
equ FIO_REQONWRITEONLY$ to 10 ; * 1 - Check required field on WRITE only (not on LOSTFOCUS)
equ FIO_REQONSAVEONLY$ to FIO_REQONWRITEONLY$ ; // synonym
equ FIO_QBFFIREREAD$ to 11 ; * 0 - OBF Load only, 1 - Fire a READ event after a QBF load; 2 - READ event only
equ FIO_NUMERICCOMPARE$ to 12 ; * 1 - Write logic calculates changes using standard comparison
; * (instead of forcing string comparison)
equ FIO_WRITEMODE$ to 13 ; * 0 - Write controls only
; * 1 - Write entire Row
equ FIO_WRITEATRECORD$ to FIO_WRITEMODE$ ; // synonym
equ FIO_LOADPREVALWAYS$ to 14 ; * 1 - Load PrevResultRow@ on a read as well as a save
equ FIO_SUPPRESSSAVEWARN$ to 15 ; * 1 - Don't check SAVEWARN before CLEAR/CLOSE
equ FIO_ALLOWFORMSTATE$ to 16 ; * 1 - Allow FORMSTATECHANGED processing
equ FIO_ALLOWSEQKEYRESET$ to 17 ; * 1 - Allow "=" at key prompt to reset %SK%
// Deprecated ... (try not to use them - left here for backwards compatibility!)
equ FIO_LOCKSUB$ to 5 ; * 1 - Ignore subrows that are locked
equ FIO_WRITECLEAR$ to 6 ; * 0 - Clear on write; 1 - Don't clear on write
equ FIO_NOCOMMIT$ to 7 ; * 1 - Don't commit transaction after commiting DSOs
equ FIO_NOROLLBACK$ to 8 ; * 1 - Don't rollback transacion if commiting DSOs failed
equ FIO_ROLLBACKONCLEAR$ to 9 ; * 1 - Rollback transaction when clearing the form
equ FIO_QUOTEPARAMS$ to 11 ; * 1 - Quote the quotes before setting DSO arguments in DSOSETPARAM event
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////
// OIWIN_RESULTROW equates:
// SET method MODE (param2)
equ ORR_MODE_ALL$ to 0 ; // or ""
equ ORR_MODE_TABLELIST$ to 1
equ ORR_MODE_CONTROLLIST$ to 2
equ ORR_MODE_CONTROLLISTEX$ to 3
// SET method FLAGS ( param4 )
equ ORR_FLAG_NEWREC$ to 0x00000001 ; // Use ORIG_ when data is null
equ ORR_FLAG_PREVLOAD$ to 0x00000002 ; // No key prompts
equ ORR_FLAG_UPDATEORIG$ to 0x00000004 ; // Update origResultRow@
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////
// CLOSE event equates
// CloseFlags parameter
//
// <1> If TRUE$ then suppress savewarn processing
equ OIW_CSF_POS_NOSAVEWARN$ to 1
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////
// LOSTFOCUS event equates
// Flag parameter - Specifies how the control has lost the focus
//
// 0 - Control has lost focus, and focus has moved to
// another application's window.
//
// 1 - Control has lost focus, and focus has moved to
// a different OpenInsight control.
//
// 2 - This LOSTFOCUS event was generated as a response
// to a MENU event (or programatically generated)
equ OIW_LFF_OTHERAPP$ to 0
equ OIW_LFF_OICONTROL$ to 1
equ OIW_LFF_MENU$ to 2
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////
#endif
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////