A aarroyo Member Licensed User Longtime User Nov 27, 2016 #1 I'm creating a horizontal calendar, adding a panel for each day to a scrollview, I need to capture the click of the selected panel
I'm creating a horizontal calendar, adding a panel for each day to a scrollview, I need to capture the click of the selected panel
Erel B4X founder Staff member Licensed User Longtime User Nov 27, 2016 #2 Set the EventName of all panels to be PanelDay and then handle it with: B4X: Sub PanelDay_Click Dim pnl As Panel = Sender 'you can use the Tag property to distinguish between the panels End Sub Upvote 0
Set the EventName of all panels to be PanelDay and then handle it with: B4X: Sub PanelDay_Click Dim pnl As Panel = Sender 'you can use the Tag property to distinguish between the panels End Sub