home *** CD-ROM | disk | FTP | other *** search
- object FrmPers_add: TFrmPers_add
- Left = -1
- Top = 40
- Width = 643
- Height = 442
- HelpContext = 35
- ActiveControl = Panel1
- Caption = 'Personal Addresses'
- Font.Charset = DEFAULT_CHARSET
- Font.Color = clBlack
- Font.Height = -11
- Font.Name = 'MS Sans Serif'
- Font.Style = []
- FormStyle = fsMDIChild
- Icon.Data = {<image000.ico>}
- Position = poScreenCenter
- Visible = True
- WindowState = wsMaximized
- OnClose = FormClose
- OnCloseQuery = FormCloseQuery
- OnCreate = FormCreate
- PixelsPerInch = 96
- TextHeight = 13
- object Panel1: TPanel
- Left = 0
- Top = 0
- Width = 635
- Height = 26
- Align = alTop
- BevelInner = bvLowered
- TabOrder = 0
- object Splitter1: TSplitter
- Left = 411
- Top = 2
- Width = 6
- Height = 22
- Cursor = crHSplit
- Align = alRight
- end
- object msDBNavigator1: TmsDBNavigator
- Left = 417
- Top = 2
- Width = 216
- Height = 22
- ErrorMessage = 'Error saving record'
- SearchOnField = 'FullName'
- OnlyNumeric = False
- DisplayFields = 'Fullname;Category;Ident'
- DataSource = SrcPers_add
- VisibleButtons = [nbInsert, nbDelete, nbEdit, nbPost, nbCancel]
- Font.Charset = DEFAULT_CHARSET
- Font.Color = clWindowText
- Font.Height = -13
- Font.Name = 'Times New Roman'
- Font.Style = []
- Align = alRight
- TabOrder = 0
- end
- object BtnClose: TButton
- Left = 4
- Top = 3
- Width = 41
- Height = 20
- Hint = 'Close'
- Cancel = True
- Caption = 'Cl&ose'
- ParentShowHint = False
- ShowHint = True
- TabOrder = 1
- OnClick = BtnCloseClick
- end
- object Button2: TButton
- Left = 49
- Top = 3
- Width = 40
- Height = 20
- Hint = 'View'
- Caption = '&View'
- ParentShowHint = False
- ShowHint = True
- TabOrder = 2
- OnClick = Button2Click
- end
- object msDBNavigator2: TmsDBNavigator
- Left = 228
- Top = 2
- Width = 183
- Height = 22
- ErrorMessage = 'Error saving record'
- OnlyNumeric = False
- DataSource = SrcPers_add
- VisibleButtons = [nbFirst, nbPrior, nbNext, nbLast]
- Font.Charset = DEFAULT_CHARSET
- Font.Color = clWindowText
- Font.Height = -11
- Font.Name = 'Times New Roman'
- Font.Style = []
- Align = alRight
- TabOrder = 3
- end
- object BtnFindText: TButton
- Left = 94
- Top = 3
- Width = 60
- Height = 20
- Hint = 'Close'
- Caption = '&Find Text'
- ParentShowHint = False
- ShowHint = True
- TabOrder = 4
- OnClick = BtnFindTextClick
- end
- end
- object Panel2: TPanel
- Left = 0
- Top = 26
- Width = 635
- Height = 389
- Align = alClient
- BevelInner = bvLowered
- BorderWidth = 4
- TabOrder = 1
- object GroupBox1: TGroupBox
- Left = 6
- Top = 225
- Width = 623
- Height = 158
- Align = alClient
- Caption = 'Note'
- Font.Charset = DEFAULT_CHARSET
- Font.Color = clBlack
- Font.Height = -13
- Font.Name = 'MS Sans Serif'
- Font.Style = []
- ParentFont = False
- TabOrder = 1
- object MSMemo1: TMSMemo
- Left = 2
- Top = 18
- Width = 619
- Height = 138
- Align = alClient
- DataField = 'Note'
- DataSource = SrcPers_add
- Font.Charset = DEFAULT_CHARSET
- Font.Color = clWindowText
- Font.Height = -13
- Font.Name = 'Courier New'
- Font.Style = []
- ParentFont = False
- TabOrder = 0
- ShowMemoTitle = 'Note'
- end
- end
- object Panel3: TPanel
- Left = 6
- Top = 6
- Width = 623
- Height = 219
- Align = alTop
- TabOrder = 0
- object Label1: TLabel
- Left = 10
- Top = 9
- Width = 31
- Height = 20
- AutoSize = False
- Caption = 'Title'
- Font.Charset = DEFAULT_CHARSET
- Font.Color = clBlack
- Font.Height = 16
- Font.Name = 'MS Sans Serif'
- Font.Style = []
- ParentFont = False
- end
- object Label2: TLabel
- Left = 277
- Top = 9
- Width = 93
- Height = 20
- AutoSize = False
- Caption = 'First Name'
- FocusControl = EditFIRST
- Font.Charset = DEFAULT_CHARSET
- Font.Color = clBlack
- Font.Height = 16
- Font.Name = 'MS Sans Serif'
- Font.Style = []
- ParentFont = False
- end
- object Label3: TLabel
- Left = 433
- Top = 10
- Width = 115
- Height = 17
- AutoSize = False
- Caption = 'Middle Name'
- FocusControl = EditMIDDLE
- Font.Charset = DEFAULT_CHARSET
- Font.Color = clBlack
- Font.Height = 16
- Font.Name = 'MS Sans Serif'
- Font.Style = []
- ParentFont = False
- end
- object Label4: TLabel
- Left = 89
- Top = 9
- Width = 74
- Height = 20
- AutoSize = False
- Caption = 'Last Name'
- FocusControl = EditLAST
- Font.Charset = DEFAULT_CHARSET
- Font.Color = clBlack
- Font.Height = 16
- Font.Name = 'MS Sans Serif'
- Font.Style = []
- ParentFont = False
- end
- object Label5: TLabel
- Left = 10
- Top = 54
- Width = 74
- Height = 20
- AutoSize = False
- Caption = 'Date Of birth'
- Font.Charset = DEFAULT_CHARSET
- Font.Color = clBlack
- Font.Height = 16
- Font.Name = 'MS Sans Serif'
- Font.Style = []
- ParentFont = False
- end
- object Label6: TLabel
- Left = 186
- Top = 54
- Width = 74
- Height = 20
- AutoSize = False
- Caption = 'Identity'
- FocusControl = EditIDENT
- Font.Charset = DEFAULT_CHARSET
- Font.Color = clBlack
- Font.Height = 16
- Font.Name = 'MS Sans Serif'
- Font.Style = []
- ParentFont = False
- end
- object Label7: TLabel
- Left = 10
- Top = 123
- Width = 74
- Height = 20
- AutoSize = False
- Caption = 'Address'
- FocusControl = EditADD_RES1
- Font.Charset = DEFAULT_CHARSET
- Font.Color = clBlack
- Font.Height = 16
- Font.Name = 'MS Sans Serif'
- Font.Style = []
- ParentFont = False
- end
- object Label10: TLabel
- Left = 10
- Top = 191
- Width = 56
- Height = 20
- AutoSize = False
- Caption = 'Pincode'
- Font.Charset = DEFAULT_CHARSET
- Font.Color = clBlack
- Font.Height = 16
- Font.Name = 'MS Sans Serif'
- Font.Style = []
- ParentFont = False
- end
- object Label11: TLabel
- Left = 358
- Top = 79
- Width = 63
- Height = 20
- AutoSize = False
- Caption = 'Tel. (Res.)'
- Font.Charset = DEFAULT_CHARSET
- Font.Color = clBlack
- Font.Height = 16
- Font.Name = 'MS Sans Serif'
- Font.Style = []
- ParentFont = False
- end
- object Label14: TLabel
- Left = 358
- Top = 168
- Width = 40
- Height = 20
- AutoSize = False
- Caption = 'Pager'
- Font.Charset = DEFAULT_CHARSET
- Font.Color = clBlack
- Font.Height = 16
- Font.Name = 'MS Sans Serif'
- Font.Style = []
- ParentFont = False
- end
- object Label15: TLabel
- Left = 358
- Top = 145
- Width = 45
- Height = 20
- AutoSize = False
- Caption = 'Cellulor'
- Font.Charset = DEFAULT_CHARSET
- Font.Color = clBlack
- Font.Height = 16
- Font.Name = 'MS Sans Serif'
- Font.Style = []
- ParentFont = False
- end
- object Label17: TLabel
- Left = 358
- Top = 101
- Width = 56
- Height = 20
- AutoSize = False
- Caption = 'Tel. (Off.)'
- Font.Charset = DEFAULT_CHARSET
- Font.Color = clBlack
- Font.Height = 16
- Font.Name = 'MS Sans Serif'
- Font.Style = []
- ParentFont = False
- end
- object Label8: TLabel
- Left = 10
- Top = 79
- Width = 74
- Height = 20
- AutoSize = False
- Caption = 'Category'
- FocusControl = EditIDENT
- Font.Charset = DEFAULT_CHARSET
- Font.Color = clBlack
- Font.Height = 16
- Font.Name = 'MS Sans Serif'
- Font.Style = []
- ParentFont = False
- end
- object Label9: TLabel
- Left = 358
- Top = 191
- Width = 41
- Height = 20
- AutoSize = False
- Caption = 'E-Mail'
- Font.Charset = DEFAULT_CHARSET
- Font.Color = clBlack
- Font.Height = 16
- Font.Name = 'MS Sans Serif'
- Font.Style = []
- ParentFont = False
- end
- object Label12: TLabel
- Left = 358
- Top = 123
- Width = 25
- Height = 20
- AutoSize = False
- Caption = 'Fax'
- Font.Charset = DEFAULT_CHARSET
- Font.Color = clBlack
- Font.Height = 16
- Font.Name = 'MS Sans Serif'
- Font.Style = []
- ParentFont = False
- end
- object Label13: TLabel
- Left = 10
- Top = 101
- Width = 75
- Height = 20
- AutoSize = False
- Caption = 'Designation'
- FocusControl = EditIDENT
- Font.Charset = DEFAULT_CHARSET
- Font.Color = clBlack
- Font.Height = 16
- Font.Name = 'MS Sans Serif'
- Font.Style = []
- ParentFont = False
- end
- object EditFIRST: TDBEdit
- Left = 275
- Top = 29
- Width = 151
- Height = 20
- Hint = 'First Name'
- AutoSize = False
- DataField = 'FIRST'
- DataSource = SrcPers_add
- ParentShowHint = False
- ShowHint = True
- TabOrder = 2
- end
- object EditMIDDLE: TDBEdit
- Left = 431
- Top = 29
- Width = 184
- Height = 20
- Hint = 'Middle Name'
- AutoSize = False
- DataField = 'MIDDLE'
- DataSource = SrcPers_add
- ParentShowHint = False
- ShowHint = True
- TabOrder = 3
- end
- object EditLAST: TDBEdit
- Left = 89
- Top = 29
- Width = 164
- Height = 20
- Hint = 'Last Name'
- AutoSize = False
- DataField = 'LAST'
- DataSource = SrcPers_add
- ParentShowHint = False
- ShowHint = True
- TabOrder = 1
- end
- object EditIDENT: TDBEdit
- Left = 241
- Top = 54
- Width = 285
- Height = 20
- Hint = 'Identity'
- AutoSize = False
- DataField = 'IDENT'
- DataSource = SrcPers_add
- ParentShowHint = False
- ShowHint = True
- TabOrder = 5
- end
- object EditADD_RES1: TDBEdit
- Left = 89
- Top = 123
- Width = 260
- Height = 20
- Hint = 'Address'
- AutoSize = False
- DataField = 'ADD_RES1'
- DataSource = SrcPers_add
- ParentShowHint = False
- ShowHint = True
- TabOrder = 8
- end
- object EditADD_RES2: TDBEdit
- Left = 89
- Top = 145
- Width = 260
- Height = 20
- Hint = 'Address'
- AutoSize = False
- DataField = 'ADD_RES2'
- DataSource = SrcPers_add
- ParentShowHint = False
- ShowHint = True
- TabOrder = 9
- end
- object EditADD_RES3: TDBEdit
- Left = 89
- Top = 168
- Width = 260
- Height = 20
- Hint = 'Address'
- AutoSize = False
- DataField = 'ADD_RES3'
- DataSource = SrcPers_add
- ParentShowHint = False
- ShowHint = True
- TabOrder = 10
- end
- object DBComboBox1: TDBComboBox
- Left = 10
- Top = 29
- Width = 73
- Height = 21
- Hint = 'Title'
- Style = csDropDownList
- DataField = 'TITLE'
- DataSource = SrcPers_add
- ItemHeight = 13
- Items.Strings = (
- 'Mr.'
- 'Mrs.'
- 'Ms.'
- 'Master'
- 'Dr.'
- 'Dr. (Ms.)'
- 'Dr. (Mrs.)'
- 'Smt.'
- '')
- ParentShowHint = False
- ShowHint = True
- TabOrder = 0
- end
- object DBEdit1: TDBEdit
- Left = 89
- Top = 79
- Width = 260
- Height = 20
- Hint = 'Category'
- AutoSize = False
- DataField = 'CATEGORY'
- DataSource = SrcPers_add
- ParentShowHint = False
- ShowHint = True
- TabOrder = 6
- OnMouseDown = DBEdit1MouseDown
- end
- object DBMaskEdit1: TDBMaskEdit
- Left = 89
- Top = 191
- Width = 53
- Height = 21
- Hint = 'Pincode'
- EditMask = '!999 999;0; '
- MaxLength = 7
- ParentShowHint = False
- ReadOnly = True
- ShowHint = True
- TabOrder = 11
- DataField = 'RESD_PIN'
- DataSource = SrcPers_add
- end
- object DBMaskEdit2: TDBEdit
- Left = 425
- Top = 145
- Width = 100
- Height = 21
- Hint = 'Cellulor'
- DataField = 'CELLULOR'
- DataSource = SrcPers_add
- ParentShowHint = False
- ShowHint = True
- TabOrder = 17
- end
- object DBMaskEdit3: TDBEdit
- Left = 527
- Top = 101
- Width = 94
- Height = 21
- Hint = 'Office Telephone'
- DataField = 'OFF_TEL2'
- DataSource = SrcPers_add
- ParentShowHint = False
- ShowHint = True
- TabOrder = 15
- end
- object DBMaskEdit4: TDBEdit
- Left = 425
- Top = 101
- Width = 100
- Height = 21
- Hint = 'Office Telephone'
- DataField = 'OFF_TEL1'
- DataSource = SrcPers_add
- ParentShowHint = False
- ShowHint = True
- TabOrder = 14
- end
- object DBMaskEdit5: TDBEdit
- Left = 425
- Top = 168
- Width = 100
- Height = 21
- Hint = 'Pager'
- DataField = 'PAGER'
- DataSource = SrcPers_add
- ParentShowHint = False
- ShowHint = True
- TabOrder = 18
- end
- object DBMaskEdit6: TDBEdit
- Left = 425
- Top = 123
- Width = 100
- Height = 21
- Hint = 'Telephone'
- DataField = 'RESD_TEL3'
- DataSource = SrcPers_add
- ParentShowHint = False
- ShowHint = True
- TabOrder = 16
- end
- object DBMaskEdit7: TDBEdit
- Left = 527
- Top = 79
- Width = 94
- Height = 21
- Hint = 'Telephone'
- DataField = 'RESD_TEL2'
- DataSource = SrcPers_add
- ParentShowHint = False
- ShowHint = True
- TabOrder = 13
- end
- object DBMaskEdit8: TDBEdit
- Left = 425
- Top = 79
- Width = 100
- Height = 21
- Hint = 'Telephone'
- DataField = 'RESD_TEL1'
- DataSource = SrcPers_add
- ParentShowHint = False
- ShowHint = True
- TabOrder = 12
- end
- object DBMaskEdit9: TDBMaskEdit
- Left = 89
- Top = 54
- Width = 67
- Height = 21
- Hint = 'Date of Birth'
- EditMask = '!99/99/9999'
- MaxLength = 10
- ParentShowHint = False
- ReadOnly = True
- ShowHint = True
- TabOrder = 4
- Text = ' / / '
- DataField = 'DOB'
- DataSource = SrcPers_add
- end
- object DBMaskEdit10: TDBEdit
- Left = 425
- Top = 191
- Width = 192
- Height = 21
- Hint = 'E-Mail'
- DataField = 'E-Mail'
- DataSource = SrcPers_add
- ParentShowHint = False
- ShowHint = True
- TabOrder = 19
- end
- object DBEdit2: TDBEdit
- Left = 89
- Top = 101
- Width = 260
- Height = 20
- Hint = 'Category'
- AutoSize = False
- DataField = 'Designation'
- DataSource = SrcPers_add
- ParentShowHint = False
- ShowHint = True
- TabOrder = 7
- OnMouseDown = DBEdit1MouseDown
- end
- end
- end
- object SrcPers_add: TDataSource
- DataSet = tblPers_Add
- OnStateChange = SrcPers_addStateChange
- Left = 287
- Top = 109
- end
- object tblPers_Add: TTable
- BeforePost = tblPers_AddBeforePost
- AfterPost = tblPers_AddAfterPost
- OnCalcFields = TblPers_addCalcFields
- DatabaseName = 'c:\ophthal\Utility\Address\Data'
- TableName = 'PERS_ADD.DB'
- Left = 206
- Top = 111
- object tblPers_AddCATEGORY: TStringField
- FieldName = 'CATEGORY'
- Size = 30
- end
- object tblPers_AddLAST: TStringField
- FieldName = 'LAST'
- end
- object tblPers_AddFIRST: TStringField
- FieldName = 'FIRST'
- end
- object tblPers_AddMIDDLE: TStringField
- FieldName = 'MIDDLE'
- end
- object tblPers_AddTITLE: TStringField
- FieldName = 'TITLE'
- Size = 10
- end
- object tblPers_AddDOB: TDateField
- FieldName = 'DOB'
- end
- object tblPers_AddIDENT: TStringField
- FieldName = 'IDENT'
- Size = 60
- end
- object tblPers_AddRESD_PIN: TStringField
- FieldName = 'RESD_PIN'
- Size = 10
- end
- object tblPers_AddRESD_TEL1: TStringField
- FieldName = 'RESD_TEL1'
- end
- object tblPers_AddRESD_TEL2: TStringField
- FieldName = 'RESD_TEL2'
- end
- object tblPers_AddRESD_TEL3: TStringField
- FieldName = 'RESD_TEL3'
- end
- object tblPers_AddPAGER: TStringField
- FieldName = 'PAGER'
- end
- object tblPers_AddCELLULOR: TStringField
- FieldName = 'CELLULOR'
- end
- object tblPers_AddPRINT: TBooleanField
- FieldName = 'PRINT'
- end
- object tblPers_AddOFF_TEL1: TStringField
- FieldName = 'OFF_TEL1'
- end
- object tblPers_AddOFF_TEL2: TStringField
- FieldName = 'OFF_TEL2'
- end
- object tblPers_AddEMail: TStringField
- DisplayWidth = 50
- FieldName = 'E-Mail'
- Size = 50
- end
- object tblPers_AddNote: TMemoField
- FieldName = 'Note'
- BlobType = ftMemo
- Size = 4
- end
- object FullName: TStringField
- DisplayLabel = 'Full Name'
- FieldName = 'FullName'
- Calculated = True
- end
- object tblPers_AddDesignation: TStringField
- FieldName = 'Designation'
- Size = 30
- end
- object tblPers_AddADD_RES1: TStringField
- FieldName = 'ADD_RES1'
- Size = 40
- end
- object tblPers_AddADD_RES2: TStringField
- FieldName = 'ADD_RES2'
- Size = 40
- end
- object tblPers_AddADD_RES3: TStringField
- FieldName = 'ADD_RES3'
- Size = 40
- end
- end
- object tblCategory: TTable
- OnCalcFields = TblPers_addCalcFields
- DatabaseName = 'c:\ophthal\data'
- TableName = 'Category.DB'
- Left = 278
- Top = 159
- end
- object FindDialog1: TFindDialog
- OnClose = FindDialog1Close
- Options = [frDown, frFindNext]
- OnFind = FindDialog1Find
- Left = 208
- Top = 32
- end
- end
-