AutoIT Help part 53

Tham khảo tài liệu 'autoit help part 53', 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ả | EndFunc Example Function Reference GUICtrlCreateRadio tạo một Radio button control cho GUI. GUICtrlCreateRadio text left top width height style exStyle Parameters text text hiện trị sẵn trên control left tọa độ X top tọa độ Y width chiều rộng height chiều cao style kiểu. xem thêm GUI Control Styles Appendix. default -1 none. forced styles BS_AUTORADIOBUTTON and WS_TABSTOP if first radio in the group. exStyle kiểu mở rộng. xem Extended Style Table. Return Value Success trả lại ControlID Failure Returns 0. Remarks để lấy giá trị của control ta dùng GUICtrlRead. để đặt các thuộc tính cho control ta dùng GUICtrlSet. để sử dụng nhiều kiểu trong style ta dùng BitOr GUI_SS_DEFAULT_RADIO newstyle . . để có thể dùng đc các biến trên ta cần phải khai báo thư viện include in your script. Default resizing is GUI_DOCKHEIGHT. Related GUICoordMode Option GUICtrlSet. GUIGetMsg Example include Opt MustDeclareVars 1 Example Func Example Local radio1 radio2 msg GUICreate My GUI radio will create a dialog box that when displayed is centered radio1 GUICtrlCreateRadio Radio 1 10 10 120 20 radio2 GUICtrlCreateRadio Radio 2 10 40 120 20 GUICtrlSetState radio2 GUI_CHECKED GUISetState will display an dialog box with 1 checkbox Run the GUI until the dialog is closed While 1 msg GUIGetMsg Select Case msg GUI_EVENT_CLOSE ExitLoop Case msg radio1 And BitAND GUICtrlRead radio1 GUI_CHECKED GUI_CHECKED MsgBox 64 Info You clicked the Radio 1 and it is Checked. Case msg radio2 And BitAND GUICtrlRead radio2 GUI_CHECKED GUI_CHECKED MsgBox 64 Info You clicked on Radio 2 and it is Checked. EndSelect WEnd EndFunc Example Function Reference GUICtrlCreateSlider tạo một Slider control cho GUI. GUICtrlCreateSlider left top width height style exStyle Parameters left X top Y width W height H style kiểu xem GUI Control Styles Appendix. default -1 TBS_AUTOTICKS exStyle kiểu mở rộng xem Extended Style Table. Return .

Không thể tạo bản xem trước, hãy bấm tải xuống
TÀI LIỆU LIÊN QUAN
5    176    1
5    255    1
5    106    0
5    121    1
6    103    1
6    107    1
6    121    1
6    103    0
6    140    0
TÀI LIỆU MỚI ĐĂNG
272    377    1    22-05-2024
Đã 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.