[fpc-pascal] MaskEdit

Marek Nožka tlapicka at centrum.cz
Sun Jan 27 17:25:28 CET 2008


Hallo

I need to use MaskEdit in Lazarus 0.9.24. But the MaskEdit isn't on the
component palette. I think that I call the Constructor an it will work.
But no :-( My code:

type

TfrmZak = class(TForm)
   .
   .
  edtPSC:TMaskEdit;
   .
   .
end;

implementation

procedure TfrmZak.FormCreate(Sender: TObject);
begin
  edtPSC:=TMaskEdit.Create(Self);
  edtPSC.Left:=170;
  edtPSC.Top:=74;
  edtPSC.Visible:=TRUE;
  edtPSC.ParentColor:=False;
  edtPSC.Width:=30;
  edtPSC.Height:=18;
  edtPSC.TabOrder:=10;
  edtPSC.TabStop:=True;
  edtPSC.Text:='Ahoj';
  edtPSC.Show;
  edtPSC.SelectAll;
  edtPSC.SetFocus;
end;  



The MaskEdit (instance edtPSC) isn't on form. I can't work with it.
Where is BUG?

Thank you all

Marek Nožka



More information about the fpc-pascal mailing list