Compile function Start_Window_Listener(WindowID, ParentID, CmdLine, GetStructureFlag, Instance)

    $Insert LOGICAL

    Declare function Start_Window_Redirect, Datetime
    Declare subroutine Database_Services
    
*    EventTime = Datetime()
*    Database_Services('WriteDataRow', 'FORM_METRICS', WindowID:'*':@User4:'*':EventTime, '', True$, False$, False$)
    
    Ans = Start_Window_Redirect(WindowID, ParentID, CmdLine, GetStructureFlag, Instance)
    
Return Ans

