inputbox delphi



Автор Alex задал вопрос в разделе Другие языки и технологии

Delphi, как пользоваться функцией InputBox? и получил лучший ответ

Ответ от Sm[гуру]
Так как написано в стандартной справке.
А справка писана не для Пушкина, а для тебя.
sm
Просветленный
(32176)
ACaption is the caption of the dialog box.
APrompt is the text that prompts the user to enter input in the edit box.
ADefault is the value that appears in the edit box when the dialog box first appears.
AMin is the minimum value the user can enter into the edit box.
AMax is the maximum value the user can enter into the edit box.
Decimals does nothing.
Increment controls the amount by which the value in the spin control changes when the user clicks the up or down arrow. (It has no effect on values that the user types).
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.

Ответ от WIM[гуру]
var value : string; begin repeat value := InputBox('Вопрос', 'Delphi, как пользоваться функцией InputBox?', 'Ответ по умолчанию'); until value <> ''; ShowMessage('Ваш ответ - '+value); end;

Ответ от 3 ответа[гуру]
Привет! Вот подборка тем с похожими вопросами и ответами на Ваш вопрос: Delphi, как пользоваться функцией InputBox?
 

Ответить на вопрос:

Имя*

E-mail:*

Текст ответа:*
Проверочный код(введите 22):*