Valuater Posted May 18, 2005 Posted May 18, 2005 (edited) Sorry, Posted in wrong forum moved it to developers forum Edited May 18, 2005 by Valuater
Wb-FreeKill Posted May 18, 2005 Posted May 18, 2005 This wont crash... but i can't see the point: expandcollapse popup#include <GUIConstants.au3> Dim $p="" Dim $p_label;[$p] GUICreate('New GUI') GUISetState() Sleep(100) For $i= 1 to 15 ; file found... diplay file# GUICtrlCreateLabel(" ", 40, 45, 120, 25); this does nothing $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 does nothing Sleep(50) Next For $p= 1 to 15 ; file found... diplay file# Dim $p_label[16] $p_label[$p] = GUICtrlCreateLabel(" File Number: " & $p, 40, 135, 120, 25); >>>>>>>>>>>>>>> this crashes GUICtrlDelete($p_label[$p]) Sleep(500) 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
Valuater Posted May 18, 2005 Author Posted May 18, 2005 This wont crash... but i can't see the point:<{POST_SNAPBACK}>its not readable
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now