Skip to main content
PFlor.2
Senior II
June 25, 2023
Question

Override flexButtonCallbackHandler() or buttonCallbackHandler()

  • June 25, 2023
  • 1 reply
  • 804 views

I have several flex and nonflex buttons on a screen and wanted to be able to call a beeper function with any button press.  So I thought I could override the callback handler for button and flexButton to do this.  Is this not possible since they are private in the base class?  I'm used to C and not very familiar with C++ classes and inheritance.

This topic has been closed for replies.

1 reply

MM..1
Chief III
June 25, 2023

If your design is based on touch only try implement beeper in touch handler. 

Other workaround is create thread for beeper and on every callback send to queue message beep...