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

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?

        If window active
            close window
            close browse

Any help is greatly appreciated.  Thanks.