Re: Newbie Needs Help with Forms



"PcolaBob" <globalteambuilder@xxxxxxxxx> wrote in message
news:1151628826.675599.21850@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

[...] 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. ...

Type 'uses', press F1, read help. Click around.

Showing forms is done the same: the call would be Form2.Show(). You
just have to tell (the unit of) Form1 about (the unit of) Form2 first.
This is not automatic even though they're in the same project.

Groetjes,
Maarten Wiltink


.


Quantcast