c:\spider2\sports2000\gui\stxtfld.w

/*------------------------------------------------------------------------

  File:

  Description: from FIELD.W - Template for ADM2 SmartDataField object

  Created: June 1999 -- Progress Version 9.1A

------------------------------------------------------------------------*/

Parameters:

    None

Procedures Summary:


Functions Summary:


Procedures:

destroyObject
disableField
    /*------------------------------------------------------------------------------
      Purpose:   Disable the field   
      Parameters:  <none>
      Notes:    SmartDataViewer:disableFields will call this for all Objects of type
                PROCEDURE that it encounters in the EnableFields Property.  
                The developer must add logic to disable the actual SmartField.    
    ------------------------------------------------------------------------------*/
    
disable_UI
    /*------------------------------------------------------------------------------
      Purpose:     DISABLE the User Interface
      Parameters:  <none>
      Notes:       Here we clean-up the user-interface by deleting
                   dynamic widgets we have created and/or hide 
                   frames.  This procedure is usually called when
                   we are ready to "clean-up" after running.
    ------------------------------------------------------------------------------*/
    
displayLinks
enableField
    /*------------------------------------------------------------------------------
      Purpose:   Enable the field   
      Parameters:  <none>
      Notes:    SmartDataViewer:enableFields will call this for all Objects of type
                PROCEDURE that it encounters in the EnableFields Property.  
                The developer must add logic to enable the SmartField.    
    ------------------------------------------------------------------------------*/
    
initializeObject
repositionObject
    INPUT pdCol AS DECIMAL  
    INPUT pdRow AS DECIMAL  
start-super-proc
    /*------------------------------------------------------------------------------
      Purpose:     Procedure to start a super proc if it's not already running, 
                   and to add it as a super proc in any case.
      Parameters:  Procedure name to make super.
      Notes:       NOTE: This presumes that we want only one copy of an ADM
                   super procedure running per session, meaning that they are 
                   stateless and "multi-threaded". This is intended to be the case
                   for ours, but may not be true for all super procs.
    ------------------------------------------------------------------------------*/
    
    INPUT pcProcName AS CHARACTER  

Functions:

anyMessage
    FUNCTION anyMessage RETURNS LOGICAL IN SUPER .
fetchMessages
    FUNCTION fetchMessages RETURNS CHARACTER IN SUPER .
getDataModified
    FUNCTION getDataModified RETURNS LOGICAL IN SUPER .
getDataValue
    FUNCTION getDataValue RETURNS CHARACTER ( ) FORWARD .
getDisplayField
    FUNCTION getDisplayField RETURNS LOGICAL IN SUPER .
getEnableField
    FUNCTION getEnableField RETURNS LOGICAL IN SUPER .
getFieldEnabled
    FUNCTION getFieldEnabled RETURNS LOGICAL IN SUPER .
getFieldName
    FUNCTION getFieldName RETURNS CHARACTER IN SUPER .
getObjectType
    FUNCTION getObjectType RETURNS CHARACTER ( ) FORWARD .
getObjectVersion
    FUNCTION getObjectVersion RETURNS CHARACTER IN SUPER .
getUIBMode
    FUNCTION getUIBMode RETURNS CHARACTER IN SUPER .
getUserProperty
    FUNCTION getUserProperty RETURNS CHARACTER ( INPUT pcPropName AS CHARACTER INPUT ) IN SUPER .
linkHandles
    FUNCTION linkHandles RETURNS CHARACTER ( INPUT pcLink AS CHARACTER INPUT ) IN SUPER .
messageNumber
    FUNCTION messageNumber RETURNS CHARACTER ( INPUT piMessage AS INTEGER INPUT ) IN SUPER .
setDataModified
    FUNCTION setDataModified RETURNS LOGICAL ( INPUT plModified AS LOGICAL INPUT ) IN SUPER .
setDataValue
    FUNCTION setDataValue RETURNS LOGICAL ( pcComments AS CHARACTER ) FORWARD .
setDisplayField
    FUNCTION setDisplayField RETURNS LOGICAL ( INPUT plDisplay AS LOGICAL INPUT ) IN SUPER .
setEnableField
    FUNCTION setEnableField RETURNS LOGICAL ( INPUT plEnable AS LOGICAL INPUT ) IN SUPER .
setFieldEnabled
    FUNCTION setFieldEnabled RETURNS LOGICAL ( INPUT plEnabled AS LOGICAL INPUT ) IN SUPER .
setFieldName
    /* These preprocessors tell at compile time which properties can be
         retrieved directly from the temp-table. */
    
    FUNCTION setFieldName RETURNS LOGICAL ( INPUT pcField AS CHARACTER INPUT ) IN SUPER .
setUserProperty
    /* These preprocessors let the get and set methods know at compile time
        which property values are located in the temp-table and which must
        be accessed through the property functions.
     */
    
    FUNCTION setUserProperty RETURNS LOGICAL ( INPUT pcPropName AS CHARACTER INPUT , INPUT pcPropValue AS CHARACTER INPUT ) IN SUPER .
Top