clicking a tab in a custom tabbed UI layout is logging null to the console, WHY?
-
I have a tabbed layout from a .res file; the layout is working fine and all the elements inside are working, but every time I click on one of the tabs, it logs null to the console, WHY is this happening?
-
Hi @heytraile,
Please have a look at our Support Procedures: How to Ask Question section. Usually it is very helpful if one provides a relevant code snippet, demonstrating the issue. This helps to reduce the room for any misinterpretations of your original question.
Regarding the issue you're describing, the "null" being logged to the console is often a symptom of an implementation issue within a function that overrides the base implementation. Specifically, if a function (such as Message() or RestoreLayout()) is expected to return a particular type (e.g., bool), but instead returns None or a mismatched type, it can result in unexpected behavior and the "null" log.
Cheers,
Ilia