View Issue Details

IDProjectCategoryView StatusLast Update
0002258JEDI VCL00 JVCL Componentspublic2004-10-25 12:09
ReporteranonymousAssigned Touser72 
Status resolvedResolutionfixed 
Product Version 
Target VersionFixed in Version3.00 RC 1 
Summary0002258: JvDBStatusLabel
DescriptionCan you move the declaration of variables
    FDataLink: TDataLink;
    FRecordCount: Longint;
    FRecordNo: Longint;
    FShowOptions: TDBLabelOptions;
from private section to protected section
TagsNo tags attached.



2004-10-22 13:11


That would be possible. Why?


2004-10-25 05:05

reporter   ~0005481

I need to display record number and record count in a different format and with some additional text like "Current record: RecNo; Total records: RecordCount".
For that purpose I tried to create a descendent component from TJvDBStatusLabel and override the GetLabelCaption function, but I need an access to the variables FDataLink, FRecordCount, FRecordNo, FShowOptions declared in the private section to form the label caption.


2004-10-25 12:09


Done, although I fail to see why you need FShowOptions when you already have the ShowOptions property?

Issue History

Date Modified Username Field Change
2004-10-22 04:14 anonymous New Issue
2004-10-22 13:11 user72 Note Added: 0005445
2004-10-22 13:11 user72 Status new => feedback
2004-10-25 05:05 yuri Note Added: 0005481
2004-10-25 12:09 user72 Status feedback => resolved
2004-10-25 12:09 user72 Resolution open => fixed
2004-10-25 12:09 user72 Assigned To => user72
2004-10-25 12:09 user72 Note Added: 0005486