Recent

Author Topic: ComboBox with additional buttons  (Read 2364 times)

wOvAN

  • New Member
  • *
  • Posts: 47
    • wxSoft.Ru
ComboBox with additional buttons
« on: January 08, 2010, 03:41:51 pm »
Hello, I try to create a ComboBox with some additional buttons inside.

For ex. Code like this works.

with TButton.Create(ComboBox1) do
begin
  Parent:=ComboBox1;
  Align:=[alLeft];
end;

But how to set text area's size and adjust button position. To get other combo dimentions. I get very confused about that widgetset implemetation.

Could anyone help with this?

Nathan Campos

  • New member
  • *
  • Posts: 7
    • Dream in Tech
Re: ComboBox with additional buttons
« Reply #1 on: January 08, 2010, 03:51:38 pm »
Remember to put the code tags:
Code: [Select]
with TButton.Create(ComboBox1) do
begin
  Parent:=ComboBox1;
  Align:=[alLeft];
end;

 

TinyPortal © 2005-2018