Forum Replies Created
-
AuthorPosts
-
QUOTE (JohnBank @ Sep 17 2009, 02:55 AM) <{POST_SNAPBACK}>And make sure that you had activated the TsSkinManager your application is using(it appears you didn't from your picture).
We're talking about Sking turned off here.
I'm using AC without skins on Delphi 7 for some time and couldn't ever reproduce this issue.
The PNGs are not transparent in design-time though, but in runtime all goes well.August 4, 2009 at 6:17 pm in reply to: How to determine required button width based on caption? #40162You may tamper with sGraphUtils functions. For example, function CutText has saved me a lot of time when I tried to ellipse caption of TsTabSheet.
I don't think it will be significally different from Vista skin, but I'd like to take a look at one <img src="style_emoticons//smile.gif” style=”vertical-align:middle” emoid=”:)” border=”0″ alt=”smile.gif” />
Maybe you should try AC Uninstaller, maybe it will help.
This is merely a focus.
I'd place a breakpoint inside procedure and avoid all unnecessary steps while debugging. Otherwise I suppose that can't be done.
Maybe by pressing F8? <img src="style_emoticons//smile.gif” style=”vertical-align:middle” emoid=”:)” border=”0″ alt=”smile.gif” />
Yeah, that's really good question. The AdvTaskDialog from TMS has the same problem and I suppose that can't be done right now…
P.S. I'm done with Delphi now, so my advices are not always correct <img src="style_emoticons//rolleyes.gif” style=”vertical-align:middle” emoid=”:roll:” border=”0″ alt=”rolleyes.gif” />
You can try this code, maybe this is what you need:
CODEsSkinManager1.SkinningRules := sSkinManager1.SkinningRules – [srDialogs];
JsDialog1.ShowModal();
sSkinManager1.SkinningRules := sSkinManager1.SkinningRules + [srDialogs];CODEsSkinManager1.SkinningRules := sSkinManager1.SkinningRules – [srStdForms];
//capture the object here…
sSkinManager1.SkinningRules := sSkinManager1.SkinningRules + [srStdForms];April 29, 2009 at 5:49 pm in reply to: Problem about scaling all Alphacontrols on the Frames to fit to all kind of Screens when maxmized?? #38912georgettank,
I didn't mess with frames but controls on main form are aligned properly. Hope you'll get the idea.
And by the way, Align is one of the basic things that everyone should know… <img src="style_emoticons//huh.gif” style=”vertical-align:middle” emoid=”:huh:” border=”0″ alt=”huh.gif” />
April 27, 2009 at 5:32 pm in reply to: Problem about scaling all Alphacontrols on the Frames to fit to all kind of Screens when maxmized?? #38853I agree, aligning is sufficient for most tasks.
CODEprocedure TForm1.Button2Click(Sender: TObject);
begin
with TsTabSheet.Create(self) do begin
Caption:='Page '+inttostr(sPageControl1.PageCount);
PageControl:=sPageControl1;
Visible:=True;
end;
sPageControl1.ActivePageIndex:=sPageControl1.PageCount-1;
end;And this works too, just make it visible after setting its PageControl.
Well that's strange… I'm using dynamically created sTabSheets quite often, but couldn't reproduce the problem you described.
The one difference in my code from listed above is:CODEts:=TsTabSheet.Create(Pager);
ts.Parent:=Pager;
ts.ImageIndex:=0;
ts.PageControl:=Pager;This way it works well.
Hmmm… try to increase button's height <img src="style_emoticons//rolleyes.gif” style=”vertical-align:middle” emoid=”:roll:” border=”0″ alt=”rolleyes.gif” />
I tried the effect with PNG glyph, and all worked perfectly.You should describe your problem more clearly, if you want the community to help you. With error message and/or screenshot.
It controls the reflection of the button's glyph.
Then put a TsFormProvider to the form and set it to TsSkinManager you need. I hadn't this problem you described, all worked well…
You should use two different TsSkinManager components and set one to Golden skin and another to Capuccino.
-
AuthorPosts