[lazarus] new forms.pp
Sergio Kessler
sak at perio.unlp.edu.ar
Tue May 18 13:29:49 EDT 1999
Shane Miller wrote:
>
> >>in compileroptions.pp I've changed this
>
> >>procedure TForm1.mnuViewCompilerSettingsClicked;
> >>begin
> >> fmCompilerOptions := TfmCompilerOptions.Create( self);
> >> fmCompilerOptions.Caption := 'Compiler Options2';
> >> fmCompilerOptions.Show;
> >> fmCompilerOptions.Destroy; // should be release, not destroy
> >>end;
>
> How does that work? The show is not a "modal" show so once it's shown it goes to the destroy line right away and is destroyed....
Oops, I don't know, but is working here...
I can even play with the form, so I don't think is destroyed
after show :)
--
| Sergio A. Kessler http://perio.unlp.edu.ar/~sergio
-O_O- Keep working at it... you will either succeed, or become an
expert.
More information about the Lazarus
mailing list