| 
            Last change
 on this file since 627 was             459, checked in by Kevin Toppenberg, 17 years ago           | 
        
        
          | 
             
Adding foia-cprs branch 
 
           | 
        
        
          | 
            File size:
            1.2 KB
           | 
        
      
      
| Line |   | 
|---|
| 1 | unit fODTest;
 | 
|---|
| 2 | 
 | 
|---|
| 3 | interface
 | 
|---|
| 4 | 
 | 
|---|
| 5 | uses
 | 
|---|
| 6 |   Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
 | 
|---|
| 7 |   fODBase, ComCtrls, ExtCtrls, StdCtrls, ORCtrls, Mask, RZDebug;
 | 
|---|
| 8 | 
 | 
|---|
| 9 | type
 | 
|---|
| 10 |   TfrmODTest = class(TfrmODBase)
 | 
|---|
| 11 |     lblMedication: TLabel;
 | 
|---|
| 12 |     cboMedAlt: TORComboBox;
 | 
|---|
| 13 |     cboMedication: TORComboBox;
 | 
|---|
| 14 |     lblDosage: TLabel;
 | 
|---|
| 15 |     cboInstructions: TORComboBox;
 | 
|---|
| 16 |     lblRoute: TLabel;
 | 
|---|
| 17 |     cboRoute: TORComboBox;
 | 
|---|
| 18 |     lblSchedule: TLabel;
 | 
|---|
| 19 |     cboSchedule: TORComboBox;
 | 
|---|
| 20 |     lblQuantity: TLabel;
 | 
|---|
| 21 |     txtQuantity: TEdit;
 | 
|---|
| 22 |     lblRefills: TLabel;
 | 
|---|
| 23 |     txtRefills: TMaskEdit;
 | 
|---|
| 24 |     spnRefills: TUpDown;
 | 
|---|
| 25 |     lblPickup: TLabel;
 | 
|---|
| 26 |     cboPickup: TORComboBox;
 | 
|---|
| 27 |     lblSC: TLabel;
 | 
|---|
| 28 |     cboSC: TORComboBox;
 | 
|---|
| 29 |     Label1: TLabel;
 | 
|---|
| 30 |     cboPriority: TORComboBox;
 | 
|---|
| 31 |     Label2: TLabel;
 | 
|---|
| 32 |     memComments: TMemo;
 | 
|---|
| 33 |     Timer1: TTimer;
 | 
|---|
| 34 |     procedure Timer1Timer(Sender: TObject);
 | 
|---|
| 35 |   private
 | 
|---|
| 36 |     { Private declarations }
 | 
|---|
| 37 |   public
 | 
|---|
| 38 |     { Public declarations }
 | 
|---|
| 39 |   end;
 | 
|---|
| 40 | 
 | 
|---|
| 41 | var
 | 
|---|
| 42 |   frmODTest: TfrmODTest;
 | 
|---|
| 43 | 
 | 
|---|
| 44 | implementation
 | 
|---|
| 45 | 
 | 
|---|
| 46 | {$R *.DFM}
 | 
|---|
| 47 | 
 | 
|---|
| 48 | procedure TfrmODTest.Timer1Timer(Sender: TObject);
 | 
|---|
| 49 | var
 | 
|---|
| 50 |   AControl: TControl;
 | 
|---|
| 51 | begin
 | 
|---|
| 52 |   inherited;
 | 
|---|
| 53 |   AControl := GetCaptureControl;
 | 
|---|
| 54 |   if AControl <> nil then Writeln(AControl.Name) else Writeln('nil');
 | 
|---|
| 55 | end;
 | 
|---|
| 56 | 
 | 
|---|
| 57 | end.
 | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.