Newbie Needs Help with Forms
- From: "PcolaBob" <globalteambuilder@xxxxxxxxx>
- Date: 29 Jun 2006 17:53:46 -0700
Hey Everybody. I just joined the group. I am trying to learn Delphi
6. I am coming from a VB background, and things which I think should be
so simple, seem to be so difficult in Delphi. For example, how do you
navigate from one form to another. If I have Form1 and Form2, and I
want to put a button on Form1 that displays Form2, what code does it
take. In VB if the form was in the project, all I had to do was to
call the Form's SHOW method and that would load it into memory and
display it. I could call it's HIDE method to continue to hold it in
memory but not be displayed, or I could use the Unload statement to
remove it from memory. I want to have the button on Form1 that displays
Form2 and hides Form1. Then I want a Close button on Form2 that
unloads Form2 and displays Form1 again. Can someone please give me the
steps to do this in Delphi. My Unit1.pas doesn't seem to be able to
see Unit2.pas. It's very confusing.
Any and all help appreciated. And I need the help ASAP. I thought I
was ready to take on a project, so I did, only to find that something
simple like this wasn't covered in any of the tutorials I worked
through trying to learn the program.
Thanks in advance for your help,
Bob
.
- Follow-Ups:
- Re: Newbie Needs Help with Forms
- From: Bruce Roberts
- Re: Newbie Needs Help with Forms
- From: Maarten Wiltink
- Re: Newbie Needs Help with Forms
- Prev by Date: C to Pascal translation
- Next by Date: Re: DLL Compatibility
- Previous by thread: C to Pascal translation
- Next by thread: Re: Newbie Needs Help with Forms
- Index(es):