Показать сообщение отдельно
Старый 18.01.2005, 16:30   #11  
барбудас is offline
барбудас
Участник
 
55 / 10 (1) +
Регистрация: 30.09.2004
опять же, чтобы не создавать новую тему )))
а то кое-где отправляютЪ "в поиск" )))


из хелпа:
begin

CONFIRM
Use this function to create a dialog box which prompts the user for a yes or no answer. The system centers the dialog box on the screen for you.

Ok := CONFIRM(String [, Default] [, Value1] ,...)
Ok

Data type: boolean

This return parameter reflects the user's selection.

Ok will be...
If you entered...

TRUE
Yes

FALSE
No


String

Data type: code or text constant

The system displays this string in the dialog box. Use a back slash (\) to indicate a new line. The string can be a multilanguage enabled text constant.

Default

Data type: boolean

Describes what the computer should use as the default button. If you do not specify a default, the system uses No.

Comments
The system sizes the message window for you. The height of the window corresponds to the number of lines and the width corresponds to the length of the longest line.

Examples
In the following example, the dialog.CONFIRM function prompts the user for a Yes or No answer:

Question := Text000;

Answer := dialog.CONFIRM(Question, TRUE);

MESSAGE(Text001, Answer);

Create the following text constants in the C/AL Globals window:

Text Constant
ENU Value

Text000
'Leave without saving changes?'

Text001
'You selected %1.'

end




и ничего про [, Value1] ,... ....
кто сможет объяснить ЧТО ЭТО И ЗАЧЕМ?
__________________
извиняюсь если вопрос ТУП - спрашиваю исключительно потому, что не знаю. спасибо, что не послали