elitevenkat Active Member Licensed User Longtime User Apr 13, 2016 #1 can we get the name of the current view that has focus ? like activecontrol.name in VB ? i need this to handle keypress event of activity and based on the current view, execute some sub or is it possible to define keypress event for the required control. example for sub combobox_keypressed(key code) by default there is no keypress event for combobox.
can we get the name of the current view that has focus ? like activecontrol.name in VB ? i need this to handle keypress event of activity and based on the current view, execute some sub or is it possible to define keypress event for the required control. example for sub combobox_keypressed(key code) by default there is no keypress event for combobox.
Erel B4X founder Staff member Licensed User Longtime User Apr 13, 2016 #2 Views do not have names. You can use the Sender keyword to get the view that raised the event. Upvote 0