[Lazarus] Dropdown File list in Source Editor

Felipe Monteiro de Carvalho felipemonteiro.carvalho at gmail.com
Mon Mar 19 20:21:26 CET 2012


On Mon, Mar 19, 2012 at 7:52 PM, Giuliano Colla
<giuliano.colla at fastwebnet.it> wrote:
> I was musing on the need to implement CD OpenFile/OpenDirectory dialogs.

My plan is to have various dialog options:

1->Generic open/save/sel dir dialogs for mobile applications in the
unit lazdialogs.pas (those are finished from what I remember). That
would be utilized in Windows CE.
2->Native dialogs for Android, iPhone, Windows and Mac OS X
3->Generic open/save/sel dir dialogs for desktop applications in the
unit lazdialogs.pas (not yet written). That would be utilized in X11
which has no native dialogs

> Could we take advantage of VirtualTreeView?

No, because:

1->The codebase of Virtual* controls is a huge mess. They are not fit
for inclusion in the CD controls which are very clean and compact
2->AFAIK we don't need TCDTreeView. TTreeView is custom drawn by
design in the LCL =) It would be like writting TCDImage. It makes no
sense because TImage already works automagically without any extra
effort in LCL-CustomDrawn because it is TCustomControl based. I
haven't yet tested to see if TTreeView works or what is missing.

The hardest controls missing are TCDListView, TCDStringGrid and Menus.

-- 
Felipe Monteiro de Carvalho




More information about the Lazarus mailing list