-
Notifications
You must be signed in to change notification settings - Fork 2
/
auxiliar.h
37 lines (30 loc) · 1.39 KB
/
auxiliar.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
//---------------------------------------------------------------------------
#ifndef auxiliarH
#define auxiliarH
//---------------------------------------------------------------------------
#include <map.h>
#include <Menus.hpp>
#include <DBGrids.hpp>
#include <Grids.hpp>
#include <DBTables.hpp>
//---------------------------------------------------------------------------
typedef map<AnsiString,AnsiString> ListaMenuOrdenar;
//---------------------------------------------------------------------------
void CrearMenuOrdenar(ListaMenuOrdenar lista, AnsiString defecto,
TTable *tabla, TMenuItem *MenuItemOrdenar,
void __fastcall (__closure *funcion)(TObject *));
void DefectoMenuOrdenar(TTable *tabla, TMenuItem *MenuItemOrdenar);
void SetearMenuOrdenar(TTable *tabla, TMenuItem *menuitem);
bool BuscarClave(TTable *table, AnsiString campos, Variant value1, ...);
bool BuscarElemento(TTable *table, AnsiString campo, AnsiString texto);
void EliminarDirectorio(AnsiString directorio);
AnsiString MonedaANumero(AnsiString texto);
bool CrearLockFile();
AnsiString barras(AnsiString string);
AnsiString FechaHoraBackup();
AnsiString Mayus(AnsiString str);
AnsiString GetTempDir();
TDate StringToDate(AnsiString str);
AnsiString SinGuiones(AnsiString s);
//---------------------------------------------------------------------------
#endif