J jai Active Member Licensed User Longtime User Aug 22, 2018 #1 If a panel has several Numpad views and one of them was tapped, how do you determine which one was tapped? How do I find the name or index of the Numpad view tapped?
If a panel has several Numpad views and one of them was tapped, how do you determine which one was tapped? How do I find the name or index of the Numpad view tapped?
Erel B4X founder Staff member Licensed User Longtime User Aug 23, 2018 #2 1. Set the Tag property of each numpad in the designer. 2. Add a Tag field to Numpad class: B4X: Public Tag As Object 3. Set the tag in DesignerCreateView: B4X: Tag = mBase.Tag '<--new line mBase.Tag = Me Now you will be able to identify each numpad. Upvote 0
1. Set the Tag property of each numpad in the designer. 2. Add a Tag field to Numpad class: B4X: Public Tag As Object 3. Set the tag in DesignerCreateView: B4X: Tag = mBase.Tag '<--new line mBase.Tag = Me Now you will be able to identify each numpad.
J jai Active Member Licensed User Longtime User Aug 24, 2018 #3 Thanks Erel! Your suggestions work fine. I have some other issues with Numpad buttons that I will float in a new thread. Upvote 0
Thanks Erel! Your suggestions work fine. I have some other issues with Numpad buttons that I will float in a new thread.