Recent

Author Topic: Form control focus ?  (Read 5172 times)

Didi

  • Guest
Form control focus ?
« on: July 30, 2004, 12:33:48 pm »
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ò

  • Full Member
  • ***
  • Posts: 130
Re: Form control focus ?
« Reply #1 on: July 30, 2004, 02:25:29 pm »
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 ?


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

  • Administrator
  • Hero Member
  • *
  • Posts: 2661
    • My Lazarus wiki user page
Form control focus ?
« Reply #2 on: July 30, 2004, 10:31:15 pm »
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

 

TinyPortal © 2005-2018