Главная страница
Top.Mail.Ru    Яндекс.Метрика
Текущий архив: 2005.08.14;
Скачать: CL | DM;

Вниз

Как узнать отмену InputBox?   Найти похожие ветки 

 
mmms   (2005-07-25 16:45) [0]

По любому, что жмешь Ok, что Cansel получаешь строку, а можно ли узнать, что нажал пользователь?


 
begin...end ©   (2005-07-25 16:46) [1]

If the user chooses the Cancel button, InputBox returns the default value. If the user chooses the OK button, InputBox returns the value in the edit box.


 
begin...end ©   (2005-07-25 16:49) [2]

И обратите внимание вот на что: Use the InputBox function when there is a default value that should be used when the user chooses the Cancel button (or presses Esc) to exit the dialog. If the application needs to know whether the user chooses OK or Cancel, use the InputQuery function instead.


 
Юрий Зотов ©   (2005-07-25 16:49) [3]

Нажал F1 - за 10 секунд нашел ответ.

If the user chooses the Cancel button, InputBox returns the default value. If the user chooses the OK button, InputBox returns the value in the edit box.

Use the InputBox function when there is a default value that should be used when the user chooses the Cancel button (or presses Esc) to exit the dialog. If the application needs to know whether the user chooses OK or Cancel, use the InputQuery function instead.


 
Anatoly Podgoretsky ©   (2005-07-25 17:03) [4]

Что такое страшное ты нажал?



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

Текущий архив: 2005.08.14;
Скачать: CL | DM;

Наверх




Память: 0.47 MB
Время: 0.024 c
14-1121951586
Vlad Oshin
2005-07-21 17:13
2005.08.14
Что такое может быть? прием почты по dialup с линуксового севера


8-1112680643
npr2
2005-04-05 09:57
2005.08.14
DSPack вывод видео


8-1112937940
PhotoManiac
2005-04-08 09:25
2005.08.14
Фотки с камеры по таймеру...


5-1093259795
Jenek
2004-08-23 15:16
2005.08.14
Windows и меню


14-1121840609
Ega23
2005-07-20 10:23
2005.08.14
С днем рождения! 20 июля