Forum > Other

Form control focus ?

(1/1)

Didi:
Hi ,

2 questions :
1. Top left corner of Lazarus Home Page there's a lazarus_logo_small,
    is there a lazarus_logo_big or lazarus_logo_huge ?

2. I have the following code in my main form

procedure TfrmMain.frmMainCreate (Sender: TObject );
var aFrm: TForm;
begin
  aFrm := TfrmDirView.Create(pnlLeft);
  aFrm.Name := aFrm.Name+'L';
  aFrm.Parent := pnlLeft;
  aFrm.Align := alClient;
  aFrm.Visible := True;

  aFrm := TfrmDirView.Create(pnlRight);
  aFrm.Name := aFrm.Name+'R';
  aFrm.Parent := pnlRight;
  aFrm.Align := alClient;
  aFrm.Visible := True;
end;

There are other controls on the main form as well, but I can only get to the 2 forms I created here. If I press Alt+F4 that form that has focus destroys and then I repeat for the other one as well. Once the two "Sub Froms" have been destroyed I can set focus to the other controls on the main form.

Anny Ideas what might be the problem ? :?

Giuseppe RidinĂ²:

--- Quote from: "Didi" ---1. Top left corner of Lazarus Home Page there's a lazarus_logo_small,
    is there a lazarus_logo_big or lazarus_logo_huge ?
--- End quote ---


In the Lazarus distribution there is an image folder where you can find splash_logo.xpm which is the splash image for Lazarus IDE.
In that folder you can find also logo_big.jpg but I don't know what it is exactly since it seems corrupted and I'm not able to open it.

Vincent Snijders:
About 2. I might have an idea what might be the problem: Docking (= the combination of forms)   and Frames (= forms as childs) are not implemented yet. You seem to be using a form as a child control on a form.

See for (a little) more info the roadmap: http://www.lazarus.freepascal.org/modules.php?op=modload&name=Roadmap&file=index

Navigation

[0] Message Index

Go to full version