| re: Form and Combo Initialize problem...
Hi again Cor
I would like to avoid workarounds until I am quite sure there is no "right"
way of doing it.
And I think my problem is more than a combo problem.
I would like the events of _all_ a forms controls to be suspended when the
form is initialized. It could be listboxes, textboxes etc. IE if you add a
Private Sub txtFornavn_TextChanged(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles txtFornavn.TextChanged
MsgBox("test")
End Sub
To a form and txtforavn is databound, TextChanged is invoked when the form
is drawn the first time.
Right now I have made a boolean that checks if it is first time, but this is
a workaround.
I hoped for a better way.
Best regards
Jan
"Cor" <non@non.com> skrev i en meddelelse
news:3f95316d$0$31158$48b97d01@reader20.wxs.nl...[color=blue]
> Hi Jan,
>
> I hate it to use switches, but for that Combo box I have to use them. I
> have again took a very long time to overcome it. I could eliminate it
> (although the way I do it is a normal switch method, because I test of the
> first table in the dataset exist).
>
> Be aware that the Combobox is famous because his bugs, I don't know if[/color]
your[color=blue]
> problem is one of them. Most bugs about which people start tell here are
> mostly no bugs, but in the case of the combobox be awared.
>
> Cor
>
>[/color] |