[comp.sys.mac.programmer] MacApp file i/o problem

hvirtanen@abo.fi (Harry Virtanen) (05/21/91)

What have I missed, when my MacApp Pascal program acts as follows:

I have a application with a text window. 
I write some text to the window.
Then I save it on file.
I reopen the file, which should open a window with the text. Instead an empty
window opens (without even the cursor)! 
By either zooming or resizing the window, the text appears in the window 
(with the cursor).

In other words, after launching the application everything seems to work just
fine. But after I have saved the text on the file and reopen the file it 
doesn't work the way a normal text window should.

I've tried to go by the example in "Programming with MacApp" (Wilson et al)
chapters 15-16.

Any ideas what might be missing in my code or resources ??????


Harry Virtanen
Abo Akademi University
Turku, Finland
e-mail:hvirtanen@finabo.abo.fi