[fpc-pascal] MaskEdit

Christian U. z0m3ie at gmx.net
Sun Jan 27 18:25:24 CET 2008


Does it mean it exists an MaskEdit implementation that work ?
In LCL ? Since when ?

ik schrieb:
> On Jan 27, 2008 6:25 PM, Marek Nožka <tlapicka at centrum.cz> wrote:
>   
>> 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?
>>     
>
> edtPSC.Parent := frmZak;
>
>   
>> Thank you all
>>
>> Marek Nožka
>>     
>
>
>
> Ido
>   
> ------------------------------------------------------------------------
>
> _______________________________________________
> fpc-pascal maillist  -  fpc-pascal at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-pascal




More information about the fpc-pascal mailing list