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
After upgrade to Laz 2.2....
by
Gald
[
Today
at 04:23:33 am]
Read JSON names
by
Gustavo 'Gus' Carreno
[
Today
at 02:59:42 am]
How to show TForm from Qt...
by
dbannon
[
Today
at 02:49:46 am]
TListView and OwnerData
by
dbannon
[
Today
at 02:29:33 am]
Incorrect code in /fonten...
by
dbannon
[
Today
at 02:13:42 am]
Wiki: переводы статей
by
AlexTP
[May 24, 2022, 11:15:40 pm]
Temas de colores para laz...
by
miguelfloress
[May 24, 2022, 10:10:08 pm]
How to determine the colo...
by
Seenkao
[May 24, 2022, 09:26:19 pm]
Does anybody have CPU usa...
by
pascalbythree
[May 24, 2022, 08:53:25 pm]
Raylib4.0 don't work eith...
by
lestroso
[May 24, 2022, 08:02:51 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: These 'raise' messages do not look nice (Read 945 times)
AlexTP
Hero Member
Posts: 1772
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: 1772
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