Valuater 129 Posted May 18, 2005 (edited) this is an example. i don't want to use splash-text as it wants to create its own gui can anyone help with this display..... it worked before but not now with the beta version. CODE #include <GUIConstants.au3> GUICreate('New GUI') GUISetState() Sleep(100) For $i= 1 to 15 ; file found... diplay file# GUICtrlCreateLabel(" ", 40, 45, 120, 25); this doesn't help $i_label = GUICtrlCreateLabel(" File Number: " & $i, 40, 45, 120, 25) Sleep(50) Next For $t= 1 to 15 ; file found... diplay file# $t_label = GUICtrlCreateLabel(" ", 40, 90, 120, 25) GUICtrlSetData ( $t_label, " File Number: " & $t ); >>>>>>>> this doesn't help Sleep(50) Next GUICtrlCreateLabel(" DONE ", 40, 185, 120, 25) While 1 $msg = GUIgetMsg() Select Case $msg = $GUI_EVENT_CLOSE GUIDelete() EXIT Case Else Sleep(25) EndSelect WEnd the problem is the numbers are not readable please help. thanks Edited May 18, 2005 by Valuater Share this post Link to post Share on other sites
foggw 0 Posted May 19, 2005 For $t= 1 to 15; file found... diplay file# $t_label = GUICtrlCreateLabel(" ", 40, 90, 120, 25) GUICtrlSetData ( $t_label, " File Number: " & $t ); >>>>>>>> this doesn't help Sleep(50)Next<{POST_SNAPBACK}>Try moving the GUICtrlCreateLabel outside the loop.The 'label' only needs to be created once.$t_label = GUICtrlCreateLabel(" ", 40, 90, 120, 25) For $t= 1 to 15 ; file found... diplay file# GUICtrlSetData ( $t_label, " File Number: " & $t ) Sleep(50) NextBill Share this post Link to post Share on other sites
Valuater 129 Posted May 19, 2005 Try moving the GUICtrlCreateLabel outside the loop.The 'label' only needs to be created once.Bill<{POST_SNAPBACK}>Thats the trick........... thanks Share this post Link to post Share on other sites