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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

'MODI FILE" from top level form

Status
Not open for further replies.

mdevman

Programmer
Jun 20, 2001
8
US
Here is a question. How do I modify a file from a top level form?
I have a top level form set up as a standalone EXE, which opens a file and runs a program that generates cursors based on the file. The form has command buttons which preview reports based on the generated cursors. I have code in the command click events to resize the form to allow the report preview to be viewed, since the DEFINE WINDOW does not make a new window on the desktop even when I include the IN DESKTOP clause. That solved the problem of viewing the report previews, not the solution I wanted, but it works. Now I am confronted by the fact that I want the user to be able to edit the file from another command button on the form, to make changes based on the data displayed in the form reports. The problem of not being able to DEFINE WINDOWs in the desktop has stopped me cold. No matter what I try, the MODI FILE command will not display the edit window anywhere except the default FoxPro _screen. Since the form is running as a standalone top level form, I have not been able to figure out how to include this functionality.
I have been trying to create a NotePad object, but these attempts have been unsuccessful.
Please help.

Mike D.
mdevlin@ajdebruin.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top