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 

GuiControl is adding Tabs backwards

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



Joined: 09 Jul 2009
Posts: 140

PostPosted: Fri Mar 12, 2010 5:00 am    Post subject: GuiControl is adding Tabs backwards Reply with quote

Code:

PageCount++
GuiControl,, TabControl, Page %PageCount%


According to the documentation of GuiControl, the code above should create a new tab "to be appended at the end of the control's list."

Instead, it does the exact opposite. It adds a new tab with the given name to the beginning of the controls existing list. Even worse though is that, due to the way tabs work, the leftmost tab (the newly created one) still contains the content of the previously leftmost tab. The effect of this is that everything appears to shift down one tab, so that the old rightmost tab (still with its old name) has the contents of the newly created tab.

I am hoping that I am doing something wrong, or that there is some easy way to fix this incredibly strange behavior.
Back to top
View user's profile Send private message
Guest






PostPosted: Fri Mar 12, 2010 5:50 am    Post subject: Re: GuiControl is adding Tabs backwards Reply with quote

There is a recent topic about this somewhere...omg I finally found it...
...it's probably a real bug tho...someone should test old versions of AutoHotkey & see if it was always this way...
Back to top
Display posts from previous:   
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