| | |
Blind Input
Please support our Pascal and Delphi advertiser: Programming Forums - DaniWeb Sister Site
![]() |
example:
edit box ->Object Inspector->Properties->PasswordChar
edit box ->Object Inspector->Properties->PasswordChar

delphi Syntax (Toggle Plain Text)
Edit1.PasswordChar:=#42; {*} {or} Edit1.PasswordChar:=#35; {#} {or} Edit1.PasswordChar:='*'; {or} Edit1.PasswordChar:='x'; { Use the PasswordChar property to create an edit control that displays a special character in place of any entered text. If PasswordChar is set to the null character (ANSI character zero), the edit control displays its text normally. If PasswordChar is any other character, the edit control displays PasswordChar in place of each character typed. PasswordChar affects the appearance of the edit control only. The value of the Text property reflects the actual characters that are typed. }
Last edited by FlamingClaw; Apr 7th, 2009 at 9:55 am.
Be a good part of the community.Don't be ungrateful.
If you ask something on the forum and you got the right answer then mark as solved!
If my opinion helped to you a lot then sometimes give reputation point to me.
I'm just a pascal programmer from Hungary.
Farewell...
If you ask something on the forum and you got the right answer then mark as solved!
If my opinion helped to you a lot then sometimes give reputation point to me.
I'm just a pascal programmer from Hungary.
Farewell...
•
•
Join Date: Feb 2008
Posts: 11
Reputation:
Solved Threads: 1
Pascal and Delphi Syntax (Toggle Plain Text)
program echostar; uses Crt; const EnterKey = ord(13); var Entry :char; SecretMessage :string; begin ClrScr; SecretMessage := ''; Entry := ' '; writeln('Enter your secret word or message:'); repeat begin Entry := (Readkey); write('*'); if ord(Entry) <> EnterKey then SecretMessage := SecretMessage + Entry; end; until ord(Entry) = EnterKey; {display the entry to show it works, then remove} writeln; writeln('Secret message is ', SecretMessage); end.
Hi glindhot
I know that my opinion is means nothing,but I like your code.Nice work!
I know that my opinion is means nothing,but I like your code.Nice work!
Last edited by FlamingClaw; Apr 11th, 2009 at 5:35 am.
Be a good part of the community.Don't be ungrateful.
If you ask something on the forum and you got the right answer then mark as solved!
If my opinion helped to you a lot then sometimes give reputation point to me.
I'm just a pascal programmer from Hungary.
Farewell...
If you ask something on the forum and you got the right answer then mark as solved!
If my opinion helped to you a lot then sometimes give reputation point to me.
I'm just a pascal programmer from Hungary.
Farewell...
I think that glindhot is solved your problem.Only one thing that you have to to do is download a unit .There are people who rewrote the Turbo Pascal's Crt unit for Delphi.All procedure and function can be found,that working with delphi,such as 'ReadKey','KeyPressed',ClrScr....etc
So try the 'google'...
So try the 'google'...
Last edited by FlamingClaw; Apr 14th, 2009 at 12:39 pm.
Be a good part of the community.Don't be ungrateful.
If you ask something on the forum and you got the right answer then mark as solved!
If my opinion helped to you a lot then sometimes give reputation point to me.
I'm just a pascal programmer from Hungary.
Farewell...
If you ask something on the forum and you got the right answer then mark as solved!
If my opinion helped to you a lot then sometimes give reputation point to me.
I'm just a pascal programmer from Hungary.
Farewell...
![]() |
Similar Threads
- 'Input Past End of File' Error Persists even with 'EOF' Statements (Visual Basic 4 / 5 / 6)
- Help tweaking some java (JavaScript / DHTML / AJAX)
- Edit1->Text (Iterate over text -Rather Urgent (C++)
- what is a good filesize ? (ASP.NET)
- Can anyone help me with my source code? (C)
- How to delete using checkboxes (PHP)
- Jmail with radio buttons and menus (Site Layout and Usability)
- asp form action script (Site Layout and Usability)
Other Threads in the Pascal and Delphi Forum
- Previous Thread: StringGrid doesn't redraw correctly
- Next Thread: How can I list all the contestants?
| Thread Tools | Search this Thread |





