View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001565 | JEDI VCL | 00 JVCL Components | public | 2004-04-03 02:10 | 2004-04-14 04:44 |
Reporter | anonymous | Assigned To | user72 | ||
Priority | normal | Severity | feature | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | |||||
Target Version | Fixed in Version | ||||
Summary | 0001565: TJVDBStatusLabel - bad drawing | ||||
Description | An error appeared in work of Jedi of 30.03.2004: The Component TJVDBStatusLabel stopped changing its dimensions correctly at changes of the text: object DBStatusLabel1: TJvDBStatusLabel Left = 537 Top = 4 Width = 85 Height = 24 DataSource = DS Style = lsRecordNo CalcRecCount = True GlyphAlign = glGlyphRight Layout = tlBottom Align = alRight Alignment = taRightJustify end 1.gif - on first record 2.gif - on last record 3.gif - after resizing of form the correct view was restored. | ||||
Tags | No tags attached. | ||||
2004-04-03 02:10
|
|
|
You need to change two units. In JvLabel.pas, add a protected property (FNeedsResize is already defined) to TJvCustomLabel: property HotTrackFont: TFont read FHotTrackFont write SetHotTrackFont; property HotTrackFontOptions:TJvTrackFontOptions read FHotTrackFontOptions write SetHotTrackFontOptions default DefaultTrackFontOptions; property NeedsResize:boolean read FNeedsResize write FNeedsResize; In JvDBControls.pas, add the following to the end of TJvDBStatusLabel.UpdateStatus: NeedsResize := true; AdjustBounds; Invalidate; end; |
|
Updated in CVS |
Date Modified | Username | Field | Change |
---|---|---|---|
2004-04-03 02:10 | anonymous | New Issue | |
2004-04-03 02:10 | anonymous | File Added: image.gif | |
2004-04-03 08:05 |
|
Note Added: 0003624 | |
2004-04-03 08:05 |
|
Status | new => assigned |
2004-04-03 08:05 |
|
Assigned To | => user72 |
2004-04-14 04:44 |
|
Status | assigned => resolved |
2004-04-14 04:44 |
|
Resolution | open => fixed |
2004-04-14 04:44 |
|
Note Added: 0003842 |