Two dropdown buttons appear with Inherited UI


Author
Message
Andria Jensen
Andria Jensen
StrataFrame User (428 reputation)StrataFrame User (428 reputation)StrataFrame User (428 reputation)StrataFrame User (428 reputation)StrataFrame User (428 reputation)StrataFrame User (428 reputation)StrataFrame User (428 reputation)StrataFrame User (428 reputation)StrataFrame User (428 reputation)
Group: Forum Members
Posts: 336, Visits: 497
I am putting a DateEdit field on my form at runtime and binding it to a business object using the following code:

Dim fldDate As New DateEdit
Dim itemDate As
LayoutControlItem

fldDate.BusinessObject = Me
fldDate.BindingField = "Date"
itemDate = LayoutGroup.AddItem(New LayoutControlItem, Utils.InsertType.Bottom)itemDate.Text =
"Date:"
itemDate.Control = fldDate

When I use this it gives me the correct result except that two buttons appear instead of one.  This is a result of something in the Inherited UI, because I can replace the Inherited DateEdit with a straight DevExpress DateEdit and I have no problems.  But I need the data bound to a business object, so I need to be able to use the Inherited control.  Any ideas or is this a bug?

 


StrataFrame Team
S
StrataFrame Developer (4.5K reputation)StrataFrame Developer (4.5K reputation)StrataFrame Developer (4.5K reputation)StrataFrame Developer (4.5K reputation)StrataFrame Developer (4.5K reputation)StrataFrame Developer (4.5K reputation)StrataFrame Developer (4.5K reputation)StrataFrame Developer (4.5K reputation)StrataFrame Developer (4.5K reputation)
Group: StrataFrame Developers
Posts: 3K, Visits: 2.5K
Two buttons appear within the DateEdit control?  As in two drop-down buttons?
Andria Jensen
Andria Jensen
StrataFrame User (428 reputation)StrataFrame User (428 reputation)StrataFrame User (428 reputation)StrataFrame User (428 reputation)StrataFrame User (428 reputation)StrataFrame User (428 reputation)StrataFrame User (428 reputation)StrataFrame User (428 reputation)StrataFrame User (428 reputation)
Group: Forum Members
Posts: 336, Visits: 497
Yep, two dropdown buttons...I thought it was strange too.  I cleared out the Properties.Buttons and then added a new one and it was fine.  Somehow two buttons are added.  I can send you a screenshot if you'd like.
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search