home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Hot Shareware 32
/
hot34.iso
/
ficheros
/
9EDU
/
NATURO10.ZIP
/
natur10.exe
/
NATUP1
/
NATUP1.EXE
/
0
/
RCDATA
/
TTERMINAL
/
TTERMINAL.txt
Wrap
Text File
|
1995-05-10
|
12KB
|
457 lines
object TERMINAL: TTERMINAL
Left = -4
Top = -4
ActiveControl = edCodigo
BorderStyle = bsSingle
Caption = 'Sumar Productos (Base de Datos)'
ClientHeight = 461
ClientWidth = 640
Font.Color = clWindowText
Font.Height = -10
Font.Name = 'MS Sans Serif'
Font.Style = []
Position = poScreenCenter
WindowState = wsMaximized
OnActivate = FormActivate
PixelsPerInch = 96
TextHeight = 13
object Panel5431: TPanel
Left = 8
Top = 8
Width = 617
Height = 441
BevelInner = bvLowered
BevelWidth = 2
BorderWidth = 1
BorderStyle = bsSingle
DragMode = dmAutomatic
TabOrder = 0
object Label1: TLabel
Left = 16
Top = 18
Width = 77
Height = 16
Caption = 'Caja n�mero:'
Font.Color = clBlue
Font.Height = -13
Font.Name = 'Arial'
Font.Style = []
ParentFont = False
Transparent = True
Visible = False
end
object Label2: TLabel
Left = 15
Top = 156
Width = 80
Height = 16
Caption = 'N� de C�digo:'
Font.Color = clBlue
Font.Height = -13
Font.Name = 'Arial'
Font.Style = []
ParentFont = False
end
object Label3: TLabel
Left = 16
Top = 256
Width = 72
Height = 16
Caption = 'Descripci�n:'
Font.Color = clBlue
Font.Height = -13
Font.Name = 'Arial'
Font.Style = []
ParentFont = False
Transparent = True
end
object Label4: TLabel
Left = 16
Top = 208
Width = 41
Height = 16
Caption = 'Precio:'
Font.Color = clBlue
Font.Height = -13
Font.Name = 'Arial'
Font.Style = []
ParentFont = False
Transparent = True
end
object edNumeroCaja: TEdit
Left = 96
Top = 15
Width = 33
Height = 21
MaxLength = 2
TabOrder = 0
Text = '1'
Visible = False
OnKeyPress = edCodigoKeyPress
end
object lbAcumulado: TListBox
Left = 136
Top = 80
Width = 457
Height = 169
Font.Color = clBlack
Font.Height = -13
Font.Name = 'Courier New'
Font.Style = []
ItemHeight = 16
ParentFont = False
TabOrder = 1
end
object edCodigo: TEdit
Left = 16
Top = 177
Width = 89
Height = 21
Hint = 'Introduzca el N�mero de C�digo'
ParentShowHint = False
ShowHint = True
TabOrder = 2
OnKeyPress = edCodigoKeyPress
end
object btnAnotar: TButton
Left = 448
Top = 272
Width = 81
Height = 17
Hint = 'Registrar la Venta'
Caption = '&Registrar la Venta'
Font.Color = clNavy
Font.Height = -13
Font.Name = 'System'
Font.Style = [fsBold]
ParentFont = False
ParentShowHint = False
ShowHint = True
TabOrder = 3
OnClick = btnAnotarClick
end
object Button2: TButton
Left = 496
Top = 8
Width = 49
Height = 25
Hint = 'Cancelar la operaci�n realizada'
Caption = '&Cancelar la Operaci�n'
ParentShowHint = False
ShowHint = True
TabOrder = 4
Visible = False
OnClick = Button2Click
end
object Botonver: TButton
Left = 480
Top = 376
Width = 89
Height = 33
Hint = 'Ver Lista de C�digos'
Caption = '&Ver C�digos'
ParentShowHint = False
ShowHint = True
TabOrder = 5
OnClick = BotonverClick
end
object dbDescripcion: TDBEdit
Left = 15
Top = 272
Width = 290
Height = 21
DataField = 'Descripcion'
DataSource = dsProductos
MaxLength = 30
ReadOnly = True
TabOrder = 6
OnKeyPress = dbDescripcionKeyPress
end
object dbPrecio: TDBEdit
Left = 16
Top = 227
Width = 89
Height = 21
DataField = 'Precio'
DataSource = dsProductos
MaxLength = 0
ReadOnly = True
TabOrder = 7
end
object DBGrid2: TDBGrid
Left = 16
Top = 304
Width = 577
Height = 113
Color = clBtnFace
Columns = <
item
FieldName = 'Codigo'
Width = 69
end
item
FieldName = 'Descripcion'
Width = 302
end
item
FieldName = 'Precio'
Width = 68
end>
DataSource = dsProductos
DragMode = dmAutomatic
Font.Color = clWindowText
Font.Height = -10
Font.Name = 'MS Sans Serif'
Font.Style = []
Options = [dgTitles, dgIndicator, dgColumnResize, dgColLines, dgRowLines, dgTabs, dgConfirmDelete, dgCancelOnExit]
ParentFont = False
TabOrder = 8
TitleFont.Color = clNavy
TitleFont.Height = -11
TitleFont.Name = 'MS Sans Serif'
TitleFont.Style = []
Visible = False
end
object BitBtn1: TBitBtn
Left = 16
Top = 16
Width = 49
Height = 49
Hint = 'Volver al Men�'
ParentShowHint = False
ShowHint = True
TabOrder = 9
OnClick = BitBtn1Click
Glyph.Data = {
76020000424D7602000000000000760000002800000020000000200000000100
0400000000000000000000000000000000001000000010000000000000000000
8000008000000080800080000000800080008080000080808000C0C0C0000000
FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF00777777777777
7777777777777777777777777777777777777777777777777777777777777777
777777777777777777777777777777731444444E131313131377777777FFFF71
F4444EE9F9F9F13131777777777777739B44449B9B9B9B9B93777FFFF7777771
F9CCC4F931F939F9F1777777777777739B9CCC4B139B139B9377777777744471
F9F4CCC431F931F9F1777777774CCC439BA44CCE139B139B9377744774CCCCC4
4AA4CCE931F931F9F17774444CCCCCCCAAA3339B139B139B93777E4444CEECCA
AA4BBB3931F931F9F17777E44EE77ECCA4CCBB3B9B9B9B9B9377777EEE7777EC
4CCCE38444443339F177777777777774CCCE0AACCCCCBB3B937777777777774C
CCEAAACCCCCCBBB3F1777777777774CCCECAACCCEEEEBB3B9377777777777ECC
CCECCCCE313133F9F1777111111117ECCCCECCE31313139B937771999999997E
CCCCCCB1313131F9F177719999999973ECCCCBBB1313139B937771999FF99971
FEECBBBBB13131F9F177719999FF99739B888B3B3313139B9377719FFFFFF971
F9888833313131F9F177719999FF99739B44444444139B9B937771999FF99971
F9CCCCCCCCF9F9F9F1777199999999739BEECCCCEE9B9B9B9377779999999971
F9F9CCCEF9F9F131317777777777777313131313131313131377777777777777
7777777777777777777777777777777777777777777777777777}
end
object CANCELAR: TButton
Left = 480
Top = 376
Width = 89
Height = 33
Hint = 'Ocultar la Lista de C�digos'
Caption = '&Ocultar la Lista'
ParentShowHint = False
ShowHint = True
TabOrder = 10
Visible = False
OnClick = CANCELARClick
end
object Panel1: TPanel
Left = 136
Top = 16
Width = 457
Height = 49
BevelInner = bvLowered
BevelWidth = 2
BorderStyle = bsSingle
DragMode = dmAutomatic
TabOrder = 11
object lbImporte: TLabel
Left = 0
Top = 8
Width = 449
Height = 41
Alignment = taCenter
AutoSize = False
Caption = '0'
DragMode = dmAutomatic
Font.Color = clRed
Font.Height = -31
Font.Name = 'Arial'
Font.Style = [fsBold]
ParentFont = False
Transparent = True
end
end
object Ayuda: TButton
Left = 480
Top = 336
Width = 89
Height = 33
Caption = 'Ayuda'
TabOrder = 12
OnClick = AyudaClick
end
object Panel2: TPanel
Left = 408
Top = 256
Width = 193
Height = 41
BevelOuter = bvNone
DragMode = dmAutomatic
TabOrder = 13
object lbFechaHora: TLabel
Left = 88
Top = 18
Width = 99
Height = 15
Caption = '22/22/98 22:22:22'
Font.Color = clRed
Font.Height = -12
Font.Name = 'Arial'
Font.Style = []
ParentFont = False
Transparent = True
end
end
object Panel3: TPanel
Left = 8
Top = 8
Width = 593
Height = 417
BevelInner = bvLowered
BorderStyle = bsSingle
DragMode = dmAutomatic
TabOrder = 14
object Mem889: TMemo
Left = 8
Top = 8
Width = 569
Height = 393
Color = clWhite
DragMode = dmAutomatic
Font.Color = clBlack
Font.Height = -15
Font.Name = 'Arial'
Font.Style = []
Lines.Strings = (
' - ' +
' AYUDA -'
' En �sta pantalla es donde se recogen el c�digo, precio y descr' +
'ipci�n del producto '
' qu� se hayan introducido en la pantalla: Editar Productos.'
''
' INSTRUCCIONES:'
''
'- Teclee el N�mero de Codigo del Producto. '
''
'- Despu�s, y para aceptar deber� de pulsar la tecla <Intro> que ' +
'ser� la encargada de '
' permitirnos ver la descripci�n y el precio. '
''
'- Si son correctos, una nueva pulsaci�n de <Intro> anotar� el m' +
'ovimiento, pasando a '
' introducir un nuevo c�digo. '
' - Tambi�n quedar�n los datos registrados, para poder hacer el ' +
'balance diario de los '
' productos vendidos, para ello deber� de pulsar el bot�n: Vent' +
'as Diarias, que se '
' encuenta en la pantalla principal "Men� de Opciones".'
' '
'- En caso de que la tecla pulsada no sea <Intro> sino <Esc> ento' +
'nces, se estar� '
' indicando al programa que se ha terminado la compra del client' +
'e en curso, por lo '
' cual ponemos a cero el totalizador y eliminamos todos los elem' +
'entos de la lista.')
ParentFont = False
ReadOnly = True
TabOrder = 0
Visible = False
end
object Ocultar2: TButton
Left = 232
Top = 368
Width = 121
Height = 25
Caption = '&Ocultar la Ayuda'
Font.Color = clBlack
Font.Height = -12
Font.Name = 'Arial'
Font.Style = [fsBold]
ParentFont = False
TabOrder = 1
Visible = False
OnClick = Ocultar2Click
end
end
end
object Reloj: TTimer
OnTimer = RelojTimer
Left = 520
Top = 182
end
object tblProductos: TTable
Active = True
DatabaseName = 'C:\NATUP1'
TableName = 'Producto.db'
Left = 400
Top = 136
object tblProductosCodigo: TIntegerField
FieldName = 'Codigo'
Required = True
end
object tblProductosDescripcion: TStringField
FieldName = 'Descripcion'
Required = True
Size = 30
end
object tblProductosPrecio: TIntegerField
FieldName = 'Precio'
Required = True
end
end
object dsProductos: TDataSource
DataSet = tblProductos
Left = 320
Top = 104
end
object tblVentas: TTable
Active = True
DatabaseName = 'C:\NATUP1'
TableName = 'Ventas.db'
Left = 584
Top = 208
object tblVentasCaja: TSmallintField
FieldName = 'Caja'
Required = True
end
object tblVentasFechayHora: TDateTimeField
FieldName = 'Fecha y Hora'
Required = True
end
object tblVentasCodigo: TIntegerField
FieldName = 'Codigo'
Required = True
end
object tblVentasImporte: TIntegerField
FieldName = 'Importe'
Required = True
end
object tblVentasProducto: TStringField
FieldName = 'Producto'
Size = 45
end
end
end