Doppelklick auf Liste?

05/09/2010 18:02 .nAno#16
Ich seh grad erst, dass das alles in einer Funktion steht :o
Du müsstet $stop als globale Variable definieren oder die ControlID als Funktionsparameter übergeben damit das funktioniert ;)
05/10/2010 15:54 mipez#17
Quote:
Originally Posted by .nAno View Post
Ich seh grad erst, dass das alles in einer Funktion steht :o
Du müsstet $stop als globale Variable definieren oder die ControlID als Funktionsparameter übergeben damit das funktioniert ;)
Hm... aber $stop ist doch schon am Anfang definiert Oo
05/10/2010 17:23 .nAno#18
Ja, als normale Variable, nicht als Global ;)
05/10/2010 17:42 mipez#19
Quote:
Originally Posted by .nAno View Post
Ja, als normale Variable, nicht als Global ;)
Hm, wenn ich's direkt in die Funktion mache, funzt's nich.
Wenn ich es über dem Hauptscript mache, funzt's nich.
05/10/2010 18:08 .nAno#20
PHP Code:

Global $stop GuiCtrlCreateButton (...)

While 
1=1
test
()
WEnd

Func test 
()
If 
GUIGetMsg () = $stop Then MsgBox 0"""Jetzt sollte es klappen..." )
EndFunc 
05/10/2010 19:08 mipez#21
Quote:
Originally Posted by .nAno View Post
PHP Code:

Global $stop GuiCtrlCreateButton (...)

While 
1=1
test
()
WEnd

Func test 
()
If 
GUIGetMsg () = $stop Then MsgBox 0"""Jetzt sollte es klappen..." )
EndFunc 
So hab ich es gemacht (auf mein Script bezogen)... klappt nich Oo
05/11/2010 08:05 mipez#22
Stop spamming - nobody wants that right now
#Reported