Microsoft KB Archive/207282

= PRB: Cannot Use Title Bar to Activate Forms in Converted 2.6 Application =

Article ID: 207282

Article Last Modified on 10/1/1999

-

APPLIES TO


 * Microsoft Visual FoxPro 6.0 Professional Edition

-



This article was previously published under Q207282



SYMPTOMS
After converting a FoxPro for Windows application from version 2.6 to Visual FoxPro, clicking the title bar, of a form in the background, no longer brings the form to the front as the active form.



RESOLUTION
Click inside the form window to activate forms that are behind the currently active form.

You can also use the CTRL+F1 keyboard combination if the Windows menu, Cycle command has been built into the menu system. Refer to the Visual FoxPro Online help topic "Menu menu, Visual FoxPro system (internal)" for more information.



Steps to Reproduce Behavior
NOTE: These steps assume that the FoxPro for Windows 2.6 product is installed, including the sample files.  Start FoxPro 2.6 for Windows.  Issue the following command in the Command window: SET DEFAULT TO HOME+"Goodies\Fndation"  Run the Ex1.app. If necessary, open the Ex1.pjx project and build the application. However, the application should already be installed. On the application menu, click Customers, and then Salesmento open the Customers and Salesmen screens. Click between these two screens by clicking the title bars. Note that when you click the title bar of the inactive screen, that screen comes to the front and is now activate. Also, click inside the screen windows to activate the screens. This also works. Quit the Ex1.app by clicking Quit on the File menu. Exit FoxPro 2.6 for Windows</li> Make a new directory on your hard drive and name it test. Copy all directories and files from the HOME+"Goodies\Fndation" directory into the new test directory.</li> Start Visual FoxPro and set the default directory to the test directory.</li> Open the Ex1.pjx project. This should open the Visual FoxPro Converter.</li> Perform a Functional Conversion. You do not need to backup the files because this should be a copy of the original files.</li> When the conversion completes, click the Build button in the Project Manager and build an application. Name the application Ex1.app.</li> When the application is built, run the Ex1.app.</li> Click Customers, and then click Salesmen on the application menu to open the Customers and the Salesmen screens.</li> Try to activate the screens by clicking the title bars. For this test, do not click on the title bar of the navigation form. The inactive form should not be able to be made active by clicking the title bar.</li> Click inside the form window to activate the inactive form. Click the title bar of the navigation form before you click the title bar of the inactive form, which will allow you to activate the inactive form by clicking its title bar.</li></ol>

<div class="references_section">