StrataFrame Forum
Back
Login
Login
Home
»
StrataFrame Application Framework - V1
»
WinForms (How do I?)
»
Combobox not populating when on a SF User Control
Combobox not populating when on a SF User Control
Post Reply
Like
0
Combobox not populating when on a SF User Control
View
Flat Ascending
Flat Descending
Threaded
Options
Subscribe to topic
Print This Topic
RSS Feed
Goto Topics Forum
Author
Message
Jeff Pagley
Jeff Pagley
posted 17 Years Ago
ANSWER
HOT
Topic Details
Share Topic
Group: StrataFrame Users
Posts: 223,
Visits: 893
I scanned the forum, but could not find my particular issue addressed. I have a DevX SF wrapped combobox on a SF User control. I am programmically adding the user control to a form. Along with the combobox I have textboxes on the control also. The textboxes show the data from the BO object, but the combobox does not. To make sure I was not missing something in the combobox settings and had all of the data binding setup correctly, I put the combobox and the same BO on a SF Maintenance form with the exact same settings and the combobox populates correctly. What is going on?
Thanks!
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 not populating when on a SF User Control
Jeff Pagley
-
17 Years Ago
Most likely, it's either the order in which you're adding the user...
StrataFrame Team
-
17 Years Ago
I not sure how to do what you are suggesting. The parent form is...
Jeff Pagley
-
17 Years Ago
Aha, in that case, the ComboBox will not populate on its own. You'll...
StrataFrame Team
-
17 Years Ago
Hi Ben, This what I tried but the compiler doesn't like it....
Jeff Pagley
-
17 Years Ago
You'll need to cast the control to a combo -...
Greg McGuffey
-
17 Years Ago
...
Greg McGuffey
-
17 Years Ago
Hi Greg/Ben, Unfortunately, the code did not work. It throws another...
Jeff Pagley
-
17 Years Ago
Sorry about the code. I just typed it in, so I likely made a mistake....
Greg McGuffey
-
17 Years Ago
Greg Thanks so much for the info. I know I am going to have to spend...
Jeff Pagley
-
17 Years Ago
Any time. I understand about limited time. You'll get it soon enough...
Greg McGuffey
-
17 Years Ago
Greg is correct about the use of DirectCast vs CType in VB. DirectCast...
StrataFrame Team
-
17 Years Ago
Oh, and I forgot jpp that in VB controls are marked with Friend...
StrataFrame Team
-
17 Years Ago
Thanks for the tip Ben. In addition, I had an issue with the IsDirty...
Jeff Pagley
-
17 Years Ago
That's strange. The IsDirty property does not have a backing field....
StrataFrame Team
-
17 Years Ago
Thanks for the details on casting. I'm not using the TryCast...
Greg McGuffey
-
17 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