Jump to content
Sign in to follow this  
Valuater

Simple text display... help

Recommended Posts

Valuater

Sorry, Posted in wrong forum

moved it to developers forum

Edited by Valuater

NEWHeader1.png

Share this post


Link to post
Share on other sites
Wb-FreeKill

This wont crash... but i can't see the point:

#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

Share this post


Link to post
Share on other sites
Valuater

This wont crash... but i can't see the point:

<{POST_SNAPBACK}>

its not readable

NEWHeader1.png

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×