anhdh

Untitled

Jun 11th, 2016
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
AutoIt 0.40 KB | None | 0 0
  1. Func AddString($String)
  2.  
  3. ; Add strings
  4. _GUICtrlListBox_BeginUpdate($List1)
  5. _GUICtrlListBox_AddString($List1,$stt & ". "& _NowTime(5) & ":"& $String)
  6. _GUICtrlListBox_UpdateHScroll($List1)
  7. _GUICtrlListBox_EndUpdate($List1)
  8. _AutoScroll()
  9. $stt +=1
  10. EndFunc   ;==>AddString
  11.  
  12. Func _AutoScroll()
  13.     _GUICtrlListBox_SetAnchorIndex($List1 , _GUICtrlListBox_GetListBoxInfo($List1)-1)
  14. EndFunc ;==>_AutoScroll
Advertisement
Add Comment
Please, Sign In to add comment