Create Objects at Run-time and Event

touchvip

Member
Licensed User
Longtime User
Hello All,

I create views (objects) such as
Spinners,
Panels,
ListViews,
Buttons,
Labels,
Edittexts

at runtime.
How to assign it Event Code
 

NJDude

Expert
Licensed User
Longtime User
You create the event when you initialize the view, for example:
B4X:
Dim MyButton As Button

MyButton.Initialize("MyButton")  '<-- This is the event name

If you need examples and tutorials check THIS page.
 
Upvote 0
Top