On Close of window the postquery_close event should not called

There is one button such as “Close” which is used to close window and call Postquery_close event on click of this button only.When i am directly closing the window by clicking the “x” in the window , it is also calling the PostQuery_close event.

i want to call “PostQuery_Close” event only when i will click the button, it should n’t called when i close the window directly by clicking “X” of window bar properties.

please treat it as urgent.

Rupesh kumar Routray

ITS,Tata Steel Ltd.

Subject: On Close of window the postquery_close event should not called.

Please, tell me briefly , Regarding my Problem.

Subject: RE: On Close of window the postquery_close event should not called.

ok

please, post the code you want to be executed within the PostQueryClose, I will tell you.

ian

Subject: On Close of window the postquery_close event should not called.

Hi

1st) urgent means that someone’s may be hurted

2nd) The events could not be bypassed, e.g queryclose NEEDS to be fired when you click on the ‘X’

3rd) Consider moving your code somewhere else (in the close action for instance ?)

HTH