46 lines
		
	
	
		
			1.9 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			46 lines
		
	
	
		
			1.9 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| compile insert rti_DefProp_Equates
 | |
| /*
 | |
|    ** Copyright (C) 2012-2013 Revelation Software Inc. All Rights Reserved **
 | |
|    
 | |
|    Author    Mr C
 | |
|    Date      October 2013
 | |
|    Purpose   Equates for use with the DEFPROP porperty
 | |
|    
 | |
|    The DEFPROP handler can be a PS property name OR it can be the name of 
 | |
|    a Basic+ routine to call to handle the DEFPROP.  If the latter it must 
 | |
|    have the following interface:
 | |
|    
 | |
|       defPropVal = DefPropHandler( ctrlEntID, flags, newValue, index )
 | |
|    
 | |
|          ctrlEntID -> ID of the control to get the value for 
 | |
|          flags     -> Denotes if this is a GET or SET/SETONLY request
 | |
|          newValue  -> The new value if this is a SET/SETONLY operation
 | |
|          index     -> Property index:
 | |
|                         <1> Col
 | |
|                         <2> Row
 | |
|                         
 | |
|    When stored in the meta info record a DEFPROP handler proc is prefixed with
 | |
|    a "$".
 | |
|    
 | |
|    Amended      Date         Reason
 | |
|    =======      ====         ======
 | |
|    
 | |
| */
 | |
| ///////////////////////////////////////////////////////////////////////////////
 | |
| ///////////////////////////////////////////////////////////////////////////////
 | |
| #ifndef _RTI_DEFPROP_EQUATES_
 | |
| #define _RTI_DEFPROP_EQUATES_
 | |
| ///////////////////////////////////////////////////////////////////////////////
 | |
| ///////////////////////////////////////////////////////////////////////////////
 | |
| 
 | |
|    * // Property operation flags for handler,
 | |
|    equ DP_PROPFLAG_NONE$                to 0x0000
 | |
|    equ DP_PROPFLAG_GET$                 to 0x0001
 | |
|    equ DP_PROPFLAG_SET$                 to 0x0002
 | |
| 
 | |
| ///////////////////////////////////////////////////////////////////////////////
 | |
| ///////////////////////////////////////////////////////////////////////////////
 | |
| #endif
 | |
| ///////////////////////////////////////////////////////////////////////////////
 | |
| ///////////////////////////////////////////////////////////////////////////////
 |