Visual Basic , . .
, , . , - , .
, .
, . Visual Basic :
- Open () ;
- Save As ( ) ;
- Font () ;
- Color () ;
- Print () ;
- Help () .
CommonDialog. , Microsoft Common Dialog Control 6.0 Components () :
Microsoft Common Dialog Control 6.0
(MsgBox). MsgBox MsgBox (), :
MsgBox (prompt [, buttons] [, title] [, helpfile, context]),
:
- prompt . , 1024 ;
- buttons . , , . ., , 0;
- title ;
- helpfile , ;
- context , .
.
:
Ans = MsgBox ( ?, VbYesNo + VbQuestion, MsgBox)
MsgBox , . Ans If.
:
If Ans = VbYes Then UserForm1.Hide
, .
(InputBox). , , . VB InputBox.
|
|
:
InputBox (promt [, title] [, default] [,xpos] [, ypos] [,_ helpfile, context]),
:
- prompt . , 1024 ;
- title ;
- default . , ;
- xpos ( , );
- ypos ( , );
- helpfile ;
- context .
InputBox : , , , <> <>, . <>, , , <Cancel>, .
:
A = InputBox ( , ).
. MsgBox, InputBox : <OK>, , <Cancel>, .