Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2008-01

MaskEdit

13 messages · 7 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Marek Nožka

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

Reply by email

Marek Nožka
to Christian U.

On Sun, 27 Jan 2008 17:31:38 +0100 "Christian U."
wrote to FPC-Pascal users discussions :

Show quoted text 5 lines
> Where is BUG? > lazarus has no . :-)

But how is it possible, that the compilation is done?

Thank you.

Marek

Reply by email

ik
to Marek Nožka: Hallo I need to use MaskEdit in Lazarus 0.9.24. But the MaskEdit isn't on the component…
Marek Nožka wrote 39 lines
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

Reply by email

Christian U.
to ik

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

Show quoted text 60 lines
On Jan 27, 2008 6:25 PM, Marek Nožka 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 - http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply by email

ik
to Christian U.
Christian U. wrote
Does it mean it exists an MaskEdit implementation that work ? In LCL ? Since when ?

Nop, but it will make sure that the component will exists inside a specific boundary. With your code, it does not know where to place it on the screen, so you can not see it.
Unless I didn't understand something in your question.

Show quoted text 57 lines
ik schrieb: > On Jan 27, 2008 6:25 PM, Marek Nožka 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

Ido

Reply by email

Felipe Monteiro de Carvalho
to Marek Nožka: On Sun, 27 Jan 2008 17:31:38 +0100 "Christian U." wrote to FPC-Pascal users discussions :…
Marek Nožka wrote
But how is it possible, that the compilation is done?

It isn't that there is nothing from TMaskEdit on LCL. There is very little, enougth to compile and maybe to do some things, but it isn't complete.

I think someone commited a partial implementation recently, so I would recommend that you try using subversion Lazarus and see if it works there for you. Search for instructions on the wiki.

Felipe Monteiro de Carvalho

Reply by email

Roberto Padovani
to Felipe Monteiro de Carvalho

a TMaskEdit was posted in attachment by David on 23-nov-2007 The subject was Re: [lazarus] TMaskEdit new release

R#

2008/1/27, Felipe Monteiro de Carvalho :

Show quoted text 17 lines
On Jan 27, 2008 5:40 PM, Marek Nožka wrote: > But how is it possible, that the compilation is done? It isn't that there is nothing from TMaskEdit on LCL. There is very little, enougth to compile and maybe to do some things, but it isn't complete. I think someone commited a partial implementation recently, so I would recommend that you try using subversion Lazarus and see if it works there for you. Search for instructions on the wiki. -- Felipe Monteiro de Carvalho _______________________________________________ fpc-pascal maillist - http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply by email

Marek Nožka
to Roberto Padovani

On Mon, 28 Jan 2008 15:00:56 +0100 "Roberto Padovani" wrote to "FPC-Pascal users discussions"
:

a TMaskEdit was posted in attachment by David on 23-nov-2007 The subject was Re: [lazarus] TMaskEdit new release

Thank you.

I'm afraid I was not in the Lazarus conference on 23-nov-2007. And in web archiv are not the attachments. Can you please re-send this mail once more?

Thanks

@ @ @ Marek Nožka '****.@ :*****`@ email: tlapicka zabalenéAčko centrum.cz `*****' jabber: karkulin zabalenéAčko njs.netlab.cz :****: `****' `****' Powered by Debian GNU/Linux `.**' ¨¨

Reply by email

Luca Olivetti
to Marek Nožka

En/na Marek Nožka ha escrit:

Show quoted text 13 lines
On Mon, 28 Jan 2008 15:00:56 +0100 "Roberto Padovani" wrote to "FPC-Pascal users discussions" : > a TMaskEdit was posted in attachment by David on 23-nov-2007 > The subject was Re: [lazarus] TMaskEdit new release > Thank you. I'm afraid I was not in the Lazarus conference on 23-nov-2007. And in web archiv are not the attachments. Can you please re-send this mail once more?

Gmane has the attachments
http://thread.gmane.org/gmane.comp.ide.lazarus.general/19641/focus=19702 (btw, why isn't it in lazarus yet?)

Bye

Luca

Reply by email

Vincent Snijders
to Luca Olivetti
Luca Olivetti wrote 18 lines
En/na Marek Nožka ha escrit: > On Mon, 28 Jan 2008 15:00:56 +0100 "Roberto Padovani" > wrote to "FPC-Pascal users discussions" > : > >> a TMaskEdit was posted in attachment by David on 23-nov-2007 >> The subject was Re: [lazarus] TMaskEdit new release >> > > Thank you. > I'm afraid I was not in the Lazarus conference on 23-nov-2007. And in > web archiv are not the attachments. Can you please re-send this mail > once more? Gmane has the attachments http://thread.gmane.org/gmane.comp.ide.lazarus.general/19641/focus=19702 (btw, why isn't it in lazarus yet?)

Patches to the mailing list may be forgotten, if the developers don't have time when the mail arrives. Therefore it is better to add patches to the bug tracker. AFAICS, this one was added 4 weeks ago and scheduled to be included in the next release:
http://bugs.freepascal.org/view.php?id=10871

Vincent

Reply by email

Marek Nožka
to Luca Olivetti: En/na Marek Nožka ha escrit: Gmane has the attachments…

On Sun, 16 Mar 2008 19:28:16 +0100 Luca Olivetti
wrote to FPC-Pascal users discussions :

Gmane has the attachments http://thread.gmane.org/gmane.comp.ide.lazarus.general/19641/focus=19702 (btw, why isn't it in lazarus yet?)

Thank you vary much.

@ @ @ Marek Nožka '****.@ :*****`@ email: tlapicka zabalenéAčko centrum.cz `*****' jabber: karkulin zabalenéAčko njs.netlab.cz :****: `****' `****' Powered by Debian GNU/Linux `.**' ¨¨

Reply by email