AutoHotkey Community

It is currently May 27th, 2012, 5:30 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: March 12th, 2010, 6:00 am 
Offline

Joined: July 9th, 2009, 1:13 am
Posts: 140
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.


Report this post
Top
 Profile  
Reply with quote  
PostPosted: March 12th, 2010, 6:50 am 
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...


Report this post
Top
  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: dra, HotkeyStick, rbrtryn, Yahoo [Bot] and 68 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group