티스토리 뷰

Delphi

function InputQuery(const ACaption: string; const APrompts: array of string; var AValues: array of string; CloseQueryFunc: TInputCloseQueryFunc): Boolean;

function InputQuery(const ACaption: string; const APrompts: array of string; var AValues: array of string; CloseQueryEvent: TInputCloseQueryEvent; Context: TObject): Boolean;

function InputQuery(const ACaption, APrompt: string; var Value: string): Boolean;

C++

extern PACKAGE bool __fastcall InputQuery(const System::UnicodeString ACaption, System::UnicodeString const *APrompts, const int APrompts_Size, System::UnicodeString *AValues, const int AValues_Size, _di_TInputCloseQueryFunc CloseQueryFunc = _di_TInputCloseQueryFunc())/* overload */;

Properties

Type

Visibility

Source

Unit

Parent

function

public

Vcl.Dialogs.pas

Vcl.Dialogs.hpp

Vcl.Dialogs

Vcl.Dialogs

Description

Displays an input dialog box that lets the user enter a string, double, or integer.

Call InputQuery to bring up an input dialog box ready for the user to enter a string, double, or integer in its edit box.

ACaption is the caption of the dialog box.

APrompt is the text that prompts the user to enter input in the edit box.

Value is the value that appears in the edit box when the dialog box first appears and which returns the value that the user enters.

InputQuery returns true if the user chooses OK, and false if the user chooses Cancel or presses the Esc key.

If a default value should be used when the user cancels out of the dialog, use InputBox instead.

 

사용자가 문자열, 더블(실수) 또는 정수를 입력 할 수 있는 입력 대화 상자를 표시합니다.

InputQuery를 호출하여 사용자가 편집 상자에 문자열, 더블(실수) 또는 정수를 입력 할 수 있도록 입력 대화 상자를 표시합니다.

ACaption은 대화 상자의 캡션입니다.

APrompt는 사용자가 입력란에 입력 내용을 입력하라는 메시지입니다.

값은 대화 상자가 처음 나타날 때 입력란에 나타나는 값이며 사용자가 입력한 값을 반환합니다.

InputQuery는 사용자가 확인을 선택하면 true를 반환하고 사용자가 취소를 선택하거나 Esc 키를 누르면 false를 반환합니다.

사용자가 대화 상자를 취소 할 때 기본값을 사용해야 하는 경우 대신 InputBox 를 사용하십시오.

 

bring something up

1. (화제를) 꺼내다
2.
토하다, 게우다
3. (
컴퓨터 화면에) 띄우다

ready for

1. …을 위한 준비를 하다.  2. …에 대해 준비된.

prompt 미국식 [prɑ:mpt]   영국식 [prɒmpt]   중요

1. 즉각적인, 지체 없는
2.
신속한; 시간을 엄수하는
3. (
사람에게 어떤 결정을 내리도록어떤 일이 일어나도록) 하다

 

출처: http://docwiki.embarcadero.com/Libraries/XE2/en/Vcl.Dialogs.InputQuery

댓글
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
«   2024/05   »
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31
글 보관함