AutoI Technology Curriculum Book part 95

Tham khảo tài liệu 'autoi technology curriculum book part 95', công nghệ thông tin, kỹ thuật lập trình phục vụ nhu cầu học tập, nghiên cứu và làm việc hiệu quả | 2 The Timeout time was reached. 3 The InputBox failed to open. This is usually caused by bad arguments. Remarks The InputBox is user-resizable but has a minimum size of approximately 190 x 115 pixels. Default size is approximately 250 x 190 pixels. The string returned will not exceed 254 characters and if input contains carriage returns or linefeeds the result will be truncated at the first occurrence of those characters. The second and subsequent characters of the password field can be used to restrict input. Use a space to fill the first character to still see the characters typed. Putting an M after the first character indicates that input is Mandatory . you must enter something. Nothing will happen if you press the Ok button when there is nothing in the InputBox. It will not close and return the string. You can also specify the maximum length in the end of the password field. Just enter a number as the last character to specify the length of the string. Related MsgBox Example Places the input box in the top left corner displaying the characters as they are typed. answer InputBox Question Where were you born Planet Earth _ -1 -1 0 0 Asks the user to enter a password. Don t forget to validate it passwd InputBox Security Check Enter your password. Asks the user to enter a 1 or 2 character response. The M in the password field indicates that blank string are not accepted and the 2 indicates that the responce will be at most 2 characters long. value InputBox Testing Enter the 1 or 2 character code. M2 Function Reference MsgBox Displays a simple message box with optional timeout. MsgBox flag title text timeout hwnd Parameters flag The flag indicates the type of message box and the possible button combinations. See remarks. title The title of the message box. text The text of the message box. timeout optional Timeout in seconds. After the timeout has elapsed the message box will be automatically closed. The default is 0 which is no timeout. hwnd optional The window

Không thể tạo bản xem trước, hãy bấm tải xuống
TÀI LIỆU MỚI ĐĂNG
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.