Recent

Author Topic: AppList-like via Ownerdraw listbox.  (Read 3269 times)

Hydexon

  • Full Member
  • ***
  • Posts: 166
AppList-like via Ownerdraw listbox.
« on: January 06, 2013, 01:46:24 am »
Hello, someone can help me?, i need to create an OwnerDrawed ListBox like the attached image

Only i implemented to draw the left icon,but i want to put subtext like the image and some buttons (at least 3)?

Maybe i can release an new component....
Lazarus 1.0.4 Stable - FPC 2.6.0 - gtk2 | Linux Mint 14 Nadia | GNOME Shell 3.6.2 - Awesome | Intel x86 | HP Mini 1020-LA Netbook (old)
Lazarus 2.0.2 Stable - FPC 3.0.2 - Windows | Lenovo IdeaPad Y

CaptBill

  • Sr. Member
  • ****
  • Posts: 435
Re: AppList-like via Ownerdraw listbox.
« Reply #1 on: January 06, 2013, 02:38:20 am »
This would be an excellent compound component idea. What you are dealing with is painting a panel in a uniform fashion, looping it over a datasource. Sounds like ownerdrawn is the right idea, would think. What do you need help with particularly?

If you want ideas you should take a look a Woll2Woll Infopower (Delphi component suite). This is the most successful 'component pack' ever created for Delphi. Look at it for ideas/inspiration.

http://www.woll2woll.net/OverviewInfoPowerGridEssentialsDoc.html

And specifically...
http://www.woll2woll.com/OverviewOpenGrid.html
« Last Edit: January 06, 2013, 02:43:11 am by CaptBill »

Hydexon

  • Full Member
  • ***
  • Posts: 166
Re: AppList-like via Ownerdraw listbox.
« Reply #2 on: January 06, 2013, 03:38:21 am »
Just put the subtext in the bottom of the title, and the set of buttons in the right, just that.

and maybe can release an data-aware component, but just need this
Lazarus 1.0.4 Stable - FPC 2.6.0 - gtk2 | Linux Mint 14 Nadia | GNOME Shell 3.6.2 - Awesome | Intel x86 | HP Mini 1020-LA Netbook (old)
Lazarus 2.0.2 Stable - FPC 3.0.2 - Windows | Lenovo IdeaPad Y

 

TinyPortal © 2005-2018