I've created a user defined window where i'm displaying a report. I've also created a toolbar that helps me advance forwards and backwards. I've createde an "exit" button on my user defined toolbar and in the click event i've placed DEACTIVATE WINDOW rptWindow, where rptWindow is the name of my user defined window, but it doesn't close it at all.
But if i use the EXIT button on vfp's Print Preview toolbar, then the user defined window is closed.
I'ver tried DEACTIVATE WINDOW, RELEASE WINDOW even tried hiding it, but it doesn't work.
Does anyone have an idea of what i should do !? Thanks in advanced !
![[afro] [afro] [afro]](/data/assets/smilies/afro.gif)
But if i use the EXIT button on vfp's Print Preview toolbar, then the user defined window is closed.
I'ver tried DEACTIVATE WINDOW, RELEASE WINDOW even tried hiding it, but it doesn't work.
Does anyone have an idea of what i should do !? Thanks in advanced !
![[afro] [afro] [afro]](/data/assets/smilies/afro.gif)