Главная страница
    Top.Mail.Ru    Яндекс.Метрика
Форум: "Начинающим";
Текущий архив: 2006.09.17;
Скачать: [xml.tar.bz2];

Вниз

Кодировка текста   Найти похожие ветки 

 
7D7   (2006-08-29 02:56) [0]

Хай мастера!
У меня возник простенький вопрос. Как сделать так, что бы при вводе в Edit, символы кодировались в вид типа "****" ?

Заранее блягодарен


 
Германн ©   (2006-08-29 03:18) [1]

property PasswordChar: Char;

Description

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.


 
7D7   (2006-08-29 07:57) [2]

а поподробнее можно на русском?


 
Elen ©   (2006-08-29 08:05) [3]


> 7D7


Для особо-русских :


procedure TForm1.FormCreate(Sender: TObject);
begin
Edit1.PasswordChar:="*";
end;

или это же свойство выставляеш в Object Inspectore


 
IceBeerg ©   (2006-08-29 15:53) [4]

А в IDE свойства Edit"а посмотреть слабо? %$$^%^*


 
Desdechado ©   (2006-08-29 16:21) [5]

> кодировались в вид типа "****"
Edit1.Text:=StringOfChar("*",Length(Edit1.Text));


 
IceBeerg ©   (2006-08-29 16:23) [6]


> Edit1.Text:=StringOfChar("*",Length(Edit1.Text));

8)))))
А как тогда декодировать!?



Страницы: 1 вся ветка

Форум: "Начинающим";
Текущий архив: 2006.09.17;
Скачать: [xml.tar.bz2];

Наверх





Память: 0.45 MB
Время: 0.049 c
15-1156405666
imbalacedees
2006-08-24 11:47
2006.09.17
MYSQL


8-1141248230
ShAB_v2.0
2006-03-02 00:23
2006.09.17
Как усреднить цвета до одного цвета?


15-1156191797
Piter
2006-08-22 00:23
2006.09.17
Методы работы антивирусных почтовых сканеров


2-1156926858
Сергей1
2006-08-30 12:34
2006.09.17
delphi


15-1156231179
Шмелъ
2006-08-22 11:19
2006.09.17
Сайт





Afrikaans Albanian Arabic Armenian Azerbaijani Basque Belarusian Bulgarian Catalan Chinese (Simplified) Chinese (Traditional) Croatian Czech Danish Dutch English Estonian Filipino Finnish French
Galician Georgian German Greek Haitian Creole Hebrew Hindi Hungarian Icelandic Indonesian Irish Italian Japanese Korean Latvian Lithuanian Macedonian Malay Maltese Norwegian
Persian Polish Portuguese Romanian Russian Serbian Slovak Slovenian Spanish Swahili Swedish Thai Turkish Ukrainian Urdu Vietnamese Welsh Yiddish Bengali Bosnian
Cebuano Esperanto Gujarati Hausa Hmong Igbo Javanese Kannada Khmer Lao Latin Maori Marathi Mongolian Nepali Punjabi Somali Tamil Telugu Yoruba
Zulu
Английский Французский Немецкий Итальянский Португальский Русский Испанский