ScrollView Button Event Click

Eugenio

Member
Licensed User
Longtime User
Hello

I need a little help on ScrollView

I created a ScrollView and added a button on it, now how I add an event to this button?

For example? Msgbox ("Hello", "") when I click on it.

Sub Activity_Create(FirstTime As Boolean)

Activity.LoadLayout("frmProjeto11")
Button1.Initialize("button")
Button1.Text = "Button A"
ScrollView1.Panel.AddView(Button1, 10, 40, 100, 80)

End Sub

Sub Button1_Click
Msgbox("test1", "")
End Sub


thank you
 

DonManfred

Expert
Licensed User
Longtime User
When you got an error it would be a good idea to POST THE ERROR-LOG HERE!
 
Upvote 0
Top