You've already forked lazarus-ccr
tvplanit: In contact editor, split combined name field into separate fields for first and last names
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4857 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -402,7 +402,7 @@ msgid "Event"
|
|||||||
msgstr "Ereignis"
|
msgstr "Ereignis"
|
||||||
|
|
||||||
#: vpsr.rsdlgprintpreview
|
#: vpsr.rsdlgprintpreview
|
||||||
msgid "Print Preview"
|
msgid "Print preview"
|
||||||
msgstr "Druckvorschau"
|
msgstr "Druckvorschau"
|
||||||
|
|
||||||
#: vpsr.rsdlgreseditcaption
|
#: vpsr.rsdlgreseditcaption
|
||||||
@ -443,8 +443,8 @@ msgid "E-Mail"
|
|||||||
msgstr "E-Mail"
|
msgstr "E-Mail"
|
||||||
|
|
||||||
#: vpsr.rsendtimelbl
|
#: vpsr.rsendtimelbl
|
||||||
msgid "End Time:"
|
msgid "End time:"
|
||||||
msgstr "Ende-Zeit"
|
msgstr "Ende-Zeit:"
|
||||||
|
|
||||||
#: vpsr.rsexclusiveeventconflict
|
#: vpsr.rsexclusiveeventconflict
|
||||||
msgid "Conflicts with another exclusive event."
|
msgid "Conflicts with another exclusive event."
|
||||||
@ -471,6 +471,10 @@ msgctxt "vpsr.rsfalse"
|
|||||||
msgid "F"
|
msgid "F"
|
||||||
msgstr "F"
|
msgstr "F"
|
||||||
|
|
||||||
|
#: vpsr.rsfirstnamelbl
|
||||||
|
msgid "First name:"
|
||||||
|
msgstr "Vorname:"
|
||||||
|
|
||||||
#: vpsr.rsfriday
|
#: vpsr.rsfriday
|
||||||
msgid "Friday"
|
msgid "Friday"
|
||||||
msgstr "Freitag"
|
msgstr "Freitag"
|
||||||
@ -518,7 +522,7 @@ msgstr "Stunden"
|
|||||||
|
|
||||||
#: vpsr.rsinifilestructure
|
#: vpsr.rsinifilestructure
|
||||||
msgid "Incorrect structure of ini file."
|
msgid "Incorrect structure of ini file."
|
||||||
msgstr ""
|
msgstr "Falscher Aufbau der ini-Datei"
|
||||||
|
|
||||||
#: vpsr.rsintervallbl
|
#: vpsr.rsintervallbl
|
||||||
msgid "Interval (days):"
|
msgid "Interval (days):"
|
||||||
@ -548,6 +552,10 @@ msgstr "Fehler: Ungültige Tabelle angegeben."
|
|||||||
msgid "Error: Invalid Year."
|
msgid "Error: Invalid Year."
|
||||||
msgstr "Fehler: Ungültiges Jahr"
|
msgstr "Fehler: Ungültiges Jahr"
|
||||||
|
|
||||||
|
#: vpsr.rslastnamelbl
|
||||||
|
msgid "Last name:"
|
||||||
|
msgstr "Nachname:"
|
||||||
|
|
||||||
#: vpsr.rslfriday
|
#: vpsr.rslfriday
|
||||||
msgctxt "vpsr.rslfriday"
|
msgctxt "vpsr.rslfriday"
|
||||||
msgid "F"
|
msgid "F"
|
||||||
@ -642,10 +650,6 @@ msgstr "Heute"
|
|||||||
msgid "Error: Name cannot be empty."
|
msgid "Error: Name cannot be empty."
|
||||||
msgstr "Fehler: Name muss angegeben sein."
|
msgstr "Fehler: Name muss angegeben sein."
|
||||||
|
|
||||||
#: vpsr.rsnamelbl
|
|
||||||
msgid "Name:"
|
|
||||||
msgstr "Name:"
|
|
||||||
|
|
||||||
#: vpsr.rsneedelementname
|
#: vpsr.rsneedelementname
|
||||||
msgid "Please supply an Element Name"
|
msgid "Please supply an Element Name"
|
||||||
msgstr "Bitte geben Sie einen Element-Namen an."
|
msgstr "Bitte geben Sie einen Element-Namen an."
|
||||||
@ -874,11 +878,11 @@ msgid "Print controller is not owned by a TVpControlLink!"
|
|||||||
msgstr "Print Controll hat nicht TVpControlLink als Owner"
|
msgstr "Print Controll hat nicht TVpControlLink als Owner"
|
||||||
|
|
||||||
#: vpsr.rsrecurrenceendslbl
|
#: vpsr.rsrecurrenceendslbl
|
||||||
msgid "Repeat Until:"
|
msgid "Repeat until:"
|
||||||
msgstr "Wiederholen bis:"
|
msgstr "Wiederholen bis:"
|
||||||
|
|
||||||
#: vpsr.rsrecurringlbl
|
#: vpsr.rsrecurringlbl
|
||||||
msgid "Appointment Recurrence:"
|
msgid "Appointment recurrence:"
|
||||||
msgstr "Termin-Wiederholung:"
|
msgstr "Termin-Wiederholung:"
|
||||||
|
|
||||||
#: vpsr.rsreminder
|
#: vpsr.rsreminder
|
||||||
@ -918,8 +922,8 @@ msgid "Error: Unable to update "
|
|||||||
msgstr "Fehler: Kann nicht updaten"
|
msgstr "Fehler: Kann nicht updaten"
|
||||||
|
|
||||||
#: vpsr.rsstarttimelbl
|
#: vpsr.rsstarttimelbl
|
||||||
msgid "Start Time:"
|
msgid "Start time:"
|
||||||
msgstr "Start-Zeit"
|
msgstr "Start-Zeit:"
|
||||||
|
|
||||||
#: vpsr.rsstatelbl
|
#: vpsr.rsstatelbl
|
||||||
msgid "State:"
|
msgid "State:"
|
||||||
@ -1091,7 +1095,7 @@ msgid "Y"
|
|||||||
msgstr "Y"
|
msgstr "Y"
|
||||||
|
|
||||||
#: vpsr.rszipcodelbl
|
#: vpsr.rszipcodelbl
|
||||||
msgid "Zip Code:"
|
msgid "Zip code:"
|
||||||
msgstr "Postleitzahl:"
|
msgstr "Postleitzahl:"
|
||||||
|
|
||||||
#: vpsr.sallocsrcmemfailed
|
#: vpsr.sallocsrcmemfailed
|
||||||
@ -1377,4 +1381,3 @@ msgstr "Unbekannte Achsen-Spezifikation: %s"
|
|||||||
#: vpsr.sxmldecnotatbeg
|
#: vpsr.sxmldecnotatbeg
|
||||||
msgid "The XML declaration must appear before the first element"
|
msgid "The XML declaration must appear before the first element"
|
||||||
msgstr "Die XML-Deklaration muss vor dem ersten Element erscheinen."
|
msgstr "Die XML-Deklaration muss vor dem ersten Element erscheinen."
|
||||||
|
|
||||||
|
@ -392,7 +392,7 @@ msgid "Event"
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: vpsr.rsdlgprintpreview
|
#: vpsr.rsdlgprintpreview
|
||||||
msgid "Print Preview"
|
msgid "Print preview"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: vpsr.rsdlgreseditcaption
|
#: vpsr.rsdlgreseditcaption
|
||||||
@ -433,7 +433,7 @@ msgid "E-Mail"
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: vpsr.rsendtimelbl
|
#: vpsr.rsendtimelbl
|
||||||
msgid "End Time:"
|
msgid "End time:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: vpsr.rsexclusiveeventconflict
|
#: vpsr.rsexclusiveeventconflict
|
||||||
@ -461,6 +461,10 @@ msgctxt "vpsr.rsfalse"
|
|||||||
msgid "F"
|
msgid "F"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#: vpsr.rsfirstnamelbl
|
||||||
|
msgid "First name:"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: vpsr.rsfriday
|
#: vpsr.rsfriday
|
||||||
msgid "Friday"
|
msgid "Friday"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -538,6 +542,10 @@ msgstr ""
|
|||||||
msgid "Error: Invalid Year."
|
msgid "Error: Invalid Year."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#: vpsr.rslastnamelbl
|
||||||
|
msgid "Last name:"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: vpsr.rslfriday
|
#: vpsr.rslfriday
|
||||||
msgctxt "vpsr.rslfriday"
|
msgctxt "vpsr.rslfriday"
|
||||||
msgid "F"
|
msgid "F"
|
||||||
@ -632,10 +640,6 @@ msgstr ""
|
|||||||
msgid "Error: Name cannot be empty."
|
msgid "Error: Name cannot be empty."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: vpsr.rsnamelbl
|
|
||||||
msgid "Name:"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: vpsr.rsneedelementname
|
#: vpsr.rsneedelementname
|
||||||
msgid "Please supply an Element Name"
|
msgid "Please supply an Element Name"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -864,11 +868,11 @@ msgid "Print controller is not owned by a TVpControlLink!"
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: vpsr.rsrecurrenceendslbl
|
#: vpsr.rsrecurrenceendslbl
|
||||||
msgid "Repeat Until:"
|
msgid "Repeat until:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: vpsr.rsrecurringlbl
|
#: vpsr.rsrecurringlbl
|
||||||
msgid "Appointment Recurrence:"
|
msgid "Appointment recurrence:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: vpsr.rsreminder
|
#: vpsr.rsreminder
|
||||||
@ -908,7 +912,7 @@ msgid "Error: Unable to update "
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: vpsr.rsstarttimelbl
|
#: vpsr.rsstarttimelbl
|
||||||
msgid "Start Time:"
|
msgid "Start time:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: vpsr.rsstatelbl
|
#: vpsr.rsstatelbl
|
||||||
@ -1081,7 +1085,7 @@ msgid "Y"
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: vpsr.rszipcodelbl
|
#: vpsr.rszipcodelbl
|
||||||
msgid "Zip Code:"
|
msgid "Zip code:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: vpsr.sallocsrcmemfailed
|
#: vpsr.sallocsrcmemfailed
|
||||||
|
@ -402,7 +402,9 @@ msgid "Event"
|
|||||||
msgstr "Событие"
|
msgstr "Событие"
|
||||||
|
|
||||||
#: vpsr.rsdlgprintpreview
|
#: vpsr.rsdlgprintpreview
|
||||||
msgid "Print Preview"
|
#, fuzzy
|
||||||
|
#| msgid "Print Preview"
|
||||||
|
msgid "Print preview"
|
||||||
msgstr "Предварительный просмотр печати"
|
msgstr "Предварительный просмотр печати"
|
||||||
|
|
||||||
#: vpsr.rsdlgreseditcaption
|
#: vpsr.rsdlgreseditcaption
|
||||||
@ -443,7 +445,9 @@ msgid "E-Mail"
|
|||||||
msgstr "Электронная почта"
|
msgstr "Электронная почта"
|
||||||
|
|
||||||
#: vpsr.rsendtimelbl
|
#: vpsr.rsendtimelbl
|
||||||
msgid "End Time:"
|
#, fuzzy
|
||||||
|
#| msgid "End Time:"
|
||||||
|
msgid "End time:"
|
||||||
msgstr "Время окончания:"
|
msgstr "Время окончания:"
|
||||||
|
|
||||||
#: vpsr.rsexclusiveeventconflict
|
#: vpsr.rsexclusiveeventconflict
|
||||||
@ -471,6 +475,10 @@ msgctxt "vpsr.rsfalse"
|
|||||||
msgid "F"
|
msgid "F"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#: vpsr.rsfirstnamelbl
|
||||||
|
msgid "First name:"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: vpsr.rsfriday
|
#: vpsr.rsfriday
|
||||||
msgid "Friday"
|
msgid "Friday"
|
||||||
msgstr "Пятница"
|
msgstr "Пятница"
|
||||||
@ -548,6 +556,10 @@ msgstr "Ошибка: Не верное определение таблицы."
|
|||||||
msgid "Error: Invalid Year."
|
msgid "Error: Invalid Year."
|
||||||
msgstr "Ошибка: Не верный год."
|
msgstr "Ошибка: Не верный год."
|
||||||
|
|
||||||
|
#: vpsr.rslastnamelbl
|
||||||
|
msgid "Last name:"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: vpsr.rslfriday
|
#: vpsr.rslfriday
|
||||||
msgctxt "vpsr.rslfriday"
|
msgctxt "vpsr.rslfriday"
|
||||||
msgid "F"
|
msgid "F"
|
||||||
@ -642,10 +654,6 @@ msgstr "Сегодня"
|
|||||||
msgid "Error: Name cannot be empty."
|
msgid "Error: Name cannot be empty."
|
||||||
msgstr "Ошибка: Имя не может быть пустым."
|
msgstr "Ошибка: Имя не может быть пустым."
|
||||||
|
|
||||||
#: vpsr.rsnamelbl
|
|
||||||
msgid "Name:"
|
|
||||||
msgstr "Имя:"
|
|
||||||
|
|
||||||
#: vpsr.rsneedelementname
|
#: vpsr.rsneedelementname
|
||||||
msgid "Please supply an Element Name"
|
msgid "Please supply an Element Name"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -884,11 +892,13 @@ msgid "Print controller is not owned by a TVpControlLink!"
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: vpsr.rsrecurrenceendslbl
|
#: vpsr.rsrecurrenceendslbl
|
||||||
msgid "Repeat Until:"
|
#, fuzzy
|
||||||
|
#| msgid "Repeat Until:"
|
||||||
|
msgid "Repeat until:"
|
||||||
msgstr "Повторять до:"
|
msgstr "Повторять до:"
|
||||||
|
|
||||||
#: vpsr.rsrecurringlbl
|
#: vpsr.rsrecurringlbl
|
||||||
msgid "Appointment Recurrence:"
|
msgid "Appointment recurrence:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: vpsr.rsreminder
|
#: vpsr.rsreminder
|
||||||
@ -928,7 +938,9 @@ msgid "Error: Unable to update "
|
|||||||
msgstr "Ошибка обновления"
|
msgstr "Ошибка обновления"
|
||||||
|
|
||||||
#: vpsr.rsstarttimelbl
|
#: vpsr.rsstarttimelbl
|
||||||
msgid "Start Time:"
|
#, fuzzy
|
||||||
|
#| msgid "Start Time:"
|
||||||
|
msgid "Start time:"
|
||||||
msgstr "Время начала:"
|
msgstr "Время начала:"
|
||||||
|
|
||||||
#: vpsr.rsstatelbl
|
#: vpsr.rsstatelbl
|
||||||
@ -1101,7 +1113,9 @@ msgid "Y"
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: vpsr.rszipcodelbl
|
#: vpsr.rszipcodelbl
|
||||||
msgid "Zip Code:"
|
#, fuzzy
|
||||||
|
#| msgid "Zip Code:"
|
||||||
|
msgid "Zip code:"
|
||||||
msgstr "Почтовый индекс:"
|
msgstr "Почтовый индекс:"
|
||||||
|
|
||||||
#: vpsr.sallocsrcmemfailed
|
#: vpsr.sallocsrcmemfailed
|
||||||
|
@ -1,13 +1,13 @@
|
|||||||
object ContactEditForm: TContactEditForm
|
object ContactEditForm: TContactEditForm
|
||||||
Left = 311
|
Left = 311
|
||||||
Height = 320
|
Height = 355
|
||||||
Top = 245
|
Top = 245
|
||||||
Width = 433
|
Width = 433
|
||||||
HorzScrollBar.Page = 432
|
HorzScrollBar.Page = 432
|
||||||
VertScrollBar.Page = 320
|
VertScrollBar.Page = 320
|
||||||
ActiveControl = tsContacts
|
ActiveControl = tsContacts
|
||||||
Caption = 'ContactEdit'
|
Caption = 'ContactEdit'
|
||||||
ClientHeight = 320
|
ClientHeight = 355
|
||||||
ClientWidth = 433
|
ClientWidth = 433
|
||||||
OnCreate = FormCreate
|
OnCreate = FormCreate
|
||||||
OnKeyDown = FormKeyDown
|
OnKeyDown = FormKeyDown
|
||||||
@ -16,7 +16,7 @@ object ContactEditForm: TContactEditForm
|
|||||||
LCLVersion = '1.7'
|
LCLVersion = '1.7'
|
||||||
object tsContacts: TPageControl
|
object tsContacts: TPageControl
|
||||||
Left = 0
|
Left = 0
|
||||||
Height = 279
|
Height = 314
|
||||||
Top = 0
|
Top = 0
|
||||||
Width = 433
|
Width = 433
|
||||||
ActivePage = tabMain
|
ActivePage = tabMain
|
||||||
@ -26,23 +26,23 @@ object ContactEditForm: TContactEditForm
|
|||||||
OnChange = tsContactsChange
|
OnChange = tsContactsChange
|
||||||
object tabMain: TTabSheet
|
object tabMain: TTabSheet
|
||||||
Caption = 'RSMasterData'
|
Caption = 'RSMasterData'
|
||||||
ClientHeight = 251
|
ClientHeight = 286
|
||||||
ClientWidth = 425
|
ClientWidth = 425
|
||||||
object NameLbl: TLabel
|
object LastNameLbl: TLabel
|
||||||
Left = 8
|
Left = 8
|
||||||
Height = 16
|
Height = 16
|
||||||
Top = 6
|
Top = 6
|
||||||
Width = 127
|
Width = 127
|
||||||
Alignment = taRightJustify
|
Alignment = taRightJustify
|
||||||
AutoSize = False
|
AutoSize = False
|
||||||
Caption = 'Name'
|
Caption = 'Last name'
|
||||||
FocusControl = NameEdit
|
FocusControl = LastNameEdit
|
||||||
ParentColor = False
|
ParentColor = False
|
||||||
end
|
end
|
||||||
object AddrLbl: TLabel
|
object AddrLbl: TLabel
|
||||||
Left = 8
|
Left = 8
|
||||||
Height = 16
|
Height = 16
|
||||||
Top = 54
|
Top = 81
|
||||||
Width = 127
|
Width = 127
|
||||||
Alignment = taRightJustify
|
Alignment = taRightJustify
|
||||||
AutoSize = False
|
AutoSize = False
|
||||||
@ -53,7 +53,7 @@ object ContactEditForm: TContactEditForm
|
|||||||
object CityLbl: TLabel
|
object CityLbl: TLabel
|
||||||
Left = 8
|
Left = 8
|
||||||
Height = 16
|
Height = 16
|
||||||
Top = 78
|
Top = 105
|
||||||
Width = 127
|
Width = 127
|
||||||
Alignment = taRightJustify
|
Alignment = taRightJustify
|
||||||
AutoSize = False
|
AutoSize = False
|
||||||
@ -64,7 +64,7 @@ object ContactEditForm: TContactEditForm
|
|||||||
object StateLbl: TLabel
|
object StateLbl: TLabel
|
||||||
Left = 8
|
Left = 8
|
||||||
Height = 16
|
Height = 16
|
||||||
Top = 102
|
Top = 129
|
||||||
Width = 127
|
Width = 127
|
||||||
Alignment = taRightJustify
|
Alignment = taRightJustify
|
||||||
AutoSize = False
|
AutoSize = False
|
||||||
@ -75,7 +75,7 @@ object ContactEditForm: TContactEditForm
|
|||||||
object ZipLbl: TLabel
|
object ZipLbl: TLabel
|
||||||
Left = 8
|
Left = 8
|
||||||
Height = 16
|
Height = 16
|
||||||
Top = 126
|
Top = 153
|
||||||
Width = 127
|
Width = 127
|
||||||
Alignment = taRightJustify
|
Alignment = taRightJustify
|
||||||
AutoSize = False
|
AutoSize = False
|
||||||
@ -86,7 +86,7 @@ object ContactEditForm: TContactEditForm
|
|||||||
object CountryLbl: TLabel
|
object CountryLbl: TLabel
|
||||||
Left = 8
|
Left = 8
|
||||||
Height = 16
|
Height = 16
|
||||||
Top = 150
|
Top = 177
|
||||||
Width = 127
|
Width = 127
|
||||||
Alignment = taRightJustify
|
Alignment = taRightJustify
|
||||||
AutoSize = False
|
AutoSize = False
|
||||||
@ -97,7 +97,7 @@ object ContactEditForm: TContactEditForm
|
|||||||
object PositionLbl: TLabel
|
object PositionLbl: TLabel
|
||||||
Left = 8
|
Left = 8
|
||||||
Height = 16
|
Height = 16
|
||||||
Top = 199
|
Top = 226
|
||||||
Width = 127
|
Width = 127
|
||||||
Alignment = taRightJustify
|
Alignment = taRightJustify
|
||||||
AutoSize = False
|
AutoSize = False
|
||||||
@ -108,7 +108,7 @@ object ContactEditForm: TContactEditForm
|
|||||||
object TitleLbl: TLabel
|
object TitleLbl: TLabel
|
||||||
Left = 8
|
Left = 8
|
||||||
Height = 16
|
Height = 16
|
||||||
Top = 31
|
Top = 58
|
||||||
Width = 127
|
Width = 127
|
||||||
Alignment = taRightJustify
|
Alignment = taRightJustify
|
||||||
AutoSize = False
|
AutoSize = False
|
||||||
@ -119,7 +119,7 @@ object ContactEditForm: TContactEditForm
|
|||||||
object CompanyLbl: TLabel
|
object CompanyLbl: TLabel
|
||||||
Left = 8
|
Left = 8
|
||||||
Height = 16
|
Height = 16
|
||||||
Top = 175
|
Top = 202
|
||||||
Width = 127
|
Width = 127
|
||||||
Alignment = taRightJustify
|
Alignment = taRightJustify
|
||||||
AutoSize = False
|
AutoSize = False
|
||||||
@ -130,7 +130,7 @@ object ContactEditForm: TContactEditForm
|
|||||||
object CategoryLbl: TLabel
|
object CategoryLbl: TLabel
|
||||||
Left = 8
|
Left = 8
|
||||||
Height = 16
|
Height = 16
|
||||||
Top = 226
|
Top = 253
|
||||||
Width = 127
|
Width = 127
|
||||||
Alignment = taRightJustify
|
Alignment = taRightJustify
|
||||||
AutoSize = False
|
AutoSize = False
|
||||||
@ -138,10 +138,10 @@ object ContactEditForm: TContactEditForm
|
|||||||
FocusControl = cboxCategory
|
FocusControl = cboxCategory
|
||||||
ParentColor = False
|
ParentColor = False
|
||||||
end
|
end
|
||||||
object NameEdit: TEdit
|
object LastNameEdit: TEdit
|
||||||
Left = 136
|
Left = 136
|
||||||
Height = 23
|
Height = 23
|
||||||
Top = 4
|
Top = 6
|
||||||
Width = 247
|
Width = 247
|
||||||
MaxLength = 100
|
MaxLength = 100
|
||||||
OnChange = ItemChanged
|
OnChange = ItemChanged
|
||||||
@ -150,96 +150,96 @@ object ContactEditForm: TContactEditForm
|
|||||||
object AddressEdit: TEdit
|
object AddressEdit: TEdit
|
||||||
Left = 136
|
Left = 136
|
||||||
Height = 23
|
Height = 23
|
||||||
Top = 52
|
Top = 79
|
||||||
Width = 247
|
Width = 247
|
||||||
MaxLength = 100
|
MaxLength = 100
|
||||||
OnChange = ItemChanged
|
OnChange = ItemChanged
|
||||||
TabOrder = 2
|
TabOrder = 3
|
||||||
end
|
end
|
||||||
object CityEdit: TEdit
|
object CityEdit: TEdit
|
||||||
Left = 136
|
Left = 136
|
||||||
Height = 23
|
Height = 23
|
||||||
Top = 76
|
Top = 103
|
||||||
Width = 247
|
Width = 247
|
||||||
MaxLength = 50
|
MaxLength = 50
|
||||||
OnChange = ItemChanged
|
OnChange = ItemChanged
|
||||||
TabOrder = 3
|
TabOrder = 4
|
||||||
end
|
end
|
||||||
object StateEdit: TEdit
|
object StateEdit: TEdit
|
||||||
Left = 168
|
Left = 168
|
||||||
Height = 23
|
Height = 23
|
||||||
Top = 100
|
Top = 127
|
||||||
Width = 247
|
Width = 247
|
||||||
MaxLength = 25
|
MaxLength = 25
|
||||||
OnChange = ItemChanged
|
OnChange = ItemChanged
|
||||||
TabOrder = 5
|
TabOrder = 6
|
||||||
end
|
end
|
||||||
object ZipCodeEdit: TEdit
|
object ZipCodeEdit: TEdit
|
||||||
Left = 136
|
Left = 136
|
||||||
Height = 23
|
Height = 23
|
||||||
Top = 124
|
Top = 151
|
||||||
Width = 121
|
Width = 121
|
||||||
MaxLength = 10
|
MaxLength = 10
|
||||||
OnChange = ItemChanged
|
OnChange = ItemChanged
|
||||||
TabOrder = 6
|
TabOrder = 7
|
||||||
end
|
end
|
||||||
object PositionEdit: TEdit
|
object PositionEdit: TEdit
|
||||||
Left = 136
|
Left = 136
|
||||||
Height = 23
|
Height = 23
|
||||||
Top = 197
|
Top = 224
|
||||||
|
Width = 121
|
||||||
|
MaxLength = 50
|
||||||
|
OnChange = ItemChanged
|
||||||
|
TabOrder = 11
|
||||||
|
end
|
||||||
|
object TitleEdit: TEdit
|
||||||
|
Left = 136
|
||||||
|
Height = 23
|
||||||
|
Top = 56
|
||||||
|
Width = 121
|
||||||
|
MaxLength = 50
|
||||||
|
OnChange = ItemChanged
|
||||||
|
TabOrder = 2
|
||||||
|
end
|
||||||
|
object CompanyEdit: TEdit
|
||||||
|
Left = 136
|
||||||
|
Height = 23
|
||||||
|
Top = 200
|
||||||
Width = 121
|
Width = 121
|
||||||
MaxLength = 50
|
MaxLength = 50
|
||||||
OnChange = ItemChanged
|
OnChange = ItemChanged
|
||||||
TabOrder = 10
|
TabOrder = 10
|
||||||
end
|
end
|
||||||
object TitleEdit: TEdit
|
|
||||||
Left = 136
|
|
||||||
Height = 23
|
|
||||||
Top = 29
|
|
||||||
Width = 121
|
|
||||||
MaxLength = 50
|
|
||||||
OnChange = ItemChanged
|
|
||||||
TabOrder = 1
|
|
||||||
end
|
|
||||||
object CompanyEdit: TEdit
|
|
||||||
Left = 136
|
|
||||||
Height = 23
|
|
||||||
Top = 173
|
|
||||||
Width = 121
|
|
||||||
MaxLength = 50
|
|
||||||
OnChange = ItemChanged
|
|
||||||
TabOrder = 9
|
|
||||||
end
|
|
||||||
object cboxCategory: TComboBox
|
object cboxCategory: TComboBox
|
||||||
Left = 136
|
Left = 136
|
||||||
Height = 23
|
Height = 23
|
||||||
Top = 224
|
Top = 251
|
||||||
Width = 121
|
Width = 121
|
||||||
ItemHeight = 15
|
ItemHeight = 15
|
||||||
MaxLength = 65535
|
MaxLength = 65535
|
||||||
TabOrder = 11
|
TabOrder = 12
|
||||||
end
|
end
|
||||||
object cboxState: TComboBox
|
object cboxState: TComboBox
|
||||||
Left = 136
|
Left = 136
|
||||||
Height = 23
|
Height = 23
|
||||||
Top = 100
|
Top = 127
|
||||||
Width = 249
|
Width = 249
|
||||||
ItemHeight = 15
|
ItemHeight = 15
|
||||||
MaxLength = 65535
|
MaxLength = 65535
|
||||||
TabOrder = 4
|
TabOrder = 5
|
||||||
Visible = False
|
Visible = False
|
||||||
end
|
end
|
||||||
object edtCountry: TEdit
|
object edtCountry: TEdit
|
||||||
Left = 152
|
Left = 152
|
||||||
Height = 23
|
Height = 23
|
||||||
Top = 148
|
Top = 175
|
||||||
Width = 249
|
Width = 249
|
||||||
TabOrder = 8
|
TabOrder = 9
|
||||||
end
|
end
|
||||||
object cboxCountry: TComboBox
|
object cboxCountry: TComboBox
|
||||||
Left = 136
|
Left = 136
|
||||||
Height = 21
|
Height = 21
|
||||||
Top = 148
|
Top = 175
|
||||||
Width = 249
|
Width = 249
|
||||||
Font.Height = -11
|
Font.Height = -11
|
||||||
Font.Name = 'MS Sans Serif'
|
Font.Name = 'MS Sans Serif'
|
||||||
@ -247,7 +247,27 @@ object ContactEditForm: TContactEditForm
|
|||||||
MaxLength = 65535
|
MaxLength = 65535
|
||||||
OnChange = cboxCountryChange
|
OnChange = cboxCountryChange
|
||||||
ParentFont = False
|
ParentFont = False
|
||||||
TabOrder = 7
|
TabOrder = 8
|
||||||
|
end
|
||||||
|
object FirstNameEdit: TEdit
|
||||||
|
Left = 136
|
||||||
|
Height = 23
|
||||||
|
Top = 29
|
||||||
|
Width = 247
|
||||||
|
MaxLength = 100
|
||||||
|
OnChange = ItemChanged
|
||||||
|
TabOrder = 1
|
||||||
|
end
|
||||||
|
object FirstNameLbl: TLabel
|
||||||
|
Left = 8
|
||||||
|
Height = 16
|
||||||
|
Top = 31
|
||||||
|
Width = 127
|
||||||
|
Alignment = taRightJustify
|
||||||
|
AutoSize = False
|
||||||
|
Caption = 'First name'
|
||||||
|
FocusControl = FirstNameEdit
|
||||||
|
ParentColor = False
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
object tabContact: TTabSheet
|
object tabContact: TTabSheet
|
||||||
@ -456,7 +476,7 @@ object ContactEditForm: TContactEditForm
|
|||||||
object pnlBottom: TPanel
|
object pnlBottom: TPanel
|
||||||
Left = 0
|
Left = 0
|
||||||
Height = 41
|
Height = 41
|
||||||
Top = 279
|
Top = 314
|
||||||
Width = 433
|
Width = 433
|
||||||
Align = alBottom
|
Align = alBottom
|
||||||
BevelOuter = bvNone
|
BevelOuter = bvNone
|
||||||
|
@ -47,10 +47,14 @@ type
|
|||||||
{ forward declarations }
|
{ forward declarations }
|
||||||
TVpContactEditDialog = class;
|
TVpContactEditDialog = class;
|
||||||
|
|
||||||
|
{ TContactEditForm }
|
||||||
|
|
||||||
TContactEditForm = class(TForm)
|
TContactEditForm = class(TForm)
|
||||||
|
FirstNameEdit: TEdit;
|
||||||
|
FirstNameLbl: TLabel;
|
||||||
tsContacts: TPageControl;
|
tsContacts: TPageControl;
|
||||||
tabMain: TTabSheet;
|
tabMain: TTabSheet;
|
||||||
NameLbl: TLabel;
|
LastNameLbl: TLabel;
|
||||||
AddrLbl: TLabel;
|
AddrLbl: TLabel;
|
||||||
CityLbl: TLabel;
|
CityLbl: TLabel;
|
||||||
StateLbl: TLabel;
|
StateLbl: TLabel;
|
||||||
@ -59,7 +63,7 @@ type
|
|||||||
PositionLbl: TLabel;
|
PositionLbl: TLabel;
|
||||||
TitleLbl: TLabel;
|
TitleLbl: TLabel;
|
||||||
CompanyLbl: TLabel;
|
CompanyLbl: TLabel;
|
||||||
NameEdit: TEdit;
|
LastNameEdit: TEdit;
|
||||||
AddressEdit: TEdit;
|
AddressEdit: TEdit;
|
||||||
CityEdit: TEdit;
|
CityEdit: TEdit;
|
||||||
StateEdit: TEdit;
|
StateEdit: TEdit;
|
||||||
@ -176,7 +180,8 @@ begin
|
|||||||
|
|
||||||
OkBtn.Caption := RSOKBtn;
|
OkBtn.Caption := RSOKBtn;
|
||||||
CancelBtn.Caption := RSCancelBtn;
|
CancelBtn.Caption := RSCancelBtn;
|
||||||
NameLbl.Caption := RSNameLbl;
|
LastNameLbl.Caption := RSLastNameLbl;
|
||||||
|
FirstNameLbl.Caption := RSFirstNameLbl;
|
||||||
TitleLbl.Caption := RSTitleLbl;
|
TitleLbl.Caption := RSTitleLbl;
|
||||||
AddrLbl.Caption := RSAddressLbl;
|
AddrLbl.Caption := RSAddressLbl;
|
||||||
CityLbl.Caption := RSCityLbl;
|
CityLbl.Caption := RSCityLbl;
|
||||||
@ -196,7 +201,7 @@ end;
|
|||||||
|
|
||||||
procedure TContactEditForm.OKBtnClick(Sender: TObject);
|
procedure TContactEditForm.OKBtnClick(Sender: TObject);
|
||||||
begin
|
begin
|
||||||
if NameEdit.Text = '' then begin
|
if LastNameEdit.Text = '' then begin
|
||||||
raise EVpContactEditError.Create(RSNameIsRequired);
|
raise EVpContactEditError.Create(RSNameIsRequired);
|
||||||
exit;
|
exit;
|
||||||
end;
|
end;
|
||||||
@ -214,7 +219,9 @@ end;
|
|||||||
|
|
||||||
procedure TContactEditForm.DePopulateSelf;
|
procedure TContactEditForm.DePopulateSelf;
|
||||||
begin
|
begin
|
||||||
ParseName(Contact, NameEdit.Text);
|
// ParseName(Contact, LastNameEdit.Text);
|
||||||
|
Contact.LastName := LastNameEdit.Text;
|
||||||
|
Contact.FirstName := FirstNameEdit.Text;
|
||||||
Contact.Address := AddressEdit.Text;
|
Contact.Address := AddressEdit.Text;
|
||||||
Contact.City := CityEdit.Text;
|
Contact.City := CityEdit.Text;
|
||||||
if cboxState.Visible then
|
if cboxState.Visible then
|
||||||
@ -259,7 +266,8 @@ var
|
|||||||
ct: TVpCategoryType;
|
ct: TVpCategoryType;
|
||||||
|
|
||||||
begin
|
begin
|
||||||
NameEdit.Text := AssembleName(Contact);
|
LastNameEdit.Text := Contact.LastName;
|
||||||
|
FirstNameEdit.Text := Contact.FirstName; //AssembleName(Contact);
|
||||||
AddressEdit.Text := Contact.Address;
|
AddressEdit.Text := Contact.Address;
|
||||||
CityEdit.Text := Contact.City;
|
CityEdit.Text := Contact.City;
|
||||||
ZipCodeEdit.Text := Contact.Zip;
|
ZipCodeEdit.Text := Contact.Zip;
|
||||||
@ -321,13 +329,13 @@ procedure TContactEditForm.ItemChanged(Sender: TObject);
|
|||||||
begin
|
begin
|
||||||
Contact.Changed := true;
|
Contact.Changed := true;
|
||||||
|
|
||||||
{ if there is a comma in the nameedit, then it is assumed that the name is }
|
{ if there is a comma in the LastNameEdit, then it is assumed that the name is }
|
||||||
{ formatted as last, first. Since the comma & space aren't actually part of }
|
{ formatted as last, first. Since the comma & space aren't actually part of }
|
||||||
{ the name, we need to allow two extra characters in the namefield's width. }
|
{ the name, we need to allow two extra characters in the namefield's width. }
|
||||||
if Pos(',', NameEdit.Text) > 0 then
|
if Pos(',', LastNameEdit.Text) > 0 then
|
||||||
NameEdit.MaxLength := 102
|
LastNameEdit.MaxLength := 102
|
||||||
else
|
else
|
||||||
NameEdit.MaxLength := 100;
|
LastNameEdit.MaxLength := 100;
|
||||||
end;
|
end;
|
||||||
{=====}
|
{=====}
|
||||||
|
|
||||||
@ -369,7 +377,7 @@ const
|
|||||||
TopField = 8;
|
TopField = 8;
|
||||||
|
|
||||||
type
|
type
|
||||||
TLabelArray = array[0..9] of TLabel;
|
TLabelArray = array[0..10] of TLabel;
|
||||||
|
|
||||||
var
|
var
|
||||||
Labels: TLabelArray;
|
Labels: TLabelArray;
|
||||||
@ -384,16 +392,17 @@ begin
|
|||||||
{ Note: The resizing algorithm is dependent upon the labels having their
|
{ Note: The resizing algorithm is dependent upon the labels having their
|
||||||
FocusControl property set to the corresponding edit field or combobox. }
|
FocusControl property set to the corresponding edit field or combobox. }
|
||||||
|
|
||||||
Labels[0] := NameLbl;
|
Labels[0] := LastNameLbl;
|
||||||
Labels[1] := TitleLbl;
|
Labels[1] := FirstNameLbl;
|
||||||
Labels[2] := AddrLbl;
|
Labels[2] := TitleLbl;
|
||||||
Labels[3] := CityLbl;
|
Labels[3] := AddrLbl;
|
||||||
Labels[4] := StateLbl;
|
Labels[4] := CityLbl;
|
||||||
Labels[5] := ZipLbl;
|
Labels[5] := StateLbl;
|
||||||
Labels[6] := CountryLbl;
|
Labels[6] := ZipLbl;
|
||||||
Labels[7] := CompanyLbl;
|
Labels[7] := CountryLbl;
|
||||||
Labels[8] := PositionLbl;
|
Labels[8] := CompanyLbl;
|
||||||
Labels[9] := CategoryLbl;
|
Labels[9] := PositionLbl;
|
||||||
|
Labels[10] := CategoryLbl;
|
||||||
|
|
||||||
LargestLabel := 0;
|
LargestLabel := 0;
|
||||||
for i := Low(Labels) to High(Labels) do
|
for i := Low(Labels) to High(Labels) do
|
||||||
@ -403,14 +412,14 @@ begin
|
|||||||
in effect. }
|
in effect. }
|
||||||
for i := Low(Labels) to High(Labels) do begin
|
for i := Low(Labels) to High(Labels) do begin
|
||||||
Labels[i].Width := LargestLabel;
|
Labels[i].Width := LargestLabel;
|
||||||
Labels[i].FocusControl.Left := NameLbl.Left + LargestLabel + 4;
|
Labels[i].FocusControl.Left := LastNameLbl.Left + LargestLabel + 4;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
if cboxCountry.Visible then begin
|
if cboxCountry.Visible then begin
|
||||||
WidestField := 0;
|
WidestField := 0;
|
||||||
OldFont := TFont.Create;
|
OldFont := TFont.Create;
|
||||||
try
|
try
|
||||||
Canvas.Font.Assign (cboxCountry.Font);
|
Canvas.Font.Assign(cboxCountry.Font);
|
||||||
try
|
try
|
||||||
for j := 0 to cboxCountry.Items.Count - 1 do begin
|
for j := 0 to cboxCountry.Items.Count - 1 do begin
|
||||||
i := Canvas.TextWidth(cboxCountry.Items[j]);
|
i := Canvas.TextWidth(cboxCountry.Items[j]);
|
||||||
@ -575,6 +584,7 @@ begin
|
|||||||
end;
|
end;
|
||||||
ResizeControls;
|
ResizeControls;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
{=====}
|
{=====}
|
||||||
|
|
||||||
procedure TContactEditForm.cboxCountryChange(Sender: TObject);
|
procedure TContactEditForm.cboxCountryChange(Sender: TObject);
|
||||||
@ -653,7 +663,7 @@ procedure TContactEditForm.tsContactsChange(Sender: TObject);
|
|||||||
begin
|
begin
|
||||||
if Visible then
|
if Visible then
|
||||||
if tsContacts.ActivePage = tabMain then
|
if tsContacts.ActivePage = tabMain then
|
||||||
NameEdit.SetFocus
|
LastNameEdit.SetFocus
|
||||||
else if tsContacts.ActivePage = tabContact then
|
else if tsContacts.ActivePage = tabContact then
|
||||||
Phone1Edit.SetFocus
|
Phone1Edit.SetFocus
|
||||||
else if tsContacts.ActivePage = tabCustom then
|
else if tsContacts.ActivePage = tabCustom then
|
||||||
@ -666,7 +676,7 @@ end;
|
|||||||
procedure TContactEditForm.FormShow(Sender: TObject);
|
procedure TContactEditForm.FormShow(Sender: TObject);
|
||||||
begin
|
begin
|
||||||
if tsContacts.ActivePage = tabMain then
|
if tsContacts.ActivePage = tabMain then
|
||||||
NameEdit.SetFocus;
|
LastNameEdit.SetFocus;
|
||||||
end;
|
end;
|
||||||
{=====}
|
{=====}
|
||||||
|
|
||||||
|
@ -1042,7 +1042,7 @@ begin
|
|||||||
end
|
end
|
||||||
else begin
|
else begin
|
||||||
if ALevel = 0 then
|
if ALevel = 0 then
|
||||||
{ don't draw the gutter in the EventRest for level 0 events. }
|
{ don't draw the gutter in the EventRect for level 0 events. }
|
||||||
TPSTextOut(RenderCanvas, // wp: both cases are the same ?!
|
TPSTextOut(RenderCanvas, // wp: both cases are the same ?!
|
||||||
Angle,
|
Angle,
|
||||||
RenderIn,
|
RenderIn,
|
||||||
|
@ -237,30 +237,31 @@ resourcestring
|
|||||||
RSDescriptionLbl = 'Subject:';
|
RSDescriptionLbl = 'Subject:';
|
||||||
RSLocationLbl = 'Location:';
|
RSLocationLbl = 'Location:';
|
||||||
RSCategoryLbl = 'Category:';
|
RSCategoryLbl = 'Category:';
|
||||||
RSStartTimeLbl = 'Start Time:';
|
RSStartTimeLbl = 'Start time:';
|
||||||
RSEndTimeLbl = 'End Time:';
|
RSEndTimeLbl = 'End time:';
|
||||||
RSAlarmSet = '&Reminder';
|
RSAlarmSet = '&Reminder';
|
||||||
RSRecurringLbl = 'Appointment Recurrence:';
|
RSRecurringLbl = 'Appointment recurrence:';
|
||||||
RSIntervalLbl = 'Interval (days):';
|
RSIntervalLbl = 'Interval (days):';
|
||||||
RSRecurrenceEndsLbl = 'Repeat Until:';
|
RSRecurrenceEndsLbl = 'Repeat until:';
|
||||||
RSAllDayEvent = '&All Day Event';
|
RSAllDayEvent = '&All Day Event';
|
||||||
RSNotesLbl = 'Notes:';
|
RSNotesLbl = 'Notes:';
|
||||||
|
|
||||||
{ Contact Edit Dialog Captions }
|
{ Contact Edit Dialog Captions }
|
||||||
RSDlgContactEdit = 'Contact';
|
RSDlgContactEdit = 'Contact';
|
||||||
RSNameLbl = 'Name:';
|
RSLastNameLbl = 'Last name:';
|
||||||
|
RSFirstNameLbl = 'First name:';
|
||||||
RSTitleLbl = 'Title:';
|
RSTitleLbl = 'Title:';
|
||||||
RSAddressLbl = 'Address:';
|
RSAddressLbl = 'Address:';
|
||||||
RSCityLbl = 'City:';
|
RSCityLbl = 'City:';
|
||||||
RSStateLbl = 'State:';
|
RSStateLbl = 'State:';
|
||||||
RSCountryLbl = 'Country:';
|
RSCountryLbl = 'Country:';
|
||||||
RSZipCodeLbl = 'Zip Code:';
|
RSZipCodeLbl = 'Zip code:';
|
||||||
RSCompanyLbl = 'Company:';
|
RSCompanyLbl = 'Company:';
|
||||||
RSPositionLbl = 'Position:';
|
RSPositionLbl = 'Position:';
|
||||||
RSMasterData = 'Master data';
|
RSMasterData = 'Master data';
|
||||||
|
|
||||||
{ Print Preview dialog captions }
|
{ Print Preview dialog captions }
|
||||||
RSDlgPrintPreview = 'Print Preview';
|
RSDlgPrintPreview = 'Print preview';
|
||||||
|
|
||||||
{ Task Edit Dialog Captions }
|
{ Task Edit Dialog Captions }
|
||||||
RSDlgTaskEdit = 'Task';
|
RSDlgTaskEdit = 'Task';
|
||||||
|
Reference in New Issue
Block a user