added sysprog entities
This commit is contained in:
66
SYSPROG/STPROCINS/OIWIN_SYSMSG_EQUATES.txt
Normal file
66
SYSPROG/STPROCINS/OIWIN_SYSMSG_EQUATES.txt
Normal file
@ -0,0 +1,66 @@
|
||||
compile insert oiwin_SysMsg_Equates
|
||||
/*
|
||||
** Copyright (C) 1992-2021 Revelation Software Inc. All Rights Reserved **
|
||||
|
||||
Author : Captain C
|
||||
Date : Jan 2021
|
||||
Purpose : Constants for working with the SYSMSG event
|
||||
|
||||
|
||||
Comments
|
||||
========
|
||||
|
||||
|
||||
Amended Date Reason
|
||||
======= ==== ======
|
||||
Mr C 01 Feb 21 Added SYSMSG_RESETSKERR$
|
||||
*/
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
#ifndef _OIWIN_SYSMSG_EQUATES_
|
||||
#define _OIWIN_SYSMSG_EQUATES_
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// Common "Cancel Flag" return values
|
||||
|
||||
equ RESP_SAVE$ to 1
|
||||
equ RESP_CONTINUE$ to 2
|
||||
equ RESP_CANCEL$ to 3
|
||||
equ RESP_YES$ to 1
|
||||
equ RESP_NO$ to 2
|
||||
equ RESP_OK$ to ""
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// SYSMSG codes
|
||||
|
||||
equ SYSMSG_SAVEWARN$ to 1 ; // Data may be lost, save first warning
|
||||
equ SYSMSG_DELETEWARN$ to 2 ; // Verify delete message
|
||||
equ SYSMSG_VALIDERR$ to 3 ; // Data Validation error
|
||||
equ SYSMSG_REQUIREERR$ to 4 ; // Required control value error
|
||||
equ SYSMSG_READERR$ to 5 ; // Error reading row
|
||||
equ SYSMSG_READSUBERR$ to 6 ; // Error reading subsidiary row
|
||||
equ SYSMSG_LOCKERR$ to 7 ; // Error locking row
|
||||
equ SYSMSG_SUBLOCKERR$ to 8 ; // Error locking subsidiary row - unused
|
||||
equ SYSMSG_WRITELOCKERR$ to 9 ; // Do not have lock at write time
|
||||
equ SYSMSG_NOHELPINFO$ to 10 ; // No help avail
|
||||
equ SYSMSG_NOOPTIONSINFO$ to 11 ; // No option avail
|
||||
equ SYSMSG_NEWROWINFO$ to 12 ; // New row informational - null msg
|
||||
equ SYSMSG_QBFABSPROMPT$ to 13 ; // QBF Absolute prompt message
|
||||
equ SYSMSG_QBFINITOFF$ to 14 ; // Can't execute - not in init mode
|
||||
equ SYSMSG_NULLKEYERR$ to 15 ; // Null key - cannot read or write
|
||||
equ SYSMSG_NOLOCKERR$ to 16 ; // Row not locked - cannot save or delete
|
||||
equ SYSMSG_OVERWRITE$ to 17 ; // Record exists on write-without-read
|
||||
equ SYSMSG_DELETEERR$ to 18 ; // Error deleting a row
|
||||
equ SYSMSG_CHANGEWARN$ to 20 ; // Data may be lost warning - NO SAVE option!
|
||||
equ SYSMSG_SAVEWARNINFO$ to 21 ; // Save warn has been changed - null msg
|
||||
equ SYSMSG_READQBFCLOSE$ to 22 ; // Viewing this entry will close the current QBF session
|
||||
equ SYSMSG_RESETSKERR$ to 23 ; // Error resetting sequential key counter
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
#endif
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
///////////////////////////////////////////////////////////////////////////////
|
Reference in New Issue
Block a user