I would like to set up a tabbed notebook with several pages, each of which contains a few labeled edit boxes
through which I can enter parameters. I can set up edit boxes on Form1 and on the first page of the tabbed notebook that perform as I would expect (edit window is a distinct color, and I can set the text value). However, when I add a second page to the tabbed notebook and try to create a labeled edit box, using the same procedure that worked before, I get a non-working version. The handles to adjust the box size are present, as is the label, but the edit box is the same color as the background, and there is no text property listed in the Object Manager.
I am running Lazarus 0.9.26 beta on Fedora 10. The *.pas file is shown below, and the problem is reproducible on my system. Can some kind soul tell me what I am doing wrong and how to fix it?
Many thanks!
david adam
==============
unit test1;
{$mode objfpc}{$H+}
interfaceuses
Classes, SysUtils, FileUtil, LResources, Forms, Controls, Graphics, Dialogs,
ExtCtrls;type
{ TForm1 }
TForm1 = class(TForm)
LabeledEdit1: TLabeledEdit;
LabeledEdit2: TLabeledEdit;
LabeledEdit3: TLabeledEdit;
LabeledEdit4: TLabeledEdit;
LabeledEdit5: TLabeledEdit;
LabeledEdit6: TLabeledEdit;
LabeledEdit7: TLabeledEdit;
Notebook1: TNotebook;
Page1: TPage;
Page2: TPage;
private
{ private declarations }
public
{ public declarations }
end;
var
Form1: TForm1;
implementation
initialization
{$I test1.lrs}
end.