cancel
Showing results for 
Search instead for 
Did you mean: 

Flex Button give error in Custom Container

Yunus ARI
Senior

I'm trying to design a custom container which have a flex button. When I do that getting an error in CustomContainer.hpp [RO] folder.

Error message; <namespace "touchgfx" has no member "AbstractButton">.

private:
 
    /*
     * Callback Handler Declarations
     */
    void buttonCallbackHandler(const touchgfx::AbstractButton& src);
    void flexButtonCallbackHandler(const touchgfx::AbstractButtonContainer& src);
 
    /*
     * Callback Declarations
     */
    touchgfx::Callback<RegisterElementBase, const touchgfx::AbstractButton&> buttonCallback;
    touchgfx::Callback<RegisterElementBase, const touchgfx::AbstractButtonContainer&> flexButtonCallback;

Can you help me about that. Thanks in advance.

11 REPLIES 11

Are you asking because it's too large?

/Martin

Mathew Grabau
Associate III

@Martin KJELDSEN​  I cannot just post the code online unfortunately.