Not a member yet? Register for your free account!

Go Back   elitepvpers > Coders Den > AutoIt
You last visited: Today at 09:54

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

 

[HELP]GUI label update/refresh

Reply
 
Old   #1
 
elite*gold: 0
The Black Market: 17/0/2
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
 
elite*gold: 224
The Black Market: 32/0/0
Join Date: Dec 2010
Posts: 2,764
Received Thanks: 929
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
 
elite*gold: 0
The Black Market: 17/0/2
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
 
elite*gold: 224
The Black Market: 32/0/0
Join Date: Dec 2010
Posts: 2,764
Received Thanks: 929
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



« Previous Thread | Next Thread »

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 - AutoIt
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 - AutoIt
[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 - Coding Tutorials
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 - AutoIt
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 - GW Bot Discussions / Questions



All times are GMT +2. The time now is 09:54.


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.