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