AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

GUI variables

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
__Ranger



Joined: 26 Oct 2007
Posts: 4

PostPosted: Sat Oct 27, 2007 12:56 am    Post subject: GUI variables Reply with quote

....
Gui, Add, ListBox, x16 y172 w244 h160 vlistAllHotkeys,
....
According to help, this must work:
Control, Add, Hello, listAllHotkeys
But it does not. But this is correct:
Control, Add, Hello, ListBox1

There's problem?

PS Sorry for noobie question, but I have over 7 years of experience in C++ and AHK syntax just blows my mind (
Back to top
View user's profile Send private message
i3egohan



Joined: 18 Jul 2006
Posts: 320

PostPosted: Sat Oct 27, 2007 3:18 am    Post subject: Reply with quote

what are u trying to do?
Code:
GuiControl


look that up in the doc
_________________
`Autohotkey User`
- I3egohan
Back to top
View user's profile Send private message
__Ranger



Joined: 26 Oct 2007
Posts: 4

PostPosted: Sat Oct 27, 2007 6:55 am    Post subject: Reply with quote

Im trying to add new item in ListBox. With my variable name listAllHotkeys has no effect, but with ListBox1 works perfect.
Back to top
View user's profile Send private message
Guest-
Guest





PostPosted: Sat Oct 27, 2007 6:44 pm    Post subject: Reply with quote

The "vSomeVar" is just recognized by commands wich acts on AHK gui, like GuiControl. GuiControlGet...
Control, ControlGet..., ControlSet... uses control's class name (Edit1, ListBox1, etc)
Back to top
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group