Board index » delphi » ListBox / ComboBox with horizontal Scrollbar

ListBox / ComboBox with horizontal Scrollbar

Is there a way to get a ListBox/ComboBox with a horizontal scrollbar if the
entries are longer then the width of the box can show?

Stefan

 

Re:ListBox / ComboBox with horizontal Scrollbar


Hi,

There is something on that issue on The Delphi Nerds' Playground:

http://www2.dk-online.dk/users/henning_kaas

Good luck!

--------------------------

Quote
Stefan.West...@stud.uni-bamberg.de (Stefan Westner) wrote:
>Is there a way to get a ListBox/ComboBox with a horizontal scrollbar if the
>entries are longer then the width of the box can show?
>Stefan

|==============================================================|
|      _/       _/     _/ _/_/     _/    _/ _/_/_/_/ _/    _/  |
|     _/       _/_/  _// _/  _/   _/    _/ _/       _/  _/     |
|    _/       _/  _/ _/ _/    _/ _/_/_/_/ _/_/_/   _/_/        |
|   _/       _/     _/ _/   _/  _/    _/ _/       _/  _/       |
|  _/_/_/_/ _/     _/ _/_/_/   _/    _/ _/_/_/_/ _/    _/      |
|______________________________________________________________|
|                                                              |
| Name:     Henning Kaas                                       |
| Company:  L. M. Ericsson A/S                                 |
| Phone:    +45 3388 3935                                      |
| Homepage: http://www.dk-online.dk/users/henning_kaas         |
| E-mail:   lmd...@lmd.ericsson.se                             |
|==============================================================|

Re:ListBox / ComboBox with horizontal Scrollbar


Quote
Stefan Westner (Stefan.West...@stud.uni-bamberg.de) wrote:

: Is there a way to get a ListBox/ComboBox with a horizontal scrollbar if the
: entries are longer then the width of the box can show?

: Stefan

In the book _Delphi Developer's Guide_ an example of how to extend
components does exactly what you are asking.  I highly recommend this book
which is widely available.

It's Borland orange, not to be confused with _Delphi, A Developer's Guide_,
a good but different book.

--
Ray Hildreth  
Greater Columbus Free-Net
rh...@freenet.columbus.oh.us

Other Threads