I have the code to create a new button during runtime. NOT VISIBLE = TRUE!
I did a
AddHandler x.Click, AddressOf myButtonHandler_Click
Me.Controls.Add(x)
Then I created a Sub(ByVal sender As Object, ByVal e As EventArgs)
I want to know if there is a way to take the users code in a textbox and use that code as the buttons CLICK event code handler. Did any of that make sense?
BASICLY...what I want to do, is to be able to write the code during runtime and use that code when ever the btn.Click event is initiated.
2007-03-22
03:39:19
·
2 answers
·
asked by
Anonymous
in
Computers & Internet
➔ Programming & Design