[lazarus] new forms.pp

Shane Miller SMiller1 at stvgb.org
Tue May 18 09:16:19 EDT 1999


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



Shane







More information about the Lazarus mailing list