View Issue Details

IDProjectCategoryView StatusLast Update
0002521JEDI VCL00 JVCL Componentspublic2006-03-30 02:51
ReportercarloswAssigned Toobones 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version3.00 BETA 2 
Target VersionFixed in Version3.30 
Summary0002521: TJvDBHTLabel doesn't use the DisplayFormat property to display a field
DescriptionTJvDBHTLabel doesn't use the DisplayFormat property assigned to a TField to display it's value.
Additional Informationfunction ReplaceFieldNameTag(Str: string; DataSet: TDataSet): string;
...
...
    if Assigned(DataSet) and DataSet.Active then
    begin
      F := DataSet.FindField(FieldName);
      if F <> nil then
        Text := F.AsString <<<==== THIS SHOULD BE F.DisplayText
      else
        Text := Format('(%s)',[FieldName]);
    end

F.AsString => doesn't use DisplayFormat
TagsNo tags attached.

Activities

carlosw

2005-01-27 13:26

reporter   ~0006299

anyone?

The problem is when i set a DisplayMask for a field the control doesn't use my DisplayMask to display the field.

e.g.
TFloatField.DisplayFormat = '##,###,#0.00'

TFloatField.AsString: the displaymask is not used
TFloatField.DisplayText: the displaymask is used

obones

2006-03-30 02:51

administrator   ~0008735

This is already fixed in CVS.

Issue History

Date Modified Username Field Change
2005-01-17 13:01 carlosw New Issue
2005-01-27 13:26 carlosw Note Added: 0006299
2006-03-30 02:51 obones Status new => resolved
2006-03-30 02:51 obones Resolution open => fixed
2006-03-30 02:51 obones Assigned To => obones
2006-03-30 02:51 obones Note Added: 0008735