View Issue Details

IDProjectCategoryView StatusLast Update
0002407JEDI VCL00 JVCL Componentspublic2004-12-22 14:47
ReportercarloswAssigned Tojfudickar 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version3.00 BETA 2 
Target VersionFixed in Version3.00 RC 1 
Summary0002407: Asigning a default value to a TJvDateParameter doesn't work
Description  Par := TJvDateParameter.Create(Params);
  with TJvDateParameter(Par) do
  begin
    SearchName := 'BeginPeriode';
    Caption := 'Periode';
    LabelWidth := 50;
    EditWidth := 85;
    AsDate := Now - 30; ==>> DOESN'T WORK
  end;
  Params.AddParameter(Par);
Additional InformationPossible fix:

in TJvDynControlEngineJVCL:

procedure TJvDynControlJVCLDateEdit.ControlSetValue(Value: Variant);
begin
// Text := Value; ==> Old
  DateTime := Value; ==> Should be
end;

function TJvDynControlJVCLDateEdit.ControlGetValue: Variant;
begin
// Result := Text; ==> Old
  Result := DateTime; ==> Should be
end;
TagsNo tags attached.

Activities

jfudickar

2004-12-22 14:47

developer   ~0005991

Changed and fixed. Your suggestion was right.

Thanks.

Issue History

Date Modified Username Field Change
2004-12-20 07:30 carlosw New Issue
2004-12-21 05:57 jfudickar Status new => assigned
2004-12-21 05:57 jfudickar Assigned To => jfudickar
2004-12-22 14:47 jfudickar Status assigned => resolved
2004-12-22 14:47 jfudickar Resolution open => fixed
2004-12-22 14:47 jfudickar Note Added: 0005991