Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Changing Forms

KrytenKryten Member Posts: 21
I am making a program (in delphi 6) which involves a lot of swapping between windows using

[code]formx.showmodal; {where x is the formx is the form name}
[/code]

but this leaves the forms infront of it still showing in the background, is there anyway to remove these forms.

E.g. how would i get rid of a form named 'form1' if i had just loaded 'form2', the

[code]close;[/code]

command still leaves the original form visible.


tnx.

- Kryten

Comments

Sign In or Register to comment.