 |
AutoHotkey Community Let's help each other out
|
| View previous topic :: View next topic |
| Author |
Message |
jaco0646
Joined: 07 Oct 2006 Posts: 3113 Location: MN, USA
|
Posted: Sat Mar 13, 2010 4:35 pm Post subject: Adding tabs via GuiControl |
|
|
The documentation states that tabs will be appended at the end, while they are in fact appended at the beginning. | Code: | tabs = 3
Gui, Add, Tab2, vTab -wrap, 1|2|3
Gui, Add, Button, Default, Add
Gui, Show
return
GuiClose:
ExitApp
ButtonAdd:
GuiControl,,Tab,% ++tabs
return |
The issue has come up twice recently.
1. Selecting the position of tab added to existing tab control
2. GuiControl is adding Tabs backwards
I suppose it could be fixed by changing either the code or the documentation. |
|
| Back to top |
|
 |
Guest
|
Posted: Sat Mar 13, 2010 10:19 pm Post subject: Re: Adding tabs via GuiControl |
|
|
| I strongly recommend changing the behavior (if possible) not just changing the docs... |
|
| Back to top |
|
 |
Guest
|
Posted: Sun Mar 14, 2010 8:49 am Post subject: |
|
|
if you change the behaviour it wil break any scripts where ppl have worked around or used it as it is.
if its possible what i suggest is to in next release add an optional parameter at end of guicontrol which when used with tabs would tell it whether you want new tabs added at end or start, with 0 or absent = at the start being the default. |
|
| Back to top |
|
 |
Tyrsius
Joined: 09 Jul 2009 Posts: 140
|
Posted: Mon Mar 15, 2010 7:39 pm Post subject: |
|
|
| I understand the desire not to break existing functionality, but this is a little strange. You are asking that we maintain broken behavior so that workaround fixes will still fix broken code? |
|
| 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
|