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

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

  File: 

  Description: from cntnrwin.w - ADM SmartWindow Template

  Input Parameters:
      <none>

  Output Parameters:
      <none>

  History: New V9 Version - January 15, 1998
          
------------------------------------------------------------------------*/

Parameters:

    INPUT hItemDataSource AS HANDLE  /* Local Variable Definitions --- */

Procedures Summary:


Functions Summary:


Procedures:

adm-create-objects
    /*------------------------------------------------------------------------------
      Purpose:     Create handles for all SmartObjects used in this procedure.
                   After SmartObjects are initialized, then SmartLinks are added.
      Parameters:  <none>
    ------------------------------------------------------------------------------*/
    
createObjects
    /*------------------------------------------------------------------------------
      Purpose:     Super Override
      Parameters:  
      Notes:       
    ------------------------------------------------------------------------------*/
    
destroyObject
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
enable_UI
    /*------------------------------------------------------------------------------
      Purpose:     ENABLE the User Interface
      Parameters:  <none>
      Notes:       Here we display/view/enable the widgets in the
                   user-interface.  In addition, OPEN all queries
                   associated with each FRAME and BROWSE.
                   These statements here are based on the "Other 
                   Settings" section of the widget Property Sheets.
    ------------------------------------------------------------------------------*/
    
exitObject
    /*------------------------------------------------------------------------------
      Purpose:  Window-specific override of this procedure which destroys 
                its contents and itself.
        Notes:  
    ------------------------------------------------------------------------------*/
    
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 .
getCurrentPage
    /* Preprocs to identify to compiler which properties are in the temp-table.*/
    
    FUNCTION getCurrentPage RETURNS INTEGER 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 .
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