Nice try
I did read the documentation. I had already tried both methods you suggest. The code complies and loads fine. Unfortunately, I get a black screen when the app tries to execute. If I comment out the button.font defintion, the app works fine.
I was looking for a working solution not a theoretical one.