Recent

Author Topic: where is maskedit  (Read 15217 times)

liuzg4

  • New member
  • *
  • Posts: 9
where is maskedit
« on: August 10, 2007, 05:10:09 am »
where is maskedit  

and how long the    TComponent CAN  have twincontrol

Vincent Snijders

  • Administrator
  • Hero Member
  • *
  • Posts: 2661
    • My Lazarus wiki user page
Re: where is maskedit
« Reply #1 on: August 10, 2007, 08:59:33 am »
Quote from: "liuzg4"
where is maskedit

It is not yet written.

Quote

and how long the    TComponent CAN  have twincontrol

I don't understand that question.

windy

  • Full Member
  • ***
  • Posts: 186
RE: Re: where is maskedit
« Reply #2 on: November 03, 2007, 07:09:43 am »
I have found that the normal Tedit in lazarus does have a passwordchar property
and so set that to *  :)
it works!

asdf

  • Sr. Member
  • ****
  • Posts: 310
Re: RE: Re: where is maskedit
« Reply #3 on: March 09, 2011, 01:45:41 pm »
I have found that the normal Tedit in lazarus does have a passwordchar property
and so set that to *  :)
it works!

In the 'Object Inspector' window, the properties tab shows PasswordChar = #0 .
How can we set in runtime to show * ?
« Last Edit: March 09, 2011, 01:47:28 pm by asdf »
Lazarus 1.2.4 / Win 32 / THAILAND

fabienwang

  • Sr. Member
  • ****
  • Posts: 449
  • Lazarus is the best
    • My blog
Re: where is maskedit
« Reply #4 on: March 09, 2011, 01:47:20 pm »
youcomponentname.passwordchar := '*'; ^^
I'm using Arch Linux.
Known for: CPickSniff, OpenGrabby
Contributed to: LazPaint

asdf

  • Sr. Member
  • ****
  • Posts: 310
Re: RE: Re: where is maskedit
« Reply #5 on: March 09, 2011, 01:56:32 pm »
Quote
In the 'Object Inspector' window, the properties tab shows PasswordChar = #0 .

to restore the default ...

Quote
youcomponentname.passwordchar := #0;


FYI :D
Lazarus 1.2.4 / Win 32 / THAILAND

Bart

  • Hero Member
  • *****
  • Posts: 5288
    • Bart en Mariska's Webstek
Re: where is maskedit
« Reply #6 on: March 09, 2011, 04:34:10 pm »
Quote from: liuzg4
where is maskedit

It is not yet written.

I beg your pardon?
(http://svn.freepascal.org/cgi-bin/viewvc.cgi/trunk/lcl/maskedit.pp?view=markup&root=lazarus)
I rewrote major parts of in in the past.

It is in the tab "Additional" (at least that is where it used to be (tested with 0.9.31 r29157).

Mind you, TMaskEdit does not yet support UTF-8, it currently only accepts characters in the lower ASCII range (#1..#127).
Any non-lower-ASCII characters in the text will be replaced by a questionmark if you set the text by code.
I am planning to extend it to support UTF-8 in the future.

Bart

DirkS

  • Sr. Member
  • ****
  • Posts: 251
Re: where is maskedit
« Reply #7 on: March 09, 2011, 04:42:12 pm »
Quote from: liuzg4
where is maskedit

It is not yet written.

I beg your pardon?
Euh... did you notice the date on that post?

TBH I don't particularly like it when users dig up *ancient* topics and revive them...

Gr.
Dirk

Bart

  • Hero Member
  • *****
  • Posts: 5288
    • Bart en Mariska's Webstek
Re: where is maskedit
« Reply #8 on: March 09, 2011, 04:58:36 pm »
Euh... did you notice the date on that post?

I stand corrected  :-[ :-[ :-[ :-[ :-[ :-[

TBH I don't particularly like it when users dig up *ancient* topics and revive them...

+1

Bart

 

TinyPortal © 2005-2018