PDA

View Full Version : ... button and edit box combo control



masonwheeler
12-04-2008, 09:13 PM
The Delphi form designer uses an interesting control for properties too complex to be efficiently edited with standard property lists: it has what appears to be a normal TEdit linked to a button whose caption is '...'. Pressing this button brings up a custom property editor.

I've seen this TEdit-and-...-button combo in other programs too, used for similar purposes, but I can't find it in the tool palette. I think I must be overlooking it somewhere. What's it called and how do I access it?

WILL
13-04-2008, 05:09 AM
Hmm... that sounds a lot like just a TEdit, TButton and a dialog box of some kind all dropped and coded together...?

Got a screenshot?

KidPaddle
13-04-2008, 05:50 AM
JVCL contains this edit control.

Regards
Thomas

Huehnerschaender
13-04-2008, 08:08 AM
You did not find it because it is no standard control.

If you want to just use it, you can eg use JVCL or RxControls.

If you want to make your own, you should take a look at how a combobox is coded. Its nothing else than a TEdit, a TButton and a TListbox in one class.