I have an Array of Panels, set as follows:
I want to identify which Panel received a Click event:
Something like:
B4X:
calPanels = Array As Panel(pnl1,pnl2,pnl3,pnl4,pnl5,pnl6,pnl7,pnl8,pnl9,pnl10,pnl11,pnl12, _
pnl13,pnl14,pnl15,pnl16,pnl17,pnl18,pnl19,pnl20,pnl21,pnl22,pnl23, _
pnl24,pnl25,pnl26,pnl27,pnl28,pnl29,pnl30,pnl31,pnl32,pnl33,pnl34, _
pnl35,pnl36,pnl37,pnl38,pnl39,pnl40,pnl41,pnl42)
Something like:
B4X:
Sub calPanels()_Click