- This topic has 23 replies, 3 voices, and was last updated 14 years, 11 months ago by Support.
-
AuthorPosts
-
October 19, 2009 at 9:01 am #33348eledhParticipant
Hello,
In latest AC 6.46 there is problem with TsWebLabel. It does not change font atributes when mouseover.
I use the same parameters in Font and HoverFont property, but HoverFont with underline style.
In AC 6.46 it is not working, text in this label is still normal. HoverFont is not applied, or maybe “mouseover” event is ignored.BR.
October 19, 2009 at 10:47 am #40826SupportKeymasterHello
Where this label is placed? If you have a working example – give it please.
Thanks.October 19, 2009 at 10:56 am #40827eledhParticipantHi,
this TsWebLabel is placed on TImage and TImage is on TsPanel on the form.
I can send example today later.October 19, 2009 at 11:19 am #40828SupportKeymasterThank you!
Problem will be solved in the nearest release I think.October 20, 2009 at 4:24 pm #40885eledhParticipantHi,
I am sorry for delay.
I found that problem is with some skins only, for example with Topaz and Cold.
Here is sample app, TImage placed on form, and TsWebLabel over image.
BR.
[attachment=3544:TsWebLab…6problem.zip]October 20, 2009 at 5:01 pm #40886eledhParticipantI would like also mention anything else. When form is showed up, text in title (caption) is normal text (not bold), but when the form lost focus, text is changed to bold. I suppose that it should be bold all time. I noticed this issue in Win7 and Vista, in XP it seems OK.
Thanks,
BROctober 22, 2009 at 12:19 pm #40861SupportKeymasterProblem must be solved in the v6.47 already, try it please.
October 22, 2009 at 4:26 pm #40879eledhParticipantHi,
Both problems solved, thanksOctober 28, 2009 at 10:07 am #40905SupportKeymasterFont style is taken from system now. You think will be better to have another style?
October 29, 2009 at 4:54 pm #40957eledhParticipantHi, yes I think that it would be great if I can set font style of form caption. Or at least make caption bold for every system. I test this in win7 and caption is not bold and in win XP it is bold. Please use bold style for caption everytime or give us option (property on skinprovider) to set own font and its style
November 9, 2009 at 8:13 am #40990SupportKeymasterWe must think how to organize it more handy…
Maybe to make a global object CustomTitleFont : TFont = nil and check this object. When it's not nil then may be used for drawing in the form title…
What you think?November 10, 2009 at 7:03 pm #41036eledhParticipantHi,
yes, it sounds good. It will be global for all form, same style for all forms, but I think it is enought. Would be it too complicated to add this “CustomTitleFont” to SkinProvider? And specify so different font styles for each form individualy. This property should be accessible in object inspector, so we can set font style easily in design time. Where should be global object “CustomTitleFont” set? In main form OnCreate event? Or in DPR file?
I think that individual “CustomTitleFont” property is more comfortable.I will be grateful for any of these options. It depends on you, what is easier for you
November 11, 2009 at 4:05 pm #41045HeDiBoParticipantQUOTE (Support @ Nov 9 2009, 10:13 AM) <{POST_SNAPBACK}>Maybe to make a global object CustomTitleFont : TFont = nil and check this object.I also think, putting it in SkinProvider as a published property is a better solution
November 16, 2009 at 8:19 am #41068SupportKeymasterHello!
QUOTE (HeDiBo @ Nov 11 2009, 06:05 PM) <{POST_SNAPBACK}>I also think, putting it in SkinProvider as a published property is a better solutionNovember 16, 2009 at 4:26 pm #41089HeDiBoParticipantQUOTE (Support @ Nov 16 2009, 10:19 AM) <{POST_SNAPBACK}>I must say that question is not easy..If it's that much trouble, I wouldn't bother.
November 17, 2009 at 10:13 am #41108SupportKeymasterQUOTE (HeDiBo @ Nov 16 2009, 06:26 PM) <{POST_SNAPBACK}>If it's that much trouble, I wouldn't bother.November 17, 2009 at 4:22 pm #41116HeDiBoParticipantQUOTE (Support @ Nov 17 2009, 12:13 PM) <{POST_SNAPBACK}>But maybe one global property will be more handy for developer?I simply hate globals: in the end they always end up becoming non-global.
QUOTE (Support @ Nov 17 2009, 12:13 PM) <{POST_SNAPBACK}>What about first two problems?November 18, 2009 at 6:44 am #41121SupportKeymasterEledh, what you think?
November 18, 2009 at 2:22 pm #41129eledhParticipantHi,
If you mean “What about first two problems”, problems with sWebLabel and mouseover, it is solved and it works properly now. <img src="style_emoticons//smile.gif” style=”vertical-align:middle” emoid=”:)” border=”0″ alt=”smile.gif” />
My opinions to your post (Nov 16):2. Yes, I think that is not problem, if dialogs will have standard font, from system, like now. Sometimes I ignore DPI in forms (Scaled), and I want to draw all items in all systems in the same size. So in this case, it would by very useful, if form caption (and whole form's captionbar) is always in the same style too. But it is not important for dialogs, so these can be drawn according to system settings.
1. I do not know how it is hard to make this, but if may I suggest:
Add “CustomTitleFont : TFont” and “UseCustomTitleFont : boolean” to SkinProvider. If UseCustomTitleFont is false, then you can use standard font from system like now, if it is true and CustomTitleFont not nil, then CustomTitleFont style can be used.
And publish these two properties in object inspector.
Of course, if it is too hard to implement this, I think that global variable is enought and there is nothing bad on it. What I need is option to set font style (fsBold especially).
Frankly, I probably have no use for individual font style of each form caption for now, just it would be a nice feature <img src="style_emoticons//smile.gif” style=”vertical-align:middle” emoid=”:)” border=”0″ alt=”smile.gif” />
I appreciate any option how to make form caption bold/non-bold.November 18, 2009 at 4:08 pm #41130HeDiBoParticipantIf dialogs go back to the standard font, I wouldn't be very happy
AuthorPosts- You must be logged in to reply to this topic.