...remove the single line border around a combobox?

Author: Roland Heuger
Homepage: www.jacrol.de

Category: VCL

procedure TForm1.FormCreate(Sender: TObject);
begin
  
SetWindowRgn(ComboBox1.Handle, CreateRectRgn(2,2,ComboBox1.Width - 2,
               ComboBox1.Height - 2), True)
end;

 

printed from
www.swissdelphicenter.ch
developers knowledge base