Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Using the Lazarus IDE
»
General
»
These 'raise' messages do not look nice
Free Pascal
Website
Downloads
Wiki
Bugtracker
Mailing List
Lazarus
Website
Downloads (Laz+FPC)
Packages (OPM)
FAQ
Wiki
Bugtracker
CCR Bugs
IRC channel
GIT
Mailing List
Other languages
Foundation
Website
Useful Wiki Links
Project Roadmap
Getting the Source
Screenshots
How to use the forum
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
Search
Advanced search
Recent
Can't create new LAMW Pro...
by
Sirius Black
[May 16, 2022, 11:59:16 pm]
Dark mode class...
by
Wallaby
[May 16, 2022, 11:51:29 pm]
laztoapk 0.9.0.43 is avai...
by
jmpessoa
[May 16, 2022, 10:49:12 pm]
Validating user input
by
dukester
[May 16, 2022, 10:43:46 pm]
about sqldb postgresql LO...
by
Red_prig
[May 16, 2022, 09:00:58 pm]
increment filename if exi...
by
Josh
[May 16, 2022, 08:34:47 pm]
install problem in Pas2J...
by
arirod
[May 16, 2022, 07:29:33 pm]
Command line compilation ...
by
marcov
[May 16, 2022, 06:21:54 pm]
LAMW - "This app has a bu...
by
Agmcz
[May 16, 2022, 06:15:40 pm]
Build lazarus and fpc in ...
by
MarkMLl
[May 16, 2022, 04:32:59 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: These 'raise' messages do not look nice (Read 934 times)
AlexTP
Hero Member
Posts: 1761
These 'raise' messages do not look nice
«
on:
January 23, 2022, 08:12:37 pm »
lcl/include/treeview.inc
Code: Pascal
[Select]
[+]
[-]
TreeNodeError
(
'TTreeNodes.GetSelections Index '
+
IntToStr
(
AIndex
)
+
' out of bounds (Count='
+
IntToStr
(
FSelection
.
Count
)
+
')'
)
;
TreeNodeError
(
'TTreeNodes.GetNodeFromIndex Index '
+
IntToStr
(
Index
)
+
' out of bounds (Count='
+
IntToStr
(
FCount
)
+
')'
)
;
TreeViewError
(
'TTreeStrings.Add: Invalid level, Level='
+
IntToStr
(
Level
)
+
' OldLevel='
+
IntToStr
(
OldLevel
)
)
;
TreeViewError
(
'TTreeStrings.Add: Invalid level, Node=nil I='
+
IntToStr
(
I
)
+
' Level='
+
IntToStr
(
Level
)
)
;
else
TreeViewError
(
'TTreeStrings.LoadTreeFromStream: Level='
+
IntToStr
(
ALevel
)
+
' CuurStr="'
+
CurrStr
+
'"'
)
;
I suggest to use Format() here.
Logged
CudaText editor
-
ATSynEdit
-
More from me
Bart
Hero Member
Posts: 4689
Re: These 'raise' messages do not look nice
«
Reply #1 on:
January 23, 2022, 09:14:58 pm »
Can you open a bugreport and add a patch?
It also strikes me that the messages are hardcoded (so not translatable).
Bart
Logged
AlexTP
Hero Member
Posts: 1761
Re: These 'raise' messages do not look nice
«
Reply #2 on:
January 23, 2022, 09:29:45 pm »
Created the
bug report
.
[Edited to add bug link.]
«
Last Edit: January 24, 2022, 12:18:49 am by trev
»
Logged
CudaText editor
-
ATSynEdit
-
More from me
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Using the Lazarus IDE
»
General
»
These 'raise' messages do not look nice
TinyPortal
© 2005-2018