Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Response window disappears.

Status
Not open for further replies.

pbp

Programmer
Jul 25, 2002
8
US
Hello,

I am facing an unusual behaivour of a Response Window.
The story goes as follows:

It is a large application in PB6.5( i sence some smiles).
In the application we have the following order of screens:
Frame
Response ( inherited from pfc's w_response)
Sheet ( inherited from pfc's w_sheet)
Response ( inherited from pfc's w_response)
Response ( inherited from pfc's w_response).

All of them open in order and the response windows, of course, stay open untill some feedback is passed back.

Now, the last window shows SQL statement, which user selects, copies and pastes it to Excel, Access.. whatever.
THEN, the user clicks on the application icon on the taskbar to bring the application up. BUT....the last response window is not there, the previous window is displayed and frozen ( as no data was passed back). The application has to be shut down thru task manager. In addition to that, when user attempts to switch between the programs thru Alt+Tab, the application's icon is not there.

Did anyone experience anything like this? Please answer as I am going nuts!

Thanks for possible relief.
 
How are you opening the response windows?
Remember the script that opens the response window will wait until the response window closes to finish running.
 
Are you opening your windows in this order:

1. Frame
2. Response ( inherited from pfc's w_response)
3. Sheet ( inherited from pfc's w_sheet)
4. Response ( inherited from pfc's w_response)
5. Response ( inherited from pfc's w_response)

I guess opening the sheet (2) after a response is opened (1) and opening two more responses (4,5) may a bad idea. You can only open more response windows once a response window is opened. Do not open any sheets from within a response until all responses are closed.

If nothing works, try updating your version to 6.5.1 by applying the free EBF patches from Sybase.com.

---
PowerObject!
-----------------------------------------
PowerBuilder / PFC Developers' Group
 
Thank you, Powerobject,

We are in 6.5.1 (I had to indicate it in the beginning).
I agree that the order of screens is not attractive. It was build over time and the last 2 response windows were added recently.
Can you think of any event which I can debug?
As far as I saw, any of the close events are not happening.
The window just dissapears when I click on the Appl. icon to return to the Appl., not when I choose Excel.

I tried the same sequence in a different part of application. It works fine.
 
this is an expected behaviour when you have more than one response windows open.

If you have more than one response windows open, you should close them in the same order to return focus to ur app

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top