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!
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Found solution:
add :
FrmSearch.WindowState := wsNormal;
add :
FrmSearch.WindowState := wsNormal;
ASKER
I guess the only solution is using buttons on the form itself.