StrataFrame Forum
Back
Login
Login
Home
»
StrataFrame Application Framework - V1
»
WinForms (How do I?)
»
ComboBox created at runtime not populating
ComboBox created at runtime not populating
Post Reply
Like
0
ComboBox created at runtime not populating
View
Flat Ascending
Flat Descending
Threaded
Options
Subscribe to topic
Print This Topic
RSS Feed
Goto Topics Forum
Author
Message
Andria Jensen
Andria Jensen
posted 19 Years Ago
ANSWER
Topic Details
Share Topic
Group: Forum Members
Posts: 336,
Visits: 497
I am trying to create several controls for a dynamic form, one of which is a DevEx ComboBox. I have the following code which puts the combo box on the form, but doesn't populate with any data. The TextEdit I created before it works exactly as I would like for it to. What am I missing here?
Dim
fldIncrement
As
New
DevEx.TextEdit
Dim
cboCurrency
As
New
DevEx.ComboBoxEdit
Dim
PopSettings
As
New
MicroFour.StrataFrame.UI.ListViewPopulationSettings
fldIncrement.BusinessObject =
Me
fldIncrement.BindingField =
"FloatIncr"
With
cboCurrency
.BusinessObject =
Me
.BindingField =
"CurrencyType"
.BusinessObjectEvaluated =
True
PopSettings.BusinessObjectType =
"BBS.Biz.ChkSourceBO"
PopSettings.DisplayFieldNames.Add(
"CurrencyType"
)
PopSettings.FormatString =
"{0}"
PopSettings.MethodToExecute =
"FillAll;"
PopSettings.ValueMember =
"CurrencyType"
.
PopulationDataSourceSettings = PopSettings
.PopulationType = MicroFour.StrataFrame.UI.ListPopulationType.BusinessObject
End
With
Reply
Like
0
GO
Merge Selected
Merge into selected topic...
Merge into merge target...
Merge into a specific topic ID...
Open Merge
Threaded View
Threaded View
ComboBox created at runtime not populating
Andria Jensen
-
19 Years Ago
Call the cboCurrency.Requery() method for population.
Steve L. Taylor
-
19 Years Ago
Andria, I agree with Steve, it looks like you are just missing the...
Trent L. Taylor
-
19 Years Ago
Post Reply
Like
0
Similar Topics
Post Quoted Reply
Reading This Topic
Login
Login
Remember Me
Reset Password
Resend Validation Email
Login
Explore
Messages
Mentions
Search