About
Pricing
Community
Teams
Start Free Trial
Log in
hrvica5
asked on
3/16/2012
Changing class in delphi
Hi i have form which is mdichild,
How can i Change class in TForm in run time
Thx
Delphi
4
1
Last Comment
hrvica5
8/22/2022 - Mon
Ferruccio Accalai
3/16/2012
That's not a class, it's a formstyle
procedure TForm1.FormCreate(Sender: TObject);
begin
self.FormStyle := fsNormal;
end;
hrvica5
3/16/2012
ASKER
It says cannot make a visible window modal
unit JForm;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, Grids, DBGrids, JvExStdCtrls, JvEdit, JvDBSearchEdit, CHILDWIN, StdCtrls,
JvCheckBox, ExtCtrls, Buttons, JvExControls, JvXPCore, JvXPButtons, ADODB, DB;
type
TForm = class(TMDIChild)..... >>>> i want change this in TForm
thx
ASKER CERTIFIED SOLUTION
Ferruccio Accalai
3/16/2012
THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
hrvica5
3/16/2012
ASKER
thank you for your help, at least i knopw that i have to make another form
Your help has saved me hundreds of hours of internet surfing.
fblack61
procedure TForm1.FormCreate(Sender: TObject);
begin
self.FormStyle := fsNormal;
end;