Changeset 829 for cprs/trunk/CPRS-Chart/Orders/fOrderFlag.pas
- Timestamp:
- Jul 7, 2010, 4:31:10 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cprs/trunk/CPRS-Chart/Orders/fOrderFlag.pas
r456 r829 5 5 uses 6 6 Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, 7 fAutoSz, StdCtrls, ComCtrls, ORFn, rOrders, ORCtrls ;7 fAutoSz, StdCtrls, ComCtrls, ORFn, rOrders, ORCtrls, VA508AccessibilityManager; 8 8 9 9 type 10 10 TfrmFlagOrder = class(TfrmAutoSz) 11 txtReason: TCaptionEdit;12 11 Label1: TLabel; 13 12 cmdOK: TButton; … … 16 15 lblAlertRecipient: TLabel; 17 16 cboAlertRecipient: TORComboBox; 17 cboFlagReason: TORComboBox; 18 18 procedure FormCreate(Sender: TObject); 19 19 procedure cmdOKClick(Sender: TObject); … … 51 51 if OKPressed then 52 52 begin 53 FlagOrder(AnOrder, txtReason.Text, AlertRecip);53 FlagOrder(AnOrder, cboFlagReason.Text, AlertRecip); 54 54 Result := True; 55 55 end; … … 62 62 63 63 procedure TfrmFlagOrder.FormCreate(Sender: TObject); 64 var 65 tmpList: TStringList; 64 66 begin 65 67 inherited; 66 68 OKPressed := False; 69 tmpList := TStringList.Create; 70 try 71 GetUserListParam(tmpList, 'OR FLAGGED ORD REASONS'); 72 FastAssign(tmpList, cboFlagReason.Items); 73 finally 74 tmpList.Free; 75 end; 67 76 cboAlertRecipient.InitLongList(''); 68 77 //cboAlertRecipient.SelectByIEN(User.DUZ); … … 75 84 begin 76 85 inherited; 77 if txtReason.Text = '' then 86 if cboFlagReason.Text = '' then 87 //if txtReason.Text = '' then 78 88 begin 79 89 InfoBox(TX_REASON_REQ, TC_REASON_REQ, MB_OK);
Note:
See TracChangeset
for help on using the changeset viewer.