Quantcast
Channel: VBForums
Viewing all articles
Browse latest Browse all 42225

VS 2012 Control in FlowLayout Won't Update Binding

$
0
0
Hi Guys,

I have a custom control that I add to a flowlayout panel on a form:
Code:

    Dim newIntake1 As New NewIntake

    Private Sub Button1_Click(sender As Object, e As EventArgs)
        searchFlowPanel.Controls.Add(newIntake1)
    End Sub

    Private Sub Button3_Click(sender As Object, e As EventArgs) Handles Button3.Click
        newIntake1.loadEdit(1)
    End Sub

but when I call a function to update the bindings on the control, it doesn't display the updated values; But if I add the same control directly to the form and call the same function, the updated values are displayed.

Anyone have any ideas what could cause this?

Viewing all articles
Browse latest Browse all 42225

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>