Not a member yet? Register for your free account!

Go Back   elitepvpers > Coders Den > AutoIt
You last visited: Today at 19:30

  • Please register to post and access all features, it's quick, easy and FREE!

 

[HELP]GUI label update/refresh

Discussion on [HELP]GUI label update/refresh within the AutoIt forum part of the Coders Den category.

Reply
 
Thread Tools
Old   #1
 
Join Date: Apr 2010
Posts: 303
Received Thanks: 65
[HELP]GUI label update/refresh

Huhu epvpers!

Well my problem is:

I made a label:
Code:
$k=GUICtrlCreateLabel("Password:  " & $pw, 8, 10)
When i change the password($pw variable), i cant refresh the label with the new password, tried this: GUICtrlSetData(), but doesnt work for me. Some1 have any idea?

__________________

Endorfin is offline  
Old   #2
 
Join Date: Dec 2010
Posts: 2,764
Received Thanks: 930
Quote:
Originally Posted by Endorfin View Post
Huhu epvpers!

Well my problem is:

I made a label:
Code:
$k=GUICtrlCreateLabel("Password:  " & $pw, 8, 10)
When i change the password($pw variable), i cant refresh the label with the new password, tried this: GUICtrlSetData(), but doesnt work for me. Some1 have any idea?

PHP Code:
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=
$Form1 GUICreate("Form1"623442192124)
$pw "hello"
$k=GUICtrlCreateLabel("Password:  " $pw810)
$read =GUICtrlCreateInput("",10,30,100,25)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###

While 1
    $nMsg 
GUIGetMsg()
    Switch 
$nMsg
        
Case $GUI_EVENT_CLOSE
            
Exit

EndSwitch
$read2=GUICtrlRead($read)
$pw $read2
GUICtrlSetData
($k,$pw)
WEnd 
This works
Havelock_Vetinari is offline  
Thanks
1 User
Old   #3
 
Join Date: Apr 2010
Posts: 303
Received Thanks: 65
Thx man, helped alot I called the function in wrong place in the code
Endorfin is offline  
Old   #4
 
Join Date: Dec 2010
Posts: 2,764
Received Thanks: 930
Quote:
Originally Posted by Endorfin View Post
Thx man, helped alot I called the function in wrong place in the code
No problem

__________________

Havelock_Vetinari is offline  
Reply

Thread Tools

Similar Threads
Transparent Label
Hey Leute, schnelle frage, wie kann ich in AutoIt ein Label transparent machen, damit man nur die Zeichen sieht, und der Hintergrund durchscheint? ...
4 Replies
Tooltip auf Label
Hallo Epvp... Ich wollte mal fragen , ob man ein Tooltip erstellen kann , dass nur erscheint , wenn die Maus auf einem BEstimmtem Label zeigt /...
7 Replies
[VB.NET] Label (Runterzählen)
Hey Leute, Wusste ned genau wie ich den Thread nennen soll deswegen hab ich Label (Runterzählen) genommen ;D Also ich zeige euch Heute wie ein...
4 Replies
Prozenanzeige im Label
Hiho, ich hab mal ne Frage: Wie rechnet man aus wie viel Prozent man(der Bot) schon geschafft hat? Also ich lese die Accountanzahl aus mit...
5 Replies
Run - Label?
Hallo an alle Pvpers, Ich hab in meiner GUI ein Label dass anzeigen soll wieviele Runs bisher gemacht wurden. Dies soll immer erneuert werden...
3 Replies



All times are GMT +2. The time now is 19:30.


Powered by vBulletin®
Copyright ©2000 - 2015, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

Support | Contact Us | FAQ | Advertising | Privacy Policy
Copyright ©2015 elitepvpers All Rights Reserved.