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



Combobox - blank itemsExpand / Collapse
Author
Message
Posted 12/05/2006 9:51:20 AM


StrataFrame Beginner

StrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame Beginner

Group: StrataFrame Users
Last Login: 07/22/2008 11:48:33 AM
Posts: 23, Visits: 129
Hello StrataFramers!

I have a Strata-combobox on my form bound to a secondary business object. It looks like it's being populated because it has an item count of 14 at runtime. However, nothing is displayed in the list except the TopMostItem. The Value property changes with the primary BO, yet nothing is displayed.

My table has two fields: CategoryID int32, and Description string

Here are the properties I set:

PopulationDataSourceSettings:
Business Object Type: CategoryBO // the secondary business object
Method to Execute: Populate() // the method that fills the table
Display Member: {0} - Description
Value Member: CategoryID
PopulationType: BusinessObject

If the answer is obvious, I'll spare you the rest of the details.

Thanks!

____________________
Programmer/Analyst
Captain D's, LLC

Post #4947
Posted 12/05/2006 9:57:37 AM


StrataFrame Developer

StrataFrame Developer

Group: StrataFrame Developers
Last Login: Yesterday @ 1:09:23 PM
Posts: 2,686, Visits: 1,888
Is the combo box disabled?  Or is it enabled and when you open the dropdown, only the TopMostItem is visible?


www.bungie.net
Post #4948
Posted 12/05/2006 11:20:49 AM


StrataFrame Beginner

StrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame Beginner

Group: StrataFrame Users
Last Login: 07/22/2008 11:48:33 AM
Posts: 23, Visits: 129
The box is enabled when you go in edit mode and the selection "looks" like it's changing with the record. In other words, one record, the highlight will be two spaces down in the list and the next, the highlight is 8 spaces.

____________________
Programmer/Analyst
Captain D's, LLC

Post #4949
Posted 12/05/2006 11:24:12 AM


StrataFrame Developer

StrataFrame Developer

Group: StrataFrame Developers
Last Login: Yesterday @ 1:09:23 PM
Posts: 2,686, Visits: 1,888
Did you place anything in the "Display Member Format String" field?  You'll have to put {0} if you want it to be replaced by that first field... the format string field is used for if you have more than one field you want to show... say you have a {0} and a {1}, then you can create a string like this "{1}, {0}" for the format string.


www.bungie.net
Post #4951
Posted 12/05/2006 11:28:02 AM


StrataFrame Beginner

StrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame Beginner

Group: StrataFrame Users
Last Login: 07/22/2008 11:48:33 AM
Posts: 23, Visits: 129
That's it. I didn't put anything there, assuming that with one item this option would be automatic.

Thanks!!

____________________
Programmer/Analyst
Captain D's, LLC

Post #4952
Posted 12/05/2006 11:35:35 AM


StrataFrame Developer

StrataFrame Developer

Group: StrataFrame Developers
Last Login: Yesterday @ 1:09:23 PM
Posts: 2,686, Visits: 1,888
No problem


www.bungie.net
Post #4955
« 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 10:58am

Powered by InstantForum.NET v4.1.4 © 2008
Execution: 0.234. 9 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.