Hi,
i have some problem with an MDI application, which i'm worrking on.
I'd also added TPageControl to MDIChild.
I'd made MainFrm as MDI Form, Child as MDI Child. I've implemented such code:
KontaFrm:=TKontaFrm.Create(Self);
KontaFrm.Parent:=MainFrm.MainPanel;
{$ifdef WINDOWS}
KontaFrm.Top:= 0;
KontaFrm.Left:= 0;
KontaFrm.Width:= MainFrm.MainPanel.Width - 4;
KontaFrm.Height:= MainFrm.MainPanel.Height - 4;
{$else}
KontaFrm.Align:= alClient;
{$endif}
if eKmPasek.Text<>'' then KontaFrm.Konta.Text:=eKmPasek.Text;
KontaFrm.NazwaOkna;
KontaFrm.PKFiltr.Text:=KontaFrm.Konta.Text;
KontaFrm.DKFiltr.Text:=KontaFrm.Konta.Text;
KontaFrm.OpFiltr.Text:=KontaFrm.Konta.Text;
KontaFrm.Strony.ActivePage:=KontaFrm.Operacje;
eKmPasek.Clear;
KontaFrm.Show;
KontaFrm.SetFocus;
Problem is, that i can select, switch, focus on Edits, Cobmobox fields with only TAB button. It's no reaction on mouse clicks. Left click doesn't get control active, and right click runs no system popupmenu. There is simply no reaction on mouse clicks.
Where can be a problem? Thank's for all help.