StrataFrame Forum
Home      Members   Calendar   Who's On
Welcome Guest ( Login | Register )
      



Two dropdown buttons appear with Inherited UI...Expand / Collapse
Author
Message
Posted 06/20/2006 4:26:16 PM


StrataFrame User

StrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame User

Group: StrataFrame Users
Last Login: 08/21/2008 11:49:01 AM
Posts: 303, Visits: 435
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?

 

Post #1605
Posted 06/20/2006 5:04:15 PM


StrataFrame Developer

StrataFrame Developer

Group: StrataFrame Developers
Last Login: Yesterday @ 5:02:56 PM
Posts: 2,682, Visits: 1,882
Two buttons appear within the DateEdit control?  As in two drop-down buttons?


www.bungie.net
Post #1606
Posted 06/20/2006 6:03:16 PM


StrataFrame User

StrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame User

Group: StrataFrame Users
Last Login: 08/21/2008 11:49:01 AM
Posts: 303, Visits: 435
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.
Post #1607
« Prev Topic | Next Topic »


Reading This TopicExpand / Collapse
Active Users: 0 (0 guests, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: Ben Chase, Trent L. Taylor, Steve L. Taylor

PermissionsExpand / Collapse

All times are GMT -6:00, Time now is 7:39pm

Powered by InstantForum.NET v4.1.4 © 2008
Execution: 0.125. 10 queries. Compression Enabled.
Site Map - Home - My Account - Forum - About Us - Contact Us - Try It - Buy It

Microsoft, Visual Studio, and the Visual Studio logo are trademarks or registered trademarks of Microsoft Corporation in the United States and/or other countries.