-
Notifications
You must be signed in to change notification settings - Fork 2
/
buscarproductos.h
55 lines (50 loc) · 1.92 KB
/
buscarproductos.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
//---------------------------------------------------------------------------
#ifndef buscarproductosH
#define buscarproductosH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <ExtCtrls.hpp>
#include <DBGrids.hpp>
#include <Grids.hpp>
#include <DB.hpp>
#include <DBTables.hpp>
#include <Buttons.hpp>
//---------------------------------------------------------------------------
class TFormBuscarProductos : public TForm
{
__published: // IDE-managed Components
TPanel *Panel1;
TLabel *Label1;
TLabel *Label2;
TEdit *EditTexto;
TComboBox *ComboBoxColumna;
TTable *TableProductos;
TDataSource *DataSourceProductos;
TDBGrid *DBGrid;
TBitBtn *BitBtnBuscar;
TBitBtn *BitBtnCerrar;
TBitBtn *BitBtnSeleccionar;
void __fastcall FormCreate(TObject *Sender);
void __fastcall FormClose(TObject *Sender, TCloseAction &Action);
void __fastcall BitBtnBuscarClick(TObject *Sender);
void __fastcall BitBtnCerrarClick(TObject *Sender);
void __fastcall FormShow(TObject *Sender);
void __fastcall BitBtnSeleccionarClick(TObject *Sender);
void __fastcall DBGridDblClick(TObject *Sender);
void __fastcall TableProductosFilterRecord(TDataSet *DataSet,
bool &Accept);
private: // User declarations
/* Mis declaraciones */
bool BusquedaValida();
public: // User declarations
__fastcall TFormBuscarProductos(TComponent* Owner);
/* Mis declaraciones */
AnsiString Mostrar();
};
//---------------------------------------------------------------------------
extern PACKAGE TFormBuscarProductos *FormBuscarProductos;
//---------------------------------------------------------------------------
#endif