Forum Replies Created
-
AuthorPosts
-
JohnBankParticipantQUOTE (Jeffijoe @ Sep 13 2009, 01:25 PM) <{POST_SNAPBACK}>Hey,
I was wondering, in the Alpha Lite package, will the application only be skinned on my computer, or on the end users?
Because I made a skinned app, and took it with me to my sisters house, and when I ran it there, it wasnt skinned. I made it on Vista, and she has XP. I tried with other PC's too, only
XP though. I had an XP once, with Bricopack, which gives the Vista looks, and it worked there.So, does the skins only work on Vista?
You must've done something wrong.The good thing about vcl is that it will look/work the same under any winNT os.I tried Alpha skins under XP,Vista and 7.Not a single change.JohnBankParticipantI'm using Delphi 2009 and I haven't seen this issue during runtime.
JohnBankParticipantAre you sure all those problems are connected with AlphaControls?
I'm a user of AlphaControls,just like you,but I can give you my expirience I have had so far:
1)What version of delphi are you using? I use WMP2008(hardly modified) in all my applications and I haven't expirienced the application to freeze on maximize.
2)Are you sure that'a problem of AlphaControls? I don't think so.You'd expirience the same thing without alphaControls.
Use this:
CODEmyListBox.items.beginupdate();
//Load all items
myListBox.items.endupdate();Another suggestion – use another control,not listbox.ListBox/ListView also take time(whether with or without skin,its vcl's fault) when loading huge amount of entries and that's reasonable,because It creates an instance of each entry.There are third party controls out there that wouldn't copy them and therefore they won't increase that much memory and of course improve performance.But I believe your problem is begin/end update.
3)same as 1).I never had such things.What do you mean with “there is a little bug”?
JohnBankParticipantThe problem still exists in the demo of AlphaSkins 6.44. Go to the progressbar frame and check your cpu.
JohnBankParticipantQUOTE (Support @ Sep 8 2009, 08:44 AM) <{POST_SNAPBACK}>We must be sure that problem is in gauge animation.
Could you disable this animation and check a CPU usage?
Yes,I removed the sGauge from your demo's mainUnit and cpu is 0%,but if i go to 'Scroll and progress',I see 3 progressbars/sGauges there and cpu starts jumping from 0 to 35 again.JohnBankParticipantNo changes.It goes from 0 to ~30% every 3 seconds.
I think the problem is not in the skin.
JohnBankParticipantQUOTE (Support @ Sep 3 2009, 12:11 PM) <{POST_SNAPBACK}>I'll try to optimize this animation soon. Which skin have slow animation?
WMP 2008.I don't know if its animation.Open demo and watch cpu usage.It's havier here,because I used the progressbar from Vista,but I like the glow/animation.Please optimize it,Serge!
JohnBankParticipantI much prefer Serge to improve it.
JohnBankParticipantIs it fixed in 6.43?
JohnBankParticipantMaximize Problem #2
Again using WMP 2008,but I think other skins have that too:
1.Create a control with align:bottom.
2.Run the application ..Control is at bottom
3.Maximize the form …Control is at bottom
4.Restore the form …Control isn't at bottom,it's at form maximized possition. <img src="style_emoticons//unsure.gif” style=”vertical-align:middle” emoid=”:???:” border=”0″ alt=”unsure.gif” />This may help you very much:
1.Put an event on FormResize
2.Run the application ..event is called
3.Maximize the form ..event is called
4.Restore the form ..event is NOT calledJohnBankParticipantJohnBankParticipantHello JohnExtendedBorders property is False?
Could you help me to reproduce this situation?
Create a normal VCL form project.Place a button that calls MessageBoxA when onClick() is handled.The bug shows with both ExndedBorders = true or false.
The skin must be WMP 2009.
Place your form in center(where a messagebox usually appears). and press the button.When you click the button,a messageBox will appear and you'll see it.Now move the cursor(mice) over the button on the messagebox and the messagebox will hide behind the form.
You can also do this -> move the form away from the center.Call messagebox then move the form onto the message box.Then move the mouse over the messagebox button and the messagebox will go behind the form. <img src="style_emoticons//dry.gif” style=”vertical-align:middle” emoid=”<_
Edit:I tested it with “Topaz” and “MacOS2” skins and the same thing happens.
With “MacOS” it works normal,without this bug.It seems to be a problem in some of the skins.JohnBankParticipant6.40 stable just got released.
Tell me did you add the feature? Please say “yes”. <img src="style_emoticons//a3.gif” style=”vertical-align:middle” emoid=”:a3:” border=”0″ alt=”a3.gif” />
JohnBankParticipantHello
Hiding will be possible in the next release I think by using a function like this :CODEprocedure FadeControls(ctrl : Array of TwinControl; IsVisible : boolean);
var element : TwinControl;
begin
for element in ctrl do
begin
PrepareForAnimation(element);
element.Visible := IsVisible;
AnimShowControl(element, 250);
end;
end;
I have another question.Delphi VCL isn't thread safe and I can't do it with original delphi VCL,so I ask about your controls:Can I create a thread for each control in the loop so the gui doesn't freeze when I call the function? When I call the function with two controls,it freezes for 500 ms.
Could you add this in the next release too? <img src="style_emoticons//wub.gif” style=”vertical-align:middle” emoid=”:wub:” border=”0″ alt=”wub.gif” />
JohnBankParticipantThe more skins,the better.Win7 skin will be a good choice,just make the transparency like the real one.The vista skin seems to be transparent at 80-85% and the real win7/vista transparency is lower – between 60-70%
JohnBankParticipantHelloTry this demo please, maybe it helps?
Hello,I created this in the SkinManager.CommonSections:
CODE[NEWPROGRESS]
PARENTCLASS=BUTTON
IMAGEPERCENT=0
TRANSPARENCY=0
GRADIENTPERCENT=100
GRADIENTDATA=8454016;8454016;71;1;0;8454016;8454143;7;1;0;8454143;8454143;22;1;0
;8454143;8454143;0;1;0Then I changed the property sGauge1.ProgressSkin to NEWPROGRESS,but the color is white in Vista skin. <img src="style_emoticons//huh.gif” style=”vertical-align:middle” emoid=”:huh:” border=”0″ alt=”huh.gif” />
I want it in red,blue and yellow.How do I make it in Vista skin?
Edit:
If I change the skin in your program from Saphire to Vista,the color becomes white and I can't change it.
AuthorPosts