 |
AutoHotkey Community Let's help each other out
|
| View previous topic :: View next topic |
| Author |
Message |
viciouskinid
Joined: 23 Jun 2007 Posts: 136
|
Posted: Thu Jul 24, 2008 2:50 pm Post subject: problem with transparent and tab |
|
|
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 |
|
 |
SpiderGames
Joined: 09 Jun 2008 Posts: 464 Location: Canada
|
Posted: Fri Jul 25, 2008 12:52 am Post subject: |
|
|
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 |
|
 |
viciouskinid
Joined: 23 Jun 2007 Posts: 136
|
Posted: Fri Jul 25, 2008 1:18 am Post subject: |
|
|
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 |
|
 |
SpiderGames
Joined: 09 Jun 2008 Posts: 464 Location: Canada
|
Posted: Fri Jul 25, 2008 1:42 am Post subject: |
|
|
i Dont know _________________
Xfire: SpiderGames77 |
|
| Back to top |
|
 |
engunneer
Joined: 30 Aug 2005 Posts: 6847 Location: Pacific Northwest, US
|
Posted: Fri Jul 25, 2008 2:22 am Post subject: |
|
|
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 |
|
 |
viciouskinid
Joined: 23 Jun 2007 Posts: 136
|
Posted: Fri Jul 25, 2008 9:11 am Post subject: |
|
|
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 |
|
 |
viciouskinid
Joined: 23 Jun 2007 Posts: 136
|
Posted: Fri Jul 25, 2008 5:28 pm Post subject: |
|
|
| Anyone? |
|
| 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
|