View Complete Thread | FoxWeb Forum Home
Search:
Date:    Msg ID:   
From:    Thread:   
Subject:   


I'm a junior programmer just getting my feet wet with VFP6 (actually I'm up to my waist!)  My company wants me to use a browse in a form.  Here's the problem:  I have a table with a memo field that activates a window which users can type additional information.  It appears after the user does a CTRL+PGDN in a browse window.  I want to keep the user from using CTRL+W to quickly in the form thereby closing both windows instead of just the top one (memo).  Is there any way to reference this window for error trapping?

i.e. 
        If window active
            close window
        else
            close browse
        endif

Any help is greatly appreciated.  Thanks.

Colin