Вниз
Скачать: 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 вся ветка

Скачать: CL | DM;



Память: 0.45 MB
Время: 0.03 c
14-1122212775
SoftX
2005-07-24 17:46
2005.08.14
Чего хочет программист от своей профессии?


14-1121940970
Igorek
2005-07-21 14:16
2005.08.14
Изучение новых технологий (на примере .NET)


14-1122134717
Shuric
2005-07-23 20:05
2005.08.14
О мониторе


14-1122133454
lookin
2005-07-23 19:44
2005.08.14
Во что бы вы оценили эту работу?


1-1122415244
adf
2005-07-27 02:00
2005.08.14
Как можно использовать свой курсор в приложении ?




   Наверх