View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002695 | JEDI VCL | 00 JVCL Components | public | 2005-02-27 23:45 | 2005-03-13 06:43 |
Reporter | anonymous | Assigned To | user72 | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | 3.00 BETA | ||||
Target Version | Fixed in Version | 3.00 | |||
Summary | 0002695: JvExpressButton not storing font information | ||||
Description | 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. | ||||
|
Try this: 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. Django |
|
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. :-) Thanks. Django |
|
I have very big arms ;) |
|
Fixed in CVS |
Date Modified | Username | Field | Change |
---|---|---|---|
2005-02-27 23:45 | anonymous | New Issue | |
2005-03-03 00:59 |
|
Note Added: 0006634 | |
2005-03-03 00:59 |
|
Status | new => feedback |
2005-03-06 00:13 | anonymous | Note Added: 0006643 | |
2005-03-09 01:01 |
|
Note Added: 0006658 | |
2005-03-10 09:06 | anonymous | Note Added: 0006674 | |
2005-03-10 12:44 |
|
Note Added: 0006675 | |
2005-03-13 06:43 |
|
Status | feedback => resolved |
2005-03-13 06:43 |
|
Resolution | open => fixed |
2005-03-13 06:43 |
|
Assigned To | => user72 |
2005-03-13 06:43 |
|
Note Added: 0006693 |