Ignore:
Timestamp:
May 7, 2015, 12:34:29 PM (10 years ago)
Author:
healthsevak
Message:

Updating the working copy to CPRS version 28

Location:
cprs/trunk/CPRS-Chart/BA
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • cprs/trunk/CPRS-Chart/BA/UBACore.pas

    r829 r1679  
    7373
    7474uses fBALocalDiagnoses, fOrdersSign, fReview, rOrders, uCore, rCore, rPCE,uPCE,
    75      UBAConst, UBAMessages, USignItems;
     75     UBAConst, UBAMessages, USignItems, VAUtils;
    7676
    7777
  • cprs/trunk/CPRS-Chart/BA/fBALocalDiagnoses.dfm

    r829 r1679  
    1010  OnActivate = FormActivate
    1111  OnCreate = FormCreate
    12   OnKeyPress = FormKeyPress
    1312  OnShow = FormShow
    1413  ExplicitWidth = 620
    15   ExplicitHeight = 551
     14  ExplicitHeight = 544
    1615  PixelsPerInch = 96
    1716  TextHeight = 13
  • cprs/trunk/CPRS-Chart/BA/fBALocalDiagnoses.pas

    r829 r1679  
    6464    procedure lbOrdersMouseMove(Sender: TObject; Shift: TShiftState; X,
    6565      Y: Integer);
    66     procedure FormKeyPress(Sender: TObject; var Key: Char);
    6766
    6867  private
     
    102101    procedure ReSetCheckBoxStatus(pDxCode:String);
    103102    procedure DeleteSelectedDx;
    104     function  IsCtrlDown: boolean;
    105103
    106104  public
     
    108106     procedure Enter(theCaller: smallint; pOrderIDList: TStringList);
    109107     procedure LoadTempRec(var thisRec: TBADxRecord; thisOrderID: string);
    110 
    111108  end;
    112109
     
    173170     FLastHintItemNum := -1;
    174171     ClearAndDisableCBoxes
    175 end;
    176 
    177 procedure TfrmBALocalDiagnoses.FormKeyPress(Sender: TObject; var Key: Char);
    178 begin
    179   inherited;
    180    if frmBALocalDiagnoses.IsCtrlDown then
    181    begin
    182      if ( Key = #10 ) then
    183         frmBALocalDiagnoses.buOK.Click;
    184    end;
    185    
    186172end;
    187173
     
    15601546end;
    15611547
    1562 function  TfrmBALocalDiagnoses.IsCtrlDown: boolean;
    1563 var
    1564   State: TKeyboardState;
    1565 begin { isCtrlDown }
    1566   GetKeyboardState(State);
    1567   Result := ((State[VK_CONTROL] and 128)<>0); // Ctrl-button
    1568 end; { isCtrlDown }
    1569 
    1570 
    1571 
    15721548
    15731549Initialization
Note: See TracChangeset for help on using the changeset viewer.