[Lazarus] Mac OS X : ListView Icon view does not appear to work...

dmitry boyarintsev skalogryz.lists at gmail.com
Wed Feb 4 15:36:27 CET 2009


Hello, Dominique.

I'm quite agree with you, that lvIcon-style interface is widely used
by Mac OS X. But unfortunately, the API for using such Icon-style
controls is not available at Carbon. If you are aware of any kind of
such controls in the Carbon Lib please let me know.

LCL ListView is based on Carbon Data Browser control:
http://developer.apple.com/documentation/Carbon/Conceptual/display_databrowser/databrowser_intro/chapter_1_section_1.html
It's designed table-view only. There's no way to switch the data
browser to the Icon-like mode

So, there're three solutions, that I can think of:
1st) to create custom "special control", that would behave like
Icon-style Finder.
2nd) there's an Icon-style control at the Carbon lib I'm not aware of.
3d) AFAIK, Finder is Cocoa application (starting from OSX 10.4). So
it's highly probable, that Icon-like controls are available using
Cocoa API. So it's possible to implement lvIcon mode using Cocoa
controls.

Thanks,
Dmitry



More information about the Lazarus mailing list