Ignore:
Timestamp:
Jul 6, 2008, 8:20:14 PM (16 years ago)
Author:
Kevin Toppenberg
Message:

Uploading from OR_30_258

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cprs/branches/foia-cprs/CPRS-Chart/Orders/fODAllgy.pas

    r459 r460  
    496496
    497497procedure TfrmODAllergy.cboSymptomsMouseClick(Sender: TObject);
     498var
     499  x: string;
    498500begin
    499501  inherited;
     
    501503  Changing := True;
    502504  if lstSelectedSymptoms.SelectByID(cboSymptoms.ItemID) > -1 then exit;
     505  with cboSymptoms do
     506    if Piece(Items[ItemIndex], U, 3) <> '' then
     507      x := ItemID + U + Piece(Items[ItemIndex], U, 3)
     508    else
     509      x := ItemID + U + Piece(Items[ItemIndex], U, 2);
    503510  with lstSelectedSymptoms do
    504511    begin
    505       Items.Add(cboSymptoms.Items[cboSymptoms.ItemIndex]);
     512      Items.Add(x);
    506513      SelectByID(cboSymptoms.ItemID);
    507514    end;
Note: See TracChangeset for help on using the changeset viewer.