|Anonymous | Login | Signup for a new account||2019-06-25 14:53 CEST|
|Main | My View | View Issues | Change Log | Roadmap | Docs|
|Viewing Issue Simple Details|
|ID||Category||Severity||Reproducibility||Date Submitted||Last Update|
|0002695||[JEDI VCL] 00 JVCL Components||minor||always||2005-02-27 23:45||2005-03-13 06:43|
|Status||resolved||Product Version||3.00 BETA|
|Summary||0002695: JvExpressButton not storing font information|
I created a new D6 Enterprise application. I added a JvExpress to the main form and then a couple of JvExpressButtons to the JvExpress. I set the JvExpress to use the Parent Font (Trebuchet MS). I set the JvExpressButton to use the Parent Font as well.
Then I save the application, close all and reload the application. The JvExpressButton Parent Font value is False and the font colour has revered back to the default of clWhite (can we change that to clWindowText?).
|Tags||No tags attached.|
Add to/change in class
property ParentFont default false;
Add in constructor:
ParentFont := false;
Font.Color := clHighlightText;
Rebuild the RT package (JvCustomD?R.dpk)
That appears to have done the trick.
I switched things up a bit:
1) I changed the default to True
2) In the constructor I set ParentFont := True;
3) I set Font.Color := clWindowText;
It seemed like a TButton was setting the ParentFont to true and the color to clWindowText so that's why I made those adjustments.
Thanks for your help.
Your changes restore the default behavior and you could have accomplished the same thing it by just removing the line that changes the Font properties :)
Anyway, the Expressbuttons should have a default white color since they are generally placed on a JvExpress that has a dark gray background, so the changes I posted are the ones I am going to commit to CVS.
I'll arm wrestle you for which colour they should start out as. :-)
|I have very big arms ;)|
|Fixed in CVS|
|2005-02-27 23:45||anonymous||New Issue|
|2005-03-03 00:59||user72||Note Added: 0006634|
|2005-03-03 00:59||user72||Status||new => feedback|
|2005-03-06 00:13||anonymous||Note Added: 0006643|
|2005-03-09 01:01||user72||Note Added: 0006658|
|2005-03-10 09:06||anonymous||Note Added: 0006674|
|2005-03-10 12:44||user72||Note Added: 0006675|
|2005-03-13 06:43||user72||Status||feedback => resolved|
|2005-03-13 06:43||user72||Resolution||open => fixed|
|2005-03-13 06:43||user72||Assigned To||=> user72|
|2005-03-13 06:43||user72||Note Added: 0006693|
|Mantis 1.1.6[^] Copyright © 2000 - 2008 Mantis Group|