• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 590
  • Last Modified:

TComboBox control WITHOUT BORDER?

How to create a TComboBox control WITHOUT BORDER?
I want it looks like a TEdit with BorderStyle=bsNone and with varied height and width.

Thanks.
0
luckybat
Asked:
luckybat
1 Solution
 
bugrogerCommented:
if you want to change the height of the combo box you must
use the itemheight property
0
 
ITugayCommented:
Hi luckybat,
just put combobox inside TPanel without border.
TCombobox:
  Left=-2
  Top=-2
then change TPanel size to hide bottom and right borders of TCombobox.

----
Igor
0
 
luckybatAuthor Commented:
Thank you!

In fact I want to have an Editor as TInplaceEdit in a Grid.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now