I'm back with Lazarus after almost a year from the last time I picked it up for a project that got canned. What I'm trying to do is imitate an existing program that runs on a dumb terminal for sales entries. The program starts out with a Header screen where you enter the Customer account info and then after a key press the next screen is displayed to enter item details. After another key press you get a totals screen from where you can print off an invoice. What I'm struggling with is the best/proper way to flip between these screens. Right now I'm trying it using different forms for each screen and I can flip to another form but I'm not sure how I should handle the code end. When I show the second form I don't seem to be accessing the unit associated with the form but still on the first forms unit. What am I missing?? I did think briefly of starting out with a blank form and use code to recreating each screen, this way I'd just have one unit to deal with but I wasn't sure I wanted to deal with that so I tried the multiple form way. I'm trying to keep it as much like the original screens as possible so I don't want to use tabbed windows. Can someone point me in good direction.
Thanks
Bill