View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0003121 | JEDI VCL | 00 JVCL Components | public | 2005-07-29 04:20 | 2005-08-09 03:03 |
Reporter | ZioNemo | Assigned To | obones | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | 3.00 | ||||
Target Version | Fixed in Version | 3.10 | |||
Summary | 0003121: TJvShapedButton: some shapes do not honour 'Flat' property | ||||
Description | Setting the Flat property has no effect on some shapes (I needed jvSRound, but that's not the only one). For the property I needed I added: ... if FFlat then begin // just draw a border of the right color Pen.Color := FFlatBorderColor; Ellipse(Rect.Left, Rect.Top, Rect.Right, Rect.Bottom); InflateRect(Rect, -1, -1); end else if OdsDown then ... in procedure TJvShapedButton.CNDrawItemRound(var Msg: TWMDrawItem); obtaining the desired effect. I do not know if this is the right fix and if I should submit a patch for all the shapes. Regards ZioNemo | ||||
Tags | No tags attached. | ||||