|
You last visited: Today at 05:42
Advertisement
[HELP]GUI label update/refresh
Discussion on [HELP]GUI label update/refresh within the AutoIt forum part of the Coders Den category.
03/05/2012, 12:28
|
#1
|
elite*gold: 0
Join Date: Apr 2010
Posts: 307
Received Thanks: 66
|
[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?
|
|
|
03/05/2012, 12:35
|
#2
|
elite*gold: 224
Join Date: Dec 2010
Posts: 2,766
Received Thanks: 931
|
Quote:
Originally Posted by Endorfin
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", 623, 442, 192, 124) $pw = "hello" $k=GUICtrlCreateLabel("Password: " & $pw, 8, 10) $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
|
|
|
03/05/2012, 13:21
|
#3
|
elite*gold: 0
Join Date: Apr 2010
Posts: 307
Received Thanks: 66
|
Thx man, helped alot  I called the function in wrong place in the code
|
|
|
03/05/2012, 17:29
|
#4
|
elite*gold: 224
Join Date: Dec 2010
Posts: 2,766
Received Thanks: 931
|
Quote:
Originally Posted by Endorfin
Thx man, helped alot  I called the function in wrong place in the code 
|
No problem
|
|
|
 |
Similar Threads
|
Transparent Label
12/07/2011 - AutoIt - 4 Replies
Hey Leute,
schnelle frage, wie kann ich in AutoIt ein Label transparent machen, damit man nur die Zeichen sieht, und der Hintergrund durchscheint?
Sufu hat nichts ergeben...zumindestens nix hilfreiches!
Danke schonmal im Vorfeld!
Liebe Grüße
*scarface*
|
Tooltip auf Label
10/22/2011 - AutoIt - 7 Replies
Hallo Epvp...
Ich wollte mal fragen , ob man ein Tooltip erstellen kann , dass
nur erscheint , wenn die Maus auf einem BEstimmtem Label
zeigt / steht.....
Danke :D
|
[VB.NET] Label (Runterzählen)
09/15/2011 - Coding Tutorials - 4 Replies
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 Label von z.B 30 auf 0 runter zählt
und dann was ausführt z.B Form 2 öffnen
Was braucht ihr?
1x Label
1x Timer
|
Prozenanzeige im Label
08/08/2011 - AutoIt - 5 Replies
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 Filecountlines. Dann soll er mir in einem Label anzeigen wie viel er schhon geschafft hat(Je nachdem vie viele Acounts er ausgelesen hat) in Prozent.
MfG Ludder231
|
Run - Label?
02/22/2010 - GW Bots - 3 Replies
Hallo an alle Pvpers,
Ich hab in meiner GUI ein Label dass anzeigen soll wieviele Runs bisher gemacht wurden. Dies soll immer erneuert werden nachdem "/resign" eingegeben wurde. ICh dachte schon an:
Funktioniert aber nich. Oder was ich mir auch noch gedacht habe war:
Kann mir jmd helfen?
|
All times are GMT +1. The time now is 05:43.
|
|