How to add custom tab
-
Hi, I would like to have the filament capability on the PanelDue, so I was wondering, how to add a tab to the menu (ofc in the code, was looking in the UserInterface.cpp but I am not sure about how to do it)
-
Function CreateCommonFields creates the tabs along the bottom, and function ChangePage handles switching between tabs.
-
I got the tab to show up, but I am unable to create my own page, what should I do next?
-
Function CreateMainPages contains this:
// Create the pages CreateControlTabFields(colours); CreatePrintingTabFields(colours); CreateMessageTabFields(colours); CreateSetupTabFields(language, colours);
You will need to add a call to your own function to create the 5th page.
-
I know, but where to add them?