home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Computer Buyer 1998 July
/
dpcb0798.bin
/
Business
/
Persdesk
/
_SETUP.1
/
PERSYST1.EXE
/
0
/
RCDATA
/
TCOMPANYFORM
/
TCOMPANYFORM.txt
Wrap
Text File
|
1998-04-21
|
11KB
|
416 lines
object Companyform: TCompanyform
Left = 274
Top = 164
Width = 390
Height = 341
ActiveControl = Panel1
Caption = 'Company Information'
Font.Color = clBlack
Font.Height = -11
Font.Name = 'MS Sans Serif'
Font.Style = []
KeyPreview = True
Position = poScreenCenter
OnClose = FormClose
OnCreate = FormCreate
OnKeyUp = FormKeyUp
PixelsPerInch = 96
TextHeight = 13
object Panel1: TPanel
Left = 0
Top = 0
Width = 382
Height = 41
Align = alTop
TabOrder = 0
object deletebutton: TSpeedButton
Left = 252
Top = 8
Width = 25
Height = 25
Hint = 'Delete the current record'
Glyph.Data = {
76010000424D7601000000000000760000002800000020000000100000000100
04000000000000010000130B0000130B00000000000000000000000000000000
800000800000008080008000000080008000808000007F7F7F00BFBFBF000000
FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF00333333333333
333333333333333333FF33333333333330003333333333333777333333333333
300033FFFFFF3333377739999993333333333777777F3333333F399999933333
3300377777733333337733333333333333003333333333333377333333333333
3333333333333333333F333333333333330033333F33333333773333C3333333
330033337F3333333377333CC3333333333333F77FFFFFFF3FF33CCCCCCCCCC3
993337777777777F77F33CCCCCCCCCC399333777777777737733333CC3333333
333333377F33333333FF3333C333333330003333733333333777333333333333
3000333333333333377733333333333333333333333333333333}
NumGlyphs = 2
ParentShowHint = False
ShowHint = True
OnClick = deletebuttonClick
end
object DBNavigator: TDBNavigator
Left = 8
Top = 8
Width = 156
Height = 25
DataSource = Companyset1
VisibleButtons = [nbFirst, nbPrior, nbNext, nbLast, nbInsert, nbPost]
Ctl3D = False
ParentCtl3D = False
ParentShowHint = False
ShowHint = True
TabOrder = 0
OnClick = DBNavigatorClick
OnEnter = DBNavigatorEnter
OnExit = DBNavigatorExit
end
object OKbutton: TButton
Left = 316
Top = 8
Width = 57
Height = 25
Caption = 'OK'
Font.Color = clBlack
Font.Height = -11
Font.Name = 'MS Sans Serif'
Font.Style = [fsBold]
ParentFont = False
TabOrder = 1
OnClick = FormDestroy
end
object BitBtn1: TBitBtn
Left = 176
Top = 8
Width = 53
Height = 25
Caption = 'Save'
TabOrder = 2
OnClick = BitBtn1Click
Glyph.Data = {
F6000000424DF600000000000000760000002800000010000000100000000100
0400000000008000000000000000000000000000000000000000000000000000
80000080000000808000800000008000800080800000C0C0C000808080000000
FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF00FFFCCCFFFFFF
FFFFFFCCCCCFFFFFFFFFFFCCCCCFFFFFFFFFFCCCFCCCFFFFFFFFCCCCFCCCFFFF
FFFFCCCFFFCCCFFFFFFFCCFFFFCCCFFFFFFFCFFFFFFCCCFFFFFFFFFFFFFCCCCF
FFFFFFFFFFFFCCCFFFFFFFFFFFFFFCCCFFFFFFFFFFFFFCCCCFFFFFFFFFFFFFCC
CCCFFFFFFFFFFFFCCCCCFFFFFFFFFFFFFCCCFFFFFFFFFFFFFFCC}
end
end
object Panel2: TPanel
Left = 0
Top = 41
Width = 382
Height = 273
Align = alClient
BevelInner = bvLowered
BorderWidth = 4
Caption = 'Panel2'
TabOrder = 1
object ScrollBox: TScrollBox
Left = 6
Top = 6
Width = 370
Height = 261
HorzScrollBar.Margin = 6
HorzScrollBar.Range = 268
VertScrollBar.Margin = 6
VertScrollBar.Range = 160
Align = alClient
AutoScroll = False
BorderStyle = bsNone
TabOrder = 0
object Label1: TLabel
Left = 6
Top = 6
Width = 33
Height = 13
Caption = 'Name'
FocusControl = EditName
Font.Color = clBlack
Font.Height = -11
Font.Name = 'MS Sans Serif'
Font.Style = [fsBold]
ParentFont = False
end
object Label2: TLabel
Left = 6
Top = 50
Width = 46
Height = 13
Caption = 'Address'
Font.Color = clBlack
Font.Height = -11
Font.Name = 'MS Sans Serif'
Font.Style = [fsBold]
ParentFont = False
end
object Label3: TLabel
Left = 6
Top = 167
Width = 54
Height = 13
Caption = 'Postcode'
FocusControl = EditCompanyPostcode
Font.Color = clBlack
Font.Height = -11
Font.Name = 'MS Sans Serif'
Font.Style = [fsBold]
ParentFont = False
end
object Label4: TLabel
Left = 222
Top = 4
Width = 61
Height = 13
Caption = 'Telephone'
FocusControl = EditTelephone
Font.Color = clBlack
Font.Height = -11
Font.Name = 'MS Sans Serif'
Font.Style = [fsBold]
ParentFont = False
end
object Label5: TLabel
Left = 222
Top = 51
Width = 21
Height = 13
Caption = 'Fax'
FocusControl = EditFax
Font.Color = clBlack
Font.Height = -11
Font.Name = 'MS Sans Serif'
Font.Style = [fsBold]
ParentFont = False
end
object Label6: TLabel
Left = 224
Top = 145
Width = 59
Height = 32
Caption = 'Full Time Employees'
FocusControl = EditNumberofFTEmployees
Font.Color = clBlack
Font.Height = -11
Font.Name = 'MS Sans Serif'
Font.Style = [fsBold]
ParentFont = False
end
object Label7: TLabel
Left = 6
Top = 211
Width = 79
Height = 13
Caption = 'Business type'
Font.Color = clBlack
Font.Height = -11
Font.Name = 'MS Sans Serif'
Font.Style = [fsBold]
ParentFont = False
end
object Label8: TLabel
Left = 224
Top = 184
Width = 62
Height = 33
Caption = 'Part Time Employees'
FocusControl = EditNumberofPTEmployees
Font.Color = clBlack
Font.Height = -11
Font.Name = 'MS Sans Serif'
Font.Style = [fsBold]
ParentFont = False
end
object Label9: TLabel
Left = 224
Top = 98
Width = 65
Height = 39
Caption = 'Contract Employees'
FocusControl = EditNumberofContractEmpl
Font.Color = clBlack
Font.Height = -11
Font.Name = 'MS Sans Serif'
Font.Style = [fsBold]
ParentFont = False
end
object EditName: TDBEdit
Left = 6
Top = 20
Width = 200
Height = 21
DataField = 'Name'
DataSource = Companyset1
MaxLength = 0
TabOrder = 0
end
object EditCompanyPostcode: TDBEdit
Left = 8
Top = 181
Width = 66
Height = 21
CharCase = ecUpperCase
DataField = 'Company Postcode'
DataSource = Companyset1
MaxLength = 0
TabOrder = 2
end
object EditTelephone: TDBEdit
Left = 222
Top = 19
Width = 95
Height = 21
DataField = 'Telephone'
DataSource = Companyset1
MaxLength = 0
TabOrder = 3
end
object EditFax: TDBEdit
Left = 222
Top = 66
Width = 95
Height = 21
DataField = 'Fax'
DataSource = Companyset1
MaxLength = 0
TabOrder = 4
end
object EditNumberofFTEmployees: TDBEdit
Left = 294
Top = 144
Width = 50
Height = 21
Hint = 'Number of full time employees'
DataField = 'Number of FT Employees'
DataSource = Companyset1
MaxLength = 0
ParentShowHint = False
ShowHint = True
TabOrder = 6
end
object EditNumberofPTEmployees: TDBEdit
Left = 294
Top = 183
Width = 50
Height = 21
Hint = 'Number of part time employees'
DataField = 'Number of PT Employees'
DataSource = Companyset1
MaxLength = 0
ParentShowHint = False
ShowHint = True
TabOrder = 7
end
object EditNumberofContractEmpl: TDBEdit
Left = 294
Top = 97
Width = 50
Height = 21
Hint = 'Number of contract employees'
DataField = 'Number of Contract Empl.'
DataSource = Companyset1
MaxLength = 0
ParentShowHint = False
ShowHint = True
TabOrder = 5
end
object Businesstype1: TDBLookupCombo
Left = 8
Top = 224
Width = 169
Height = 25
DataField = 'Business type'
DataSource = Companyset1
LookupSource = Bustypeset
LookupDisplay = 'Business type'
LookupField = 'Business type'
MaxLength = 35
TabOrder = 8
OnExit = Businesstype1Change
end
object EditAddress: TDBMemo
Left = 4
Top = 68
Width = 205
Height = 89
DataField = 'Address'
DataSource = Companyset1
TabOrder = 1
end
end
end
object Companyset1: TDataSource
DataSet = Company1
Left = 295
Top = 37
end
object Company1: TTable
BeforePost = Company1BeforePost
DatabaseName = 'Personnel_System'
IndexFieldNames = 'Name'
TableName = 'company.db'
Left = 268
Top = 37
object Company1Name: TStringField
FieldName = 'Name'
Size = 40
end
object Company1Address: TMemoField
FieldName = 'Address'
BlobType = ftMemo
Size = 12
end
object Company1CompanyPostcode: TStringField
FieldName = 'Company Postcode'
Size = 12
end
object Company1NumberofFTEmployees: TSmallintField
FieldName = 'Number of FT Employees'
end
object Company1NumberofPTEmployees: TSmallintField
FieldName = 'Number of PT Employees'
end
object Company1NumberofContractEmpl: TSmallintField
FieldName = 'Number of Contract Empl.'
end
object Company1Telephone: TStringField
FieldName = 'Telephone'
Size = 15
end
object Company1Fax: TStringField
FieldName = 'Fax'
Size = 15
end
object Company1Businesstype: TStringField
FieldName = 'Business type'
Size = 35
end
end
object Businesstype: TTable
DatabaseName = 'Personnel_System'
IndexFieldNames = 'Business type'
TableName = 'BUSTYPE.DB'
Left = 336
Top = 40
object BusinesstypeBusinesstype: TStringField
FieldName = 'Business type'
Size = 35
end
end
object Bustypeset: TDataSource
DataSet = Businesstype
Left = 328
Top = 56
end
object Table1: TTable
DatabaseName = 'Personnel_System'
TableName = 'EMPLOYEE.DB'
Left = 48
Top = 41
end
object DataSource1: TDataSource
Left = 172
Top = 143
end
end