AutoHotkey Community

It is currently May 26th, 2012, 9:22 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 7 posts ] 
Author Message
PostPosted: July 24th, 2008, 3:50 pm 
Offline

Joined: June 23rd, 2007, 2:44 am
Posts: 136
the code below is a rough example of what is going wrong in my script
Code:
Gui,1: Show,  xCenter yCenter h100 w100 , AA
WinSet, TransColor, 100001 255 ,AA
Gui, Add, Progress,x0 y0 w40 h50 Background100001
Gui, Add, button,x40 y0 w40 h50 Background100001
Gui, 1:Default
Gui 1: +OwnDialogs -Caption


Gui,1: Add, Tab2, vMainTabs h500 AltSubmit , 1||2|3|4|

Gui,1: Tab,1


Gui,1: Show,  xCenter yCenter w500 h500 , AA



When you change tabs the whole gui disappears for a second. This is caused by the transparent box. Can anyone fix this bug.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: July 25th, 2008, 1:52 am 
Offline

Joined: June 9th, 2008, 2:32 am
Posts: 936
Location: Canada
no but to save you some problems...
Code:
;if you put Gui, 1:Add....  your wasting time especialy if you say Gui default 1
Gui, Add... ; same effect as Gui 1

_________________
Image
I know i have 6 legs. It's cuz I'm special.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: July 25th, 2008, 2:18 am 
Offline

Joined: June 23rd, 2007, 2:44 am
Posts: 136
thanks, the code I posted is a bit messy.

So you dont know how to fix the problem or is it that the problem cant be fixed.

Is there a way to show/hide controls simultaneously. if i use guicontrol,hide one after another instead of using tab it is clear that it is not simultaneous.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: July 25th, 2008, 2:42 am 
Offline

Joined: June 9th, 2008, 2:32 am
Posts: 936
Location: Canada
i Dont know

_________________
Image
I know i have 6 legs. It's cuz I'm special.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: July 25th, 2008, 3:22 am 
Offline
User avatar

Joined: August 30th, 2005, 8:43 pm
Posts: 8666
Location: Salem, MA
you might try adjusting setbatchlines to -1 and perhaps setcontroldelay to see if you can speed things up.

_________________
Image
(Common Answers) - New Tutorials Forum - Humongous FAQ


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: July 25th, 2008, 10:11 am 
Offline

Joined: June 23rd, 2007, 2:44 am
Posts: 136
no luck
Code:
SetBatchLines, -1
SetControlDelay, -1
Gui,1: Show,  xCenter yCenter h100 w100 , AA
WinSet, TransColor, 100001 255 ,AA
Gui, Add, Progress,x0 y0 w40 h50 Background100001
Gui, Add, button,x40 y0 w40 h50 Background100001
Gui, 1:Default
Gui 1: +OwnDialogs -Caption


Gui,1: Add, Tab2, vMainTabs h500 AltSubmit , 1||2|3|4|

Gui,1: Tab,1


Gui,1: Show,  xCenter yCenter w500 h500 , AA


Can anyone think of a way around this problem


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: July 25th, 2008, 6:28 pm 
Offline

Joined: June 23rd, 2007, 2:44 am
Posts: 136
Anyone?


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

All times are UTC [ DST ]


Who is online

Users browsing this forum: Bing [Bot], BrandonHotkey, fusion1920, MSN [Bot], tomoe_uehara and 66 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