Ignore:
Timestamp:
Jul 7, 2010, 4:31:10 PM (14 years ago)
Author:
Kevin Toppenberg
Message:

Upgrade to version 27

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cprs/trunk/CPRS-Chart/Orders/fOrderFlag.pas

    r456 r829  
    55uses
    66  Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
    7   fAutoSz, StdCtrls, ComCtrls, ORFn, rOrders, ORCtrls;
     7  fAutoSz, StdCtrls, ComCtrls, ORFn, rOrders, ORCtrls, VA508AccessibilityManager;
    88
    99type
    1010  TfrmFlagOrder = class(TfrmAutoSz)
    11     txtReason: TCaptionEdit;
    1211    Label1: TLabel;
    1312    cmdOK: TButton;
     
    1615    lblAlertRecipient: TLabel;
    1716    cboAlertRecipient: TORComboBox;
     17    cboFlagReason: TORComboBox;
    1818    procedure FormCreate(Sender: TObject);
    1919    procedure cmdOKClick(Sender: TObject);
     
    5151      if OKPressed then
    5252      begin
    53         FlagOrder(AnOrder, txtReason.Text, AlertRecip);
     53        FlagOrder(AnOrder, cboFlagReason.Text, AlertRecip);
    5454        Result := True;
    5555      end;
     
    6262
    6363procedure TfrmFlagOrder.FormCreate(Sender: TObject);
     64var
     65  tmpList: TStringList;
    6466begin
    6567  inherited;
    6668  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;
    6776  cboAlertRecipient.InitLongList('');
    6877  //cboAlertRecipient.SelectByIEN(User.DUZ);
     
    7584begin
    7685  inherited;
    77   if txtReason.Text = '' then
     86  if cboFlagReason.Text = '' then
     87  //if txtReason.Text = '' then
    7888  begin
    7989    InfoBox(TX_REASON_REQ, TC_REASON_REQ, MB_OK);
Note: See TracChangeset for help on using the changeset viewer.