108 lines
		
	
	
		
			5.0 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			108 lines
		
	
	
		
			5.0 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| compile insert rti_IDE_Open_Record_Equates
 | |
| /*
 | |
|    ** Copyright (C) 2012-2017 Revelation Software Inc. All Rights Reserved **
 | |
|    
 | |
|    This  program  is  proprietary and is not  to be used  by or  disclosed
 | |
|    to others, nor is it to be copied without written permission from
 | |
|    Revelation Technologies, Inc.
 | |
|    
 | |
|    Author   : Captain C
 | |
|    Date     : March 2016
 | |
|    Purpose  : Equates for use with the RTI_IDE_OPEN_RECORD dialog
 | |
|    
 | |
|    Comments
 | |
|    ========
 | |
|    
 | |
|    Amended  Date        Reason
 | |
|    =======  ====        ======
 | |
|    mtr      12 Oct 17   Added ODE_OPNREC_WARNTHRESHOLD$
 | |
| */   
 | |
| ///////////////////////////////////////////////////////////////////////////////
 | |
| ///////////////////////////////////////////////////////////////////////////////
 | |
| #ifndef _RTI_IDE_OPEN_RECORD_EQUATES_
 | |
| #define _RTI_IDE_OPEN_RECORD_EQUATES_
 | |
| ///////////////////////////////////////////////////////////////////////////////
 | |
| ///////////////////////////////////////////////////////////////////////////////
 | |
| 
 | |
|    equ ODE_OPNREC_PROGRESSTHRESHOLD$            to 500
 | |
|    equ ODE_OPNREC_YIELDTHRESHOLD$               to 50
 | |
|    equ ODE_OPNREC_WARNTHRESHOLD$                to 50000
 | |
|    
 | |
| ///////////////////////////////////////////////////////////////////////////////
 | |
| ///////////////////////////////////////////////////////////////////////////////
 | |
| 
 | |
|    // UDPs
 | |
|    equ IDE_OPNREC_UDP_CREATEPARAM$              to "@_$$_IDEOPENREC_CREATEPARAM" ; // @window
 | |
|    equ IDE_OPNREC_UDP_CREATEOK$                 to "@_$$_IDEOPENREC_CREATEOK"    ; // @window
 | |
|    equ IDE_OPNREC_UDP_CACHEINFO$                to "@_$$_IDEOPENREC_CACHEINFO"   ; // SYSTEM
 | |
| 
 | |
| ///////////////////////////////////////////////////////////////////////////////
 | |
| ///////////////////////////////////////////////////////////////////////////////
 | |
| 
 | |
|    // Icons
 | |
|    equ IDE_OPNREC_ICO_OPEN$                     to "RTI_IDE_OPEN_RECORD"
 | |
|    equ IDE_OPNREC_ICO_SAVE$                     to "RTI_IDE_OPEN_RECORD_SAVE"
 | |
|    
 | |
| ///////////////////////////////////////////////////////////////////////////////
 | |
| ///////////////////////////////////////////////////////////////////////////////
 | |
| 
 | |
|    // CREATE event CreateParam equates
 | |
|    //
 | |
|    // <1> Mode               - FALSE$ for "Open", TRUE$ for "Save"
 | |
|    // <2> Table ID           - Table name to pre-select
 | |
|    // <3> Record ID          - Record name to pre-select
 | |
|    // <4> NoMulti            - TRUE$ to disable multiselect mode
 | |
|    // <5> xPos               - X position to use for display
 | |
|    // <6> yPos               - Y position to use for display
 | |
|    // <7> Dialog title       - Text to put in the dialog caption bar 
 | |
|    // <8> MustExistFlag      - If TRUE$ then only allow selection of preexisting
 | |
|    //                          records (this is the default for open)
 | |
|     
 | |
|    equ IDE_OPNREC_CREATEPARAM_MODE$             to 1
 | |
|    equ IDE_OPNREC_CREATEPARAM_TABLEID$          to 2
 | |
|    equ IDE_OPNREC_CREATEPARAM_RECORDID$         to 3
 | |
|    equ IDE_OPNREC_CREATEPARAM_NOMULTISEL$       to 4
 | |
|    equ IDE_OPNREC_CREATEPARAM_XPOS$             to 5
 | |
|    equ IDE_OPNREC_CREATEPARAM_YPOS$             to 6
 | |
|    equ IDE_OPNREC_CREATEPARAM_TITLE$            to 7
 | |
|    equ IDE_OPNREC_CREATEPARAM_EXISTSFLAG$       to 8
 | |
|    
 | |
| ///////////////////////////////////////////////////////////////////////////////
 | |
| ///////////////////////////////////////////////////////////////////////////////
 | |
| 
 | |
|    // IDE_OPNREC_CREATEPARAM_XPOS$ constants - @vm positions
 | |
|    equ IDE_OPNREC_XPOS_VALUE$                  to 1 ; // In parent scale units
 | |
|    equ IDE_OPNREC_XPOS_ALIGNR$                 to 2 ; // TRUE$ if xpos is right-align
 | |
|    equ IDE_OPNREC_XPOS_SCREEN$                 to 3 ; // TRUE$ if xpos is screen X
 | |
|    
 | |
|    // IDE_OPNREC_CREATEPARAM_YPOS$ constants - @vm positions
 | |
|    equ IDE_OPNREC_YPOS_VALUE$                  to 1 ; // In parent scale units
 | |
|    equ IDE_OPNREC_YPOS_ALIGNB$                 to 2 ; // TRUE$ if yPos is bottom-align
 | |
|    equ IDE_OPNREC_YPOS_SCREEN$                 to 3 ; // TRUE$ if yPos is screen Y
 | |
| 
 | |
| ///////////////////////////////////////////////////////////////////////////////
 | |
| ///////////////////////////////////////////////////////////////////////////////
 | |
| 
 | |
|    // RTI_IDE_CFG constants
 | |
|    //
 | |
|    // An array of persitent data for the dialog is saved in the IDE config 
 | |
|    // record as an MV'd list. 
 | |
|    //
 | |
|    //   <0,1> Show DICT tables
 | |
|    //   <0,2> Show Index tables
 | |
|    //   <0,3> Show System tables
 | |
|    //   <0,4> Multi-Select mode
 | |
|    //   <0,5> Mixed Case mode
 | |
|    
 | |
|    equ IDE_OPENREC_CFG_SHOWDICTTABLES$           to 1
 | |
|    equ IDE_OPENREC_CFG_SHOWINDEXTABLES$          to 2
 | |
|    equ IDE_OPENREC_CFG_SHOWSYSTEMTABLES$         to 3
 | |
|    equ IDE_OPENREC_CFG_MULTISELECT$              to 4
 | |
|    equ IDE_OPENREC_CFG_MIXEDCASE$                to 5
 | |
|    
 | |
| ///////////////////////////////////////////////////////////////////////////////
 | |
| ///////////////////////////////////////////////////////////////////////////////
 | |
| #endif
 | |
| ///////////////////////////////////////////////////////////////////////////////
 | |
| ///////////////////////////////////////////////////////////////////////////////
 |