TAILIEUCHUNG - AutoIT Help part 65

Tham khảo tài liệu 'autoit help part 65', 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ả | selected. If you want to set a treeview item as a default item which means painting it bold you can use GUI_DEFBUTTON - to turn it off just use another value but GUI_DEFBUTTON for instance 0. This state will not be returned by GUICtrlGetState. If GUI_DROPACCEPTED is set to a visible control a drag drop can be taken in account. The edit input control will be set with the filename. For other controls on reception of GUI_EVENT_DROPPED @GUI_DRAGID will return the controlID from where the drag start -1 if from a file @GUI_DRAGFILE contain the filename being dropped and @GUI_DROPID returns the controlID of the dropped control. Only dragging a ListviewItem will start the drag drop process. The @GUI_DRAGID will be the ListView controlID. Related ColorMode Option GUICtrlCreate. GUICtrlSetData Example include Opt MustDeclareVars 1 Example Func Example Local msg GUICreate My GUI state will create a dialog box that when displayed is centered GUICtrlCreateLabel my disable label 10 20 GUICtrlSetState -1 GUI_DISABLE the label is in disable state GUICtrlCreateButton my button 50 50 GUICtrlSetState -1 GUI_FOCUS the focus is on this button GUISetState Run the GUI until the dialog is closed While 1 msg GUIGetMsg If msg GUI_EVENT_CLOSE Then ExitLoop WEnd EndFunc Example Function Reference GUICtrlSetStyle thay dôi Style cùa control. GUICtrlSetStyle controlID style exStyle Parameters controlID control id style kiêu xem GUI Control Styles Appendix. exStyle kiêu mô rông xem Extended Style Table. Return Value Success Returns 1. Failure Returns 0. Remarks Some styles cannot be changed dynamically check MSDN documentation. CBS_UPPERCASE combo style is one example. Related GUICtrlCreate. Example include include Opt MustDeclareVars 1 Example Func Example Local msg GUICreate My GUI style will create a dialog box that when displayed is centered GUICtrlCreateLabel my label which will split on several lines 10 20 100 100 GUICtrlSetStyle -1

Đã 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.