Search found 58 matches
- 01 May 2015, 09:32
- Forum: Ask for Help (v1)
- Topic: New object with bad parameters silently failing
- Replies: 1
- Views: 1109
New object with bad parameters silently failing
Hello Everyone, I'm not sure if this is a Bug or an intended behavior, so feel free to move the thread if it does not fits here. Today I went absolutely crazy with an objects behavior that took me some hours to figure out. Imagine an object like this class test{ __New(something){ this.something := s...
- 01 May 2015, 05:39
- Forum: Ask for Help (v1)
- Topic: ComboBox include strings with "|" and "||
- Replies: 13
- Views: 4174
Re: ComboBox include strings with "|" and "||
You might want to use CB_AddItem() . Hello Just me. I thought about using it, but as I have read it has some delay after each addition. It also makes things a bit, more complicated because currently the items are stored on an object, and I just call the join method of that object with the correct d...
- 01 May 2015, 05:36
- Forum: Ask for Help (v1)
- Topic: ComboBox include strings with "|" and "||
- Replies: 13
- Views: 4174
Re: ComboBox include strings with "|" and "||
Hello Lexikos. I end using `a as a separator. It is working for now, but I'm facing a small problem: I'm not able to set a selected item. This is done using "||" normally. What I tried is to use the delimiter twice, but it does not work. Any idea why? delim=`a list:= "hello" . delim . delim . "dude"...
- 01 May 2015, 05:13
- Forum: Scripts and Functions (v1)
- Topic: Smart Comboboxes
- Replies: 5
- Views: 2506
Re: Smart Comboboxes
Hello Just me,
Thank you for sharing your library. The problem with your autocomplete approach is that seems to require the identification of the control. I mean, it is not generic for any control in the gui but a specific one.
Thank you for sharing your library. The problem with your autocomplete approach is that seems to require the identification of the control. I mean, it is not generic for any control in the gui but a specific one.
- 01 May 2015, 04:25
- Forum: Ask for Help (v1)
- Topic: ComboBox include strings with "|" and "||
- Replies: 13
- Views: 4174
Re: ComboBox include strings with "|" and "||
You can use a character that the user is unlikely (or unable) to enter, such as an ASCII control character. If you're specifically targetting Unicode versions of AutoHotkey, you can use a non-character code point such as Chr(0xFFFF) . Alternatively, you can send ComboBox messages to the control ins...
- 30 Apr 2015, 10:51
- Forum: Ask for Help (v1)
- Topic: ComboBox include strings with "|" and "||
- Replies: 13
- Views: 4174
Re: ComboBox include strings with "|" and "||
Hello. Can't you use the following? comboBoxList := RegExReplace(list, anySignSeperator, "|") Sorry, I don't understand your point at all. The problem is that the end user can include any string. So what I have to do is to escape the special characters the user could input, not the other way round.
- 30 Apr 2015, 10:42
- Forum: Scripts and Functions (v1)
- Topic: AutoXYWH() - Move control automatically when GUI resized
- Replies: 107
- Views: 85158
Re: AutoXYWH() - Move control automatically when GUI resized
Hello tmplinshi
Wow, I can't believe I have been so stupid! I have been using 0.5w and 0.5x as options instead of w0.5 and x0.5!!
Now I have others problems to face. Thank you.
Wow, I can't believe I have been so stupid! I have been using 0.5w and 0.5x as options instead of w0.5 and x0.5!!
Now I have others problems to face. Thank you.
- 30 Apr 2015, 07:55
- Forum: Scripts and Functions (v1)
- Topic: AutoXYWH() - Move control automatically when GUI resized
- Replies: 107
- Views: 85158
Re: AutoXYWH() - Move control automatically when GUI resized
Hello Everyone.
This still not working for width of controls on the same "row". I tried with every kind of combination. Any Idea about what I'm doing wrong?
This still not working for width of controls on the same "row". I tried with every kind of combination. Any Idea about what I'm doing wrong?
- 30 Apr 2015, 03:25
- Forum: Ask for Help (v1)
- Topic: Access base object methods with child properties.
- Replies: 3
- Views: 1298
Re: Access base object methods with child properties.
You have posted in the wrong forum (Scripts & Functions). I have moved the topic. Also, please keep your misspelled swear word to yourself. ;) http://www.damitdams.com/images/beaver.jpg Sorry for posting in the wrong forum. I think it was because I had it opened already. Thanks for moving. I will t...
- 29 Apr 2015, 17:23
- Forum: Ask for Help (v1)
- Topic: Access base object methods with child properties.
- Replies: 3
- Views: 1298
Re: Access base object methods with child properties.
Dam it! this code works. I tested it and it works. Then I have to review what I have done bad in my real project.
- 29 Apr 2015, 17:21
- Forum: Ask for Help (v1)
- Topic: Access base object methods with child properties.
- Replies: 3
- Views: 1298
Access base object methods with child properties.
Hello, In javascript there is a method called call. In that method you pass the "object" you want to operate on. This is really useful when you want to override a class method just partially, or you want to use it at some point of the child class. For example: class parent { __New(bar){ this.foo:=ba...
- 29 Apr 2015, 13:18
- Forum: Ask for Help (v1)
- Topic: ComboBox include strings with "|" and "||
- Replies: 13
- Views: 4174
Re: ComboBox include strings with "|" and "||
Use http://ahkscript.org/docs/commands/Gui.htm#Options "Delimiter: Specifies that the window should use a field separator other than pipe (|)" The problem using that option is that it just moves the same problem to another character. I want to allow the user to set any string to be used into the co...
- 29 Apr 2015, 05:48
- Forum: Ask for Help (v1)
- Topic: ComboBox include strings with "|" and "||
- Replies: 13
- Views: 4174
ComboBox include strings with "|" and "||
Hello,
I was wondering if there is a way to include "options" in a combo-box that includes "|" and "||" as part of the string. Any way to escape them or any know workaround?
Regards
I was wondering if there is a way to include "options" in a combo-box that includes "|" and "||" as part of the string. Any way to escape them or any know workaround?
Regards
- 29 Apr 2015, 04:17
- Forum: Scripts and Functions (v1)
- Topic: Smart Comboboxes
- Replies: 5
- Views: 2506
Smart Comboboxes
Hello everyone.
I just found this piece of code:
http://www.autohotkey.com/board/topic/1 ... omboboxes/
It adds atocomplete to comboboxes while you type.
The posted date is quite old, so I would like to know if a better solution has appeared since then.
Regards
I just found this piece of code:
http://www.autohotkey.com/board/topic/1 ... omboboxes/
It adds atocomplete to comboboxes while you type.
The posted date is quite old, so I would like to know if a better solution has appeared since then.
Regards
- 29 Apr 2015, 04:13
- Forum: Ask for Help (v1)
- Topic: [SOLVED] Recent type text (history)
- Replies: 16
- Views: 5605
- 29 Apr 2015, 04:08
- Forum: Wish List
- Topic: Add a link on every special gui label to "Creating Multiple
- Replies: 5
- Views: 2375
Re: Add a link on every special gui label to "Creating Multi
Hello lexikos,
I did not see the "Windows Events" section. And in fact it took me some time to find it out even knowing that it should be there. On the first paragraph is clearly explained this. Thanks to pointing it out.
Regards.
I did not see the "Windows Events" section. And in fact it took me some time to find it out even knowing that it should be there. On the first paragraph is clearly explained this. Thanks to pointing it out.
Regards.
- 27 Apr 2015, 03:51
- Forum: Scripts and Functions (v1)
- Topic: AutoXYWH() - Move control automatically when GUI resized
- Replies: 107
- Views: 85158
Re: AutoXYWH() - Move control automatically when GUI resized
Sorry if I was not clear. You script is working perfectly. What should be changed is AHK documentation.toralf wrote:Actually I think it is simple.
What would you suggest should change?
Regards
- 27 Apr 2015, 03:50
- Forum: Wish List
- Topic: Add a link on every special gui label to "Creating Multiple
- Replies: 5
- Views: 2375
Re: Add a link on every special gui label to "Creating Multi
Hello lexikos,
Maybe I did. I went there from a google search.
What about my other suggestion?
Maybe I did. I went there from a google search.
What about my other suggestion?
- 26 Apr 2015, 07:52
- Forum: Wish List
- Topic: Add a link on every special gui label to "Creating Multiple
- Replies: 5
- Views: 2375
Add a link on every special gui label to "Creating Multiple
Hello, Most of the help threads are very well connected to other interesting or related topics. This is not the case of special gui labels such as guisize. It's not very intuitive to figure that you have to add a prefix to each guisize to match the precise gui you want to refer. Specially because th...
- 26 Apr 2015, 07:47
- Forum: Scripts and Functions (v1)
- Topic: AutoXYWH() - Move control automatically when GUI resized
- Replies: 107
- Views: 85158
Re: AutoXYWH() - Move control automatically when GUI resized
Hello toralf,
It's not a problem with your script, it's a problem with AHK documentation. It's very hard to figure out that each window has it's ow guisize label. Once I added the name of the gui as a prefix of the guisize label you script started to work again. Not very intuitive in my opinion
It's not a problem with your script, it's a problem with AHK documentation. It's very hard to figure out that each window has it's ow guisize label. Once I added the name of the gui as a prefix of the guisize label you script started to work again. Not very intuitive in my opinion