开发者

Delphi: Combobox whith ownerdraw and autocomplete

开发者 https://www.devze.com 2023-02-16 12:04 出处:网络
I\'m trying to have a combobox working like the \"Category\" one you can find in MS Money: Items are :

I'm trying to have a combobox working like the "Category" one you can find in MS Money:

Items are :

Item 1
   - Sub item 1
   - Sub item 2
Item 2
   - S开发者_Python百科ub item a
   - Sub item b
   - ...

When you select Sub item 1, it shows: "Item 1 : Sub item 1"

I manage to do that with OwnerDraw style, but then the combobox is in read-only. I want to be able to add custom items.

Does someone know how to do that ? (Or a third party component)


Your question is confusing but I suggest you to explore the opensource Monex project.

It seems to uses some components implementing similar features.

0

精彩评论

暂无评论...
验证码 换一张
取 消