Board index » delphi » Listbox with horizontal scroll bar

Listbox with horizontal scroll bar

Could anyone tell me how (if possible) do you put
a horizontal scroll bar on a listbox?

Ken

 

Re:Listbox with horizontal scroll bar


Quote
Ken wrote:

> Could anyone tell me how (if possible) do you put
> a horizontal scroll bar on a listbox?

> Ken

procedure Form1.FormActivate(Sender : tObject);
begin
  SendMessage(ListBox1.Handle, LB_SetHorizontalExtent, 1000, longint(0));
end;

[From: Borland Delphi How-To, Gary Frerking et al, Waite Group Press]

Other Threads