Главная страница
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.025 c
6-1115288796
Pavelkq
2005-05-05 14:26
2005.08.14
Приоритет IdFTP


3-1120574962
_dimka
2005-07-05 18:49
2005.08.14
Можно ли в MSSQL в ХП в качестве параметра передать имя таблицы?


1-1122018379
WondeRu
2005-07-22 11:46
2005.08.14
Перевод в режим редактирования элеманта TTreeView


3-1120564635
alex_***
2005-07-05 15:57
2005.08.14
получить результат выполнения dynamic sql кроме кода ошибки


1-1122323177
dRake
2005-07-26 00:26
2005.08.14
Подскажите функцию :)