Link to home
Start Free TrialLog in
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!
ASKER CERTIFIED SOLUTION
Avatar of Sergio_Hdez
Sergio_Hdez

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Ron_de_Weijze
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
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Found solution:

add :
FrmSearch.WindowState := wsNormal;