klaus Expert Licensed User Longtime User Jan 2, 2011 #1 Could you please add the Touch event to the buttons. Thank's in advance and Best Regards.
Erel B4X founder Staff member Licensed User Longtime User Jan 3, 2011 #2 The Touch event was added to Panel. A Panel can be used as a button if needed. What is the use case for touch event on buttons?
The Touch event was added to Panel. A Panel can be used as a button if needed. What is the use case for touch event on buttons?
klaus Expert Licensed User Longtime User Jan 3, 2011 #3 Erel said: What is the use case for touch event on buttons? Click to expand... I want to add ToolTips, the ToolTip is shown with Action down and hidden with Action Up. I did it in B4PPC with MouseDown and MouseUp, it was very convenient because pressing a button showed the ToolTip and releasing it outsides the button surface fired the MouseUp event but not the Click event so it was possible to check the button's function without executing it. Panels don't have the pressed state, or the bitmaps must be managed seperately by code. Best regards.
Erel said: What is the use case for touch event on buttons? Click to expand... I want to add ToolTips, the ToolTip is shown with Action down and hidden with Action Up. I did it in B4PPC with MouseDown and MouseUp, it was very convenient because pressing a button showed the ToolTip and releasing it outsides the button surface fired the MouseUp event but not the Click event so it was possible to check the button's function without executing it. Panels don't have the pressed state, or the bitmaps must be managed seperately by code. Best regards.
Erel B4X founder Staff member Licensed User Longtime User Jan 4, 2011 #4 That makes sense. I will add support for Button_Down / Button_Up events.