Hello,
Am I correctly guessing that TTreeView is not based on platform native implementation?
Thank
Mailing lists / lazarus / 2013-03
TTreeView question
12 messages · 7 people · –
- MMattias Gaertner 3
- FFlávio Etrusco 2
- LLubos Pintes 2
- Zzeljko 2
- FFelipe Monteiro de Carvalho 1
- JJuha Manninen 1
- +1 more
Reply by email Subscribe to this list Your subscription
Read-only archive. Use j and k to move between messages.
Lubos Pintes wrote 5 lines
TTreeView is based on platform/widgetset native implementation.
-Fl?vio
There is a list of this here, thought it doesn't fully specify the case of TTreeView:
http://wiki.lazarus.freepascal.org/Roadmap#Status_of_TCustomControl_based_controls_on_each_widgetset
Am I correctly guessing that TTreeView is not based on platform native implementation?…
Show quoted text 6 lines
Its logic is platform independent. It uses the LCL theme drawing functions and colors.
Some native widgets have some nice features, but have often problems with more than a few thousands items.
Mattias
TTreeView is based on platform/widgetset native implementation. -Fl?vio
Show quoted text 12 lines
No. Why do you think so?
Mattias
There is a list of this here, thought it doesn't fully specify the case of TTreeView:…
Interesting. On Windows it behaves like something custom drawn. The screen reader only sees display text, there is no feedback about nodes like collapsed/expanded etc.
So I will try to figure out why...
D?a 28. 3. 2013 14:44 Felipe Monteiro de Carvalho wrote / nap?sal(a):
Show quoted text 5 lines
Am I correctly guessing that TTreeView is not based on platform native implementation?…
Lubos Pintes wroteHello, Am I correctly guessing that TTreeView is not based on platform native implementation? Thank
No, it's not. LCL implementation takes TCustomControl from widgetset and draws/handles it on it's own.
There was some plans to make it so, but no spare time since it's an huge task.
z.
No. Why do you think so? Mattias
Mattias Gaertner wrote 17 lines
Oops, my apologies then. Last time I saw at least the Win32 implementation was basically a wrapper around ComCtrl32 implementation...
-Fl?vio
Fl?vio Etrusco wroteOops, my apologies then. Last time I saw at least the Win32 implementation was basically a wrapper around ComCtrl32 implementation...
That is in Delphi.
Juha
Its logic is platform independent. It uses the LCL theme drawing functions and colors.…
Mattias Gaertner wrote 5 lines
Do they still in windows versions that will be supported longer than an year from now, or is that old story?
Show quoted text 9 lines
I don't know about windows. The gtk trees had problems.
Mattias
Mattias Gaertner wrote 14 lines
But it was problem with gtk1, not gtk2 afair.
Anyway it is better to keep LCL treeview implementation since it's much faster eg. lcl treeview is x10 faster than QTreeView (qt native treeview) with few thousand items.
z.
