Just had a need to use the cTimer class.

Went to the Help (https://docs.dataaccess.com/dataflex...Ref/cTimer.htm) and copied the sample code:
Code:
Use cTimer.pkg


Class cAutoCompleteTimer is a cTimer


    Procedure Construct_Object
        Forward Send Construct_Object
        Property Handle phoTimerOwner 0
        Set piTimeout to 50
    End_Procedure
  
    Procedure OnTimer 
        Handle hoOwner
        Get phoTimerOwner to hoOwner
        // do this in case progam close destroys owner before timer
        Get Object_Id of hoOwner to hoOwner
        If hoOwner Begin
            Send OnAutoSuggestTimer to hoOwner
        End
        Else Begin
            // something wrong, shut off timer
            Set pbEnabled to False   
        End                                
    End_Procedure
    
End_Class
Then got the compile error: Error 4306: C:\ ... blah ... Forward reference not resolved GET_PHOTIMEROWNER.

Maybe fix the Help? Also "progam" isn't a real word. (BTW, the Help link "E-Mail us suggested improvements for this Topic" does not work for those of us who have moved beyond letting Outlook screw up our e-mail.)

Mike