Putting controls on a page at runtime
Q: Hi, I need to create a component at runtime and ‘drop’ it on a certain page of a multipage TNotebook – how…
ListView Background Bitmap
Mike Orriss (TeamB) wrote in message news: VA.00000e12.00b01e3c@mikedesk… > In article , Daniel Gothe wrote: > > When I then add items to…
ListView OnCustomDrawSubItem
Richard Sutcliffe wrote: > Can anyone show me how I can get OnCustomDrawSubItem to work? I have a > standard report style TListView…
ListView OwnerDraw (D3)
Just for anyone else who might be attempting this: 1. Override the CreateParams() method in your TCustomListView descendent, and set: [code lang=”delphi”]Params.Style :=…
ListView: OwnerDraw of Headers
Von: Damon Chandler Betreff: Re: TListView Headers Datum: Montag, 12. April 1999 07:38 Sebastian, Whay you need first is a handle to the…
Add Icons to FNPListBox
[code lang=”delphi”]procedure TForm1.FnpListBox1DrawCell(Sender: TObject; Index, Col: Integer; Rect: TRect; State: TOwnerDrawState); Var intIcon : Integer; TheName : String; NewBitmap : TBitmap; begin If…
Add Icons To ListBox
[code lang=”delphi”]procedure TForm1.Button1Click(Sender: TSender); var Icon: TIcon; begin Icon := TIcon.Create; Icon.LoadFromFile(‘ORANGE.ICO’); ListBox1.Items.AddObject(‘Orange’, Icon); end;[/code] [tags]Delphi, Components, ListBox[/tags]
Create Editable ListBox
NOTE : This will also work with an OwnerDraw ListBox But be sure you “pad” the Left Property of the Edit so Any…
Horizontal Scrollbar
ListBox with a horizontal Scrollbar? Yes, it’s possible: [code lang=”delphi”] SendMessage(ListBox1.handle, LB_SETHORIZONTALEXTENT, ItemWidth, 0); [/code] Also look at the component called LongList on…
ComboBox fires “KeyPressed” twice – fix
1. TComboBox.OnKeyPress is fired TWICE if style is not csDropDown or csSimple. Just drop a Combo and a Label. In the Combo OnKeyPress…