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 

problem with transparent and tab

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



Joined: 23 Jun 2007
Posts: 136

PostPosted: Thu Jul 24, 2008 2:50 pm    Post subject: problem with transparent and tab Reply with quote

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.
Back to top
View user's profile Send private message
SpiderGames



Joined: 09 Jun 2008
Posts: 464
Location: Canada

PostPosted: Fri Jul 25, 2008 12:52 am    Post subject: Reply with quote

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

_________________

Xfire: SpiderGames77
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
viciouskinid



Joined: 23 Jun 2007
Posts: 136

PostPosted: Fri Jul 25, 2008 1:18 am    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
SpiderGames



Joined: 09 Jun 2008
Posts: 464
Location: Canada

PostPosted: Fri Jul 25, 2008 1:42 am    Post subject: Reply with quote

i Dont know
_________________

Xfire: SpiderGames77
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
engunneer



Joined: 30 Aug 2005
Posts: 6847
Location: Pacific Northwest, US

PostPosted: Fri Jul 25, 2008 2:22 am    Post subject: Reply with quote

you might try adjusting setbatchlines to -1 and perhaps setcontroldelay to see if you can speed things up.
_________________
Unless otherwise noted, all code is untested.
Common Answers: 1.(Loops, Viruses, etc.) 2. Search 3.RTFM
Back to top
View user's profile Send private message Visit poster's website
viciouskinid



Joined: 23 Jun 2007
Posts: 136

PostPosted: Fri Jul 25, 2008 9:11 am    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
viciouskinid



Joined: 23 Jun 2007
Posts: 136

PostPosted: Fri Jul 25, 2008 5:28 pm    Post subject: Reply with quote

Anyone?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   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