 |
AutoHotkey Community Let's help each other out
|
| View previous topic :: View next topic |
| Author |
Message |
__Ranger
Joined: 26 Oct 2007 Posts: 4
|
Posted: Sat Oct 27, 2007 12:56 am Post subject: GUI variables |
|
|
....
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 |
|
 |
i3egohan
Joined: 18 Jul 2006 Posts: 320
|
Posted: Sat Oct 27, 2007 3:18 am Post subject: |
|
|
what are u trying to do?
look that up in the doc _________________ `Autohotkey User`
- I3egohan |
|
| Back to top |
|
 |
__Ranger
Joined: 26 Oct 2007 Posts: 4
|
Posted: Sat Oct 27, 2007 6:55 am Post subject: |
|
|
| Im trying to add new item in ListBox. With my variable name listAllHotkeys has no effect, but with ListBox1 works perfect. |
|
| Back to top |
|
 |
Guest- Guest
|
Posted: Sat Oct 27, 2007 6:44 pm Post subject: |
|
|
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 |
|
 |
|
|
You can post new topics in this forum You can reply to topics in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|