Project JEDI - Issue Tracker - JEDI VCL
Viewing Issue Advanced Details
2407 00 JVCL Components minor always 2004-12-20 07:30 2004-12-22 14:47
carlosw  
jfudickar  
normal  
resolved 3.00 BETA 2  
fixed  
none    
none 3.00 RC 1  
0002407: Asigning a default value to a TJvDateParameter doesn't work
  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);
Possible 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;
Issue History
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-21 05:57 jfudickar Issue Monitored: 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

Notes
(0005991)
jfudickar   
2004-12-22 14:47   
Changed and fixed. Your suggestion was right.

Thanks.