1 |
torben |
2671 |
// ***** BEGIN LICENSE BLOCK *****
|
2 |
|
|
// * Version: MPL 1.1
|
3 |
|
|
// *
|
4 |
|
|
// * The contents of this file are subject to the Mozilla Public License Version
|
5 |
|
|
// * 1.1 (the "License"); you may not use this file except in compliance with
|
6 |
|
|
// * the License. You may obtain a copy of the License at
|
7 |
|
|
// * http://www.mozilla.org/MPL/
|
8 |
|
|
// *
|
9 |
|
|
// * Software distributed under the License is distributed on an "AS IS" basis,
|
10 |
|
|
// * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
|
11 |
|
|
// * for the specific language governing rights and limitations under the
|
12 |
|
|
// * License.
|
13 |
|
|
// *
|
14 |
|
|
// * The Original Code is TurboPower SysTools
|
15 |
|
|
// *
|
16 |
|
|
// * The Initial Developer of the Original Code is
|
17 |
|
|
// * TurboPower Software
|
18 |
|
|
// *
|
19 |
|
|
// * Portions created by the Initial Developer are Copyright (C) 1996-2002
|
20 |
|
|
// * the Initial Developer. All Rights Reserved.
|
21 |
|
|
// *
|
22 |
|
|
// * Contributor(s):
|
23 |
|
|
// *
|
24 |
|
|
// * ***** END LICENSE BLOCK *****
|
25 |
|
|
//---------------------------------------------------------------------------
|
26 |
|
|
#ifndef ExBarCUH
|
27 |
|
|
#define ExBarCUH
|
28 |
|
|
//---------------------------------------------------------------------------
|
29 |
|
|
#include <vcl\Classes.hpp>
|
30 |
|
|
#include <vcl\Controls.hpp>
|
31 |
|
|
#include <vcl\StdCtrls.hpp>
|
32 |
|
|
#include <vcl\Forms.hpp>
|
33 |
|
|
#include "StDbBarC.hpp"
|
34 |
|
|
#include "StBarC.hpp"
|
35 |
|
|
#include <vcl\Tabnotbk.hpp>
|
36 |
|
|
#include <vcl\ComCtrls.hpp>
|
37 |
|
|
#include <vcl\ExtCtrls.hpp>
|
38 |
|
|
#include <vcl\DBGrids.hpp>
|
39 |
|
|
#include "Grids.hpp"
|
40 |
|
|
#include <vcl\Dialogs.hpp>
|
41 |
|
|
#include <vcl\DB.hpp>
|
42 |
|
|
#include <vcl\DBTables.hpp>
|
43 |
|
|
#include <vcl\Printers.hpp>
|
44 |
|
|
|
45 |
|
|
#include "StBarC.hpp"
|
46 |
|
|
#include <Db.hpp>
|
47 |
|
|
#include "St2DBarC.hpp"
|
48 |
|
|
|
49 |
|
|
//---------------------------------------------------------------------------
|
50 |
|
|
class PACKAGE TForm1 : public TForm
|
51 |
|
|
{
|
52 |
|
|
__published: // IDE-managed Components
|
53 |
|
|
TStDbBarCode *StDbBarCode1;
|
54 |
|
|
TLabel *Label4;
|
55 |
|
|
TTabbedNotebook *NB;
|
56 |
|
|
TStBarCode *BarCode1;
|
57 |
|
|
TLabel *Label1;
|
58 |
|
|
TEdit *edCode1;
|
59 |
|
|
TEdit *edSupp;
|
60 |
|
|
TRadioGroup *rgType;
|
61 |
|
|
TCheckBox *cbSupp;
|
62 |
|
|
TCheckBox *cbTallGuardBars;
|
63 |
|
|
TCheckBox *cbShowCode;
|
64 |
|
|
TButton *btnUpdate1;
|
65 |
|
|
TStBarCode *BarCode2;
|
66 |
|
|
TLabel *Label2;
|
67 |
|
|
TCheckBox *cbBearerBars;
|
68 |
|
|
TCheckBox *cbShowCode2;
|
69 |
|
|
TEdit *edCode2;
|
70 |
|
|
TButton *btnUpdate2;
|
71 |
|
|
TLabel *Label3;
|
72 |
|
|
TStBarCode *BarCode3;
|
73 |
|
|
TEdit *edCode3;
|
74 |
|
|
TButton *btnUpdate3;
|
75 |
|
|
TCheckBox *cbShowCode3;
|
76 |
|
|
TCheckBox *cbShowGuardChars3;
|
77 |
|
|
TStBarCode *BarCode4;
|
78 |
|
|
TLabel *Label5;
|
79 |
|
|
TCheckBox *cbShowCode4;
|
80 |
|
|
TButton *btnUpdate4;
|
81 |
|
|
TEdit *edCode4;
|
82 |
|
|
TStBarCode *BarCode5;
|
83 |
|
|
TLabel *Label6;
|
84 |
|
|
TEdit *edCode5;
|
85 |
|
|
TButton *btnUpdate5;
|
86 |
|
|
TCheckBox *cbShowCode5;
|
87 |
|
|
TStBarCode *BarCode6;
|
88 |
|
|
TLabel *Label7;
|
89 |
|
|
TEdit *edCode6;
|
90 |
|
|
TButton *btnUpdate6;
|
91 |
|
|
TCheckBox *cbShowCode6;
|
92 |
|
|
TStBarCode *BarCode7;
|
93 |
|
|
TLabel *Label8;
|
94 |
|
|
TEdit *edCode7;
|
95 |
|
|
TButton *btnUpdate7;
|
96 |
|
|
TCheckBox *cbShowCode7;
|
97 |
|
|
TButton *btnCopy;
|
98 |
|
|
TButton *btnPrint;
|
99 |
|
|
TButton *btnClose;
|
100 |
|
|
TDBGrid *DBGrid1;
|
101 |
|
|
TButton *btnSave;
|
102 |
|
|
TPrintDialog *PrintDialog1;
|
103 |
|
|
TDataSource *DataSource1;
|
104 |
|
|
TTable *Table1;
|
105 |
|
|
TLabel *Label9;
|
106 |
|
|
TEdit *edCodePDF417;
|
107 |
|
|
TButton *btnUpdatePDF417;
|
108 |
|
|
TStPDF417Barcode *StPDF417Barcode1;
|
109 |
|
|
TCheckBox *cbShowCodePDF417;
|
110 |
|
|
TCheckBox *cbPDF417Truncated;
|
111 |
|
|
TLabel *Label10;
|
112 |
|
|
TEdit *edCodeMaxiCode;
|
113 |
|
|
TStMaxiCodeBarcode *StMaxiCodeBarcode1;
|
114 |
|
|
TCheckBox *cbShowCodeMaxiCode;
|
115 |
|
|
TButton *btnUpdateMaxiCode;
|
116 |
|
|
TLabel *Label11;
|
117 |
|
|
TRadioButton *radMCMode23;
|
118 |
|
|
TRadioButton *radMCMode4;
|
119 |
|
|
TRadioButton *radMCMode5;
|
120 |
|
|
TLabel *Label13;
|
121 |
|
|
TLabel *Label12;
|
122 |
|
|
TLabel *Label14;
|
123 |
|
|
TEdit *edMCServiceClass;
|
124 |
|
|
TEdit *edMCPostalCode;
|
125 |
|
|
TEdit *edMCCountryCode;
|
126 |
|
|
TButton *btnValidate;
|
127 |
|
|
void __fastcall btnPrintClick(TObject *Sender);
|
128 |
|
|
void __fastcall btnValidateClick(TObject *Sender);
|
129 |
|
|
void __fastcall btnSaveClick(TObject *Sender);
|
130 |
|
|
void __fastcall btnCopyClick(TObject *Sender);
|
131 |
|
|
void __fastcall btnCloseClick(TObject *Sender);
|
132 |
|
|
void __fastcall btnUpdate1Click(TObject *Sender);
|
133 |
|
|
void __fastcall btnUpdate2Click(TObject *Sender);
|
134 |
|
|
void __fastcall btnUpdate3Click(TObject *Sender);
|
135 |
|
|
void __fastcall btnUpdate4Click(TObject *Sender);
|
136 |
|
|
void __fastcall btnUpdate5Click(TObject *Sender);
|
137 |
|
|
void __fastcall btnUpdate6Click(TObject *Sender);
|
138 |
|
|
void __fastcall btnUpdate7Click(TObject *Sender);
|
139 |
|
|
void __fastcall edCodePDF417Exit(TObject *Sender);
|
140 |
|
|
|
141 |
|
|
void __fastcall btnUpdateMaxiCodeClick(TObject *Sender);
|
142 |
|
|
void __fastcall radMCMode23Click(TObject *Sender);
|
143 |
|
|
void __fastcall radMCMode4Click(TObject *Sender);
|
144 |
|
|
void __fastcall radMCMode5Click(TObject *Sender);
|
145 |
|
|
void __fastcall NBChange(TObject *Sender, int NewTab,
|
146 |
|
|
bool &AllowChange);
|
147 |
|
|
private: // User declarations
|
148 |
|
|
public: // User declarations
|
149 |
|
|
__fastcall TForm1(TComponent* Owner);
|
150 |
|
|
};
|
151 |
|
|
//---------------------------------------------------------------------------
|
152 |
|
|
extern PACKAGE TForm1 *Form1;
|
153 |
|
|
//---------------------------------------------------------------------------
|
154 |
|
|
#endif
|