How to place images in a Combo Box

Tutorials Shared by the Internet Community

Advertisements


Synopsis

This is done by means of using the ownerdraw style of the combo box provided in the VCL.

Statistics

  • Total Hits - 16586

  • Total Votes - 100 votes

  • Vote Up - 43 votes

  • Vote Down - 57 votes

  • Domain - www.delphi-central.com

  • Category - Delphi/Image Processing

  • Submitted By - Shekhar

  • Submitted on - 2008-04-16 06:32:18

Description

This is done by means of using the ownerdraw style of the combo box provided in the VCL. The two different style properties of the TComboBox that we are interested in are:

csOwnerDrawFixed - Use this when all bitmaps have the same height
csOwnerDrawVariable - Use this when the bitmaps have different heights ...


Site  |   Broken  |   Tweet  |   Facebook  |     |   Save  |   Liked  |   Down

Advertisements