Hello
How can I place the DropDown of the UltraPopUpControlContainer just below a UltraComboEditor? That is, the TopLeft corner of the dropdown to be just below the BottomLeft corner of the Combo, with a width equal to the combo's width.
Thanks a lot.
Thanks! It worked fine.
At Design Time I set the DropDownButtonDisplayStyle property of the combo to Infragistics.Win.ButtonDisplayStyle.Never, and then added a right DropDownEditorButton as suggested.
I used the following Sub in order to place the dropdown at the BottomLeft corner of the combo:
Private Sub MyCombo_EditorButtonClick(ByVal sender As Object, ByVal e As Infragistics.Win.UltraWinEditors.EditorButtonEventArgs) Handles MyCombo.EditorButtonClick
Dim objPT As New Point
With MyCombo objPT.X = .Left objPT.Y = .Bottom End With
' Use this to get a squared dropdown UltraPopupControlContainer1.PreferredDropDownSize = New Size(MyCombo.Width, MyCombo.Width)
' This will display the dropdown at the Bottom-Left corner of the Combo UltraPopupControlContainer1.Show(PointToScreen(objPT))
End Sub
UltraPopupControlContainer has no interaction with UltraComboEditor. But if you want the UltraComboEditor to drop down a control, just use a DropDownEditorButton in the ButtonRight or ButtonsLeft collection.