Hi!
i have a “action” on window2, that trys to modify the text in a label in
window1 (window1.Label3.Text=“FA-Nummer…”)
But i get this error “Static referenz to instance method:call this instance of class…” ?
is it not able to modify “something” directly from another window? Anymore?
Thanks!
Andreas
Do you have “Implicit Instance” set to OFF in the Inspector for Window1?
Thanks Paul! It was “ON”! I never used that. Dont know why it was “ON”.
For what is it?
Thanks!!!
Andreas
From User Guide Book 2: User Interface:
[quote]ImplicitInstance?
When True, you can refer to the window by its name anywhere in the project. When False, you need to have an explicit instance in order to access the window.[/quote]
With it ON, you can not refer to the instance of the window by its name. You instead need to have a variable or property just like you would need to access a class instance:
Dim w As New Window1
w.Label3.Text = "Some text"