A few days ago I saw a great idea in this forum that I can't find now.
Someone was calling a function or method that would interact with some control of the calling page. Inside the method the control was used without sending a reference to the calling page.
Right now I'm using it like:
Private Sub DoSomething(ByVal myPage As Page)
myPage.Textbox1.Text = "Hello World"
End Sub
In that post I saw, the method was something like:
Private Sub DoSomething()
CurrentPage.Textbox1.Text = "Hello World"
End Sub
That red colored word (CurrentPage) is what I'm searching for.
Any ideas? Anyone can find that thread, or just tell me the word?
NetAngel
Someone was calling a function or method that would interact with some control of the calling page. Inside the method the control was used without sending a reference to the calling page.
Right now I'm using it like:
Private Sub DoSomething(ByVal myPage As Page)
myPage.Textbox1.Text = "Hello World"
End Sub
In that post I saw, the method was something like:
Private Sub DoSomething()
CurrentPage.Textbox1.Text = "Hello World"
End Sub
That red colored word (CurrentPage) is what I'm searching for.
Any ideas? Anyone can find that thread, or just tell me the word?
NetAngel