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



combobox questionExpand / Collapse
Author
Message
Posted 05/16/2008 9:36:10 AM
StrataFrame Beginner

StrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame Beginner

Group: StrataFrame Users
Last Login: 07/21/2008 12:52:38 PM
Posts: 36, Visits: 105
Using a SF Maintenance form with a business object. Dragged a SF ComboBox to the form. The BusinessObject property was already set, I just set the BindingField property to the column name in the business object. When displaying the form, the combo does not display the data. A textbox does. What other property is required.
Post #16403
Posted 05/16/2008 10:10:43 AM


Advanced StrataFrame User

Advanced StrataFrame UserAdvanced StrataFrame UserAdvanced StrataFrame UserAdvanced StrataFrame UserAdvanced StrataFrame UserAdvanced StrataFrame UserAdvanced StrataFrame UserAdvanced StrataFrame User

Group: StrataFrame Users
Last Login: Today @ 7:52:14 PM
Posts: 597, Visits: 13,834
PopulationDataSourceSettings, PopulationType, Columns, BusinessObject - they will get you started
Post #16405
Posted 05/16/2008 10:16:51 AM


StrataFrame Developer

StrataFrame Developer

Group: StrataFrame Developers
Last Login: Today @ 2:43:51 PM
Posts: 4,241, Visits: 4,285
Well, you need to populate the combo and change the way the combo binds depending on your needs.  If you are using a combo as a DropDown, then you can type in the field and you will want to change the BindingProperty to Text instead of SelectedValue.  If you are using it as a DropDownList, then you will want to use Keith's suggestion and use the PopulationDataSourceSettings (or manually load the combo, whichever), populate with an Enum, or whataver avenue you want to travel.  If you use Enum or BusinessObject population of the combo, then the SelectedValue will hold the value to which you will want to bind (in most cases).  I recommend looking at the help or some of the samples...this is a very common task that is used a lot so there are lots of posts and samples on this topic.
Post #16406
« 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 8:04pm

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