I have a scenario where the UI looks like this:
[textbox] [textbox] [textbox] [ultracombo]
I am using the ultracombo which has 3 columns. When a user selects a row, I fill out the textboxes.
Is there a way to only show the "down arrow" for the combobox or a button which opens up the combo box?
My current workaround is to resize the ultracombo to only show the down arrow, but then the position where the dropdown displays is off
Hi,
There's no way to remove the text portion of the Combo. What you are doing, sizing the control so that only the button shows up, is probably the best way to do what you want here.
In addition, you probably also want to set the DropDownStyle on the Combo to DropDownList. This way, it will never allow the user to edit the text.
Another option might be to use a different control, like UltraDropDownButton with a PopupControlContainer. Basically, this would give you the ability to have a button that drops down any control you want. In this cause, you could use a WinGrid.
Ok, thanks.
Is it possible to change the dropdown arrow to a different image? I am thinking if I can change it to something like a lookup icon, then it would be good enough.
TB_2563 said:Is it possible to change the dropdown arrow to a different image? I am thinking if I can change it to something like a lookup icon, then it would be good enough.
There's no property for this. You could do it using a DrawFilter to override the drawing of the image and draw your own. But it sounds more and more like you really want to use an UltraDropDownButton rather than an UltraCombo.