Avatar of Ron_de_Weijze
Ron_de_Weijze
 asked on

BoderIcons not shown

Hi Expert,

For some reason, bordericons biSystemMenu, biMinimize, biMaximize are not shown through objectinspector settings not the fsMDIChild's method:

procedure Proj.ShowSearchForm;
begin
   FrmSearch := TFrmSearch.Create(Self);
   FrmSearch.Init(m_Container);
   FrmSearch.Height := 500;
   FrmSearch.Width := 400;
   FrmSearch.Left := (Screen.Width div 2)-(FrmSearch.Width div 2);
   FrmSearch.Top := (Screen.Height div 2)-(FrmSearch.Height div 2);
   FrmSearch.BorderIcons := [biSystemMenu, biMinimize, biMaximize];
   FrmSearch.Show;
end;

Any idea's?

Thanks!
Delphi

Avatar of undefined
Last Comment
Ron_de_Weijze

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
Sergio_Hdez

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

ASKER
You are right Sergio, changing the formstyle does bring the icons back. However, I need the fsMDIChild to tile the opened forms. Otherwise, it will simply disappear upon tiling.

I guess the only solution is using buttons on the form itself.
SOLUTION
ZhaawZ

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

ASKER
Found solution:

add :
FrmSearch.WindowState := wsNormal;
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy