Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.

Join the TIBCO Community
TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.

  • From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
  • Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
  • Request access to the private WebFOCUS User Group (login required) to network with fellow members.

Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     Maintain "Winform Close" Not Closing Forms

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Maintain "Winform Close" Not Closing Forms
 Login/Join
 
Gold member
posted
We have maintain programs that show various forms so that the users can enter information on the appropriate form. I do a "winform close" after each form before I "show" the next form and a final "winform close_all" to exit the program. But there are forms left open so that the users has to click the exit button multiple times to close all the forms and exit the program.

Is there a solution to the "Winform close" not closing forms? Would an upgrade from 7.6.0 solve this problem? We are on a Windows Server.

Kent

This message has been edited. Last edited by: KentO,


Windows2003 Server, WebFOCUS 7.7.02 Developers Studio and MRE
 
Posts: 63 | Location: Ft. Wayne, IN | Registered: February 20, 2007Report This Post
Virtuoso
posted Hide Post
Kent

For there to be multiple forms needing CLOSEing, then these could not have been properly closed before opening another form. Are you using a driver type syntax as explained here?

I've never had a problem when using this type of technique on any version from 4.3 to 7.6.


Alan.
WF 7.705/8.007
 
Posts: 1451 | Location: Portugal | Registered: February 07, 2007Report This Post
Master
posted Hide Post
Kent
The problem may be this: You cannot have code after a window close statement. If you have a trigger on a form that has:

Winform Close currentform
Winform Show NextForm

Maintain gets confused. The Close SHOULD terminate any activity on this form, but you are then telling it to go and do something else. This may be why forms are getting left behind.

The easiest way around this is to have a parent form, and have all forms return to the parent before displaying the next form.

Mark
 
Posts: 663 | Location: New York | Registered: May 08, 2003Report This Post
Gold member
posted Hide Post
Thanks Alan and Mark for the bad news. I converted all our FOCUS 6 programs to WebFocus using the procedures that you say are causing this problem. So I have quite a bit of recoding to do. The users are only complaining about two programs so maybe I can get away with just fixing them.

Kent


Windows2003 Server, WebFOCUS 7.7.02 Developers Studio and MRE
 
Posts: 63 | Location: Ft. Wayne, IN | Registered: February 20, 2007Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     Maintain "Winform Close" Not Closing Forms

Copyright © 1996-2020 Information Builders