3vi
08-10-2007, 21:19
object frmDogane: TfrmDogane
Left = 333
Top = 192
Width = 670
Height = 632
Caption = 'Cerca dogane\isole'
Color = clBtnFace
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'MS Sans Serif'
Font.Style = []
OldCreateOrder = False
OnCreate = FormCreate
PixelsPerInch = 96
TextHeight = 13
object lblDescrizione: TLabel
Left = 40
Top = 16
Width = 463
Height = 16
Caption =
PtX: TEdit
Left = 64
Top = 64
Width = 41
Height = 21
MaxLength = 3
TabOrder = 0
Text = 'txtX'
end
object txtY: TEdit
Left = 144
Top = 64
Width = 41
Height = 21
MaxLength = 3
TabOrder = 1
Text = 'txtY'
end
object btnSearch: TButton
Left = 40
Top = 104
Width = 75
Height = 25
Caption = 'Cerca'
TabOrder = 2
OnClick = btnSearchClick
end
object btnExit: TButton
Left = 576
Top = 560
Width = 75
Height = 25
Caption = 'Exit'
TabOrder = 3
OnClick = btnExitClick
end
object txtRes: TListBox
Left = 232
Top = 64
Width = 369
Height = 313
Color = clMenu
Font.Charset = ANSI_CHARSET
Font.Color = clInfoText
Font.Height = -12
Font.Name = 'Arial'
Font.Style = []
ItemHeight = 15
ParentFont = False
TabOrder = 4
end
object RadioGroup1: TRadioGroup
Left = 48
Top = 288
Width = 137
Height = 105
Caption = ' Coordinate da stampare:'
ItemIndex = 0
Items.Strings = (
'10 '
'20'
'30'
'40'
'50')
TabOrder = 5
end
object Stamp: TRadioGroup
Left = 32
Top = 160
Width = 185
Height = 105
Caption = 'Visualizza'
ItemIndex = 0
Items.Strings = (
'Dogane Amiche (MoD e Alleati)'
'Isole del tesoro'
'Tutte le isole')
TabOrder = 6
end
object Button1: TButton
Left = 312
Top = 504
Width = 75
Height = 25
Caption = 'Aggiorna'
TabOrder = 7
Visible = False
OnClick = Button1Click
end
object Edit1: TEdit
Left = 40
Top = 496
Width = 121
Height = 21
TabOrder = 8
Visible = False
end
object Button2: TButton
Left = 312
Top = 552
Width = 75
Height = 25
Caption = 'Elimina'
TabOrder = 9
Visible = False
OnClick = Button2Click
end
object CheckBox1: TCheckBox
Left = 8
Top = 432
Width = 121
Height = 17
Caption = 'Aggiorna il DataBase'
TabOrder = 10
OnClick = CheckBox1Click
end
end
Praticamente questo è una parte di un programma funzionante...Io devo modifcare alcune parti di questo codice, sostituire nomi per la maggior parte, ma se anche io non faccio niente e provo a compliarlo, mi da un errore nella riga 23: Identifier expected on line 23. Ho pensato l'errore fossero i ":"; ho quindi messo PtX = TEdit e messo su Caption, nella riga sopra un ' '. Così compila, ma se lo vado ad eseguire (l'ho chiamato 2.exe), mi da questo errore:
Exception EReadError in module 2.exe at 00001802F. Error reading lblDescrizione.PtX: Property PtX does not exist.
Se qualcuno ha qualche dritta da darmi, lo faccia :D
Left = 333
Top = 192
Width = 670
Height = 632
Caption = 'Cerca dogane\isole'
Color = clBtnFace
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'MS Sans Serif'
Font.Style = []
OldCreateOrder = False
OnCreate = FormCreate
PixelsPerInch = 96
TextHeight = 13
object lblDescrizione: TLabel
Left = 40
Top = 16
Width = 463
Height = 16
Caption =
PtX: TEdit
Left = 64
Top = 64
Width = 41
Height = 21
MaxLength = 3
TabOrder = 0
Text = 'txtX'
end
object txtY: TEdit
Left = 144
Top = 64
Width = 41
Height = 21
MaxLength = 3
TabOrder = 1
Text = 'txtY'
end
object btnSearch: TButton
Left = 40
Top = 104
Width = 75
Height = 25
Caption = 'Cerca'
TabOrder = 2
OnClick = btnSearchClick
end
object btnExit: TButton
Left = 576
Top = 560
Width = 75
Height = 25
Caption = 'Exit'
TabOrder = 3
OnClick = btnExitClick
end
object txtRes: TListBox
Left = 232
Top = 64
Width = 369
Height = 313
Color = clMenu
Font.Charset = ANSI_CHARSET
Font.Color = clInfoText
Font.Height = -12
Font.Name = 'Arial'
Font.Style = []
ItemHeight = 15
ParentFont = False
TabOrder = 4
end
object RadioGroup1: TRadioGroup
Left = 48
Top = 288
Width = 137
Height = 105
Caption = ' Coordinate da stampare:'
ItemIndex = 0
Items.Strings = (
'10 '
'20'
'30'
'40'
'50')
TabOrder = 5
end
object Stamp: TRadioGroup
Left = 32
Top = 160
Width = 185
Height = 105
Caption = 'Visualizza'
ItemIndex = 0
Items.Strings = (
'Dogane Amiche (MoD e Alleati)'
'Isole del tesoro'
'Tutte le isole')
TabOrder = 6
end
object Button1: TButton
Left = 312
Top = 504
Width = 75
Height = 25
Caption = 'Aggiorna'
TabOrder = 7
Visible = False
OnClick = Button1Click
end
object Edit1: TEdit
Left = 40
Top = 496
Width = 121
Height = 21
TabOrder = 8
Visible = False
end
object Button2: TButton
Left = 312
Top = 552
Width = 75
Height = 25
Caption = 'Elimina'
TabOrder = 9
Visible = False
OnClick = Button2Click
end
object CheckBox1: TCheckBox
Left = 8
Top = 432
Width = 121
Height = 17
Caption = 'Aggiorna il DataBase'
TabOrder = 10
OnClick = CheckBox1Click
end
end
Praticamente questo è una parte di un programma funzionante...Io devo modifcare alcune parti di questo codice, sostituire nomi per la maggior parte, ma se anche io non faccio niente e provo a compliarlo, mi da un errore nella riga 23: Identifier expected on line 23. Ho pensato l'errore fossero i ":"; ho quindi messo PtX = TEdit e messo su Caption, nella riga sopra un ' '. Così compila, ma se lo vado ad eseguire (l'ho chiamato 2.exe), mi da questo errore:
Exception EReadError in module 2.exe at 00001802F. Error reading lblDescrizione.PtX: Property PtX does not exist.
Se qualcuno ha qualche dritta da darmi, lo faccia :D