I managed to get the example to work...
After looking at MaxIDE source, the font parameter that is passed into RequestFont will always be an instance of a font object. In the example, "font" isn't defined when RequestFont is called.
If you add something like :
font=LoadGuiFont("Arial",12)
so that "font" is an instance of TGuiFont when you call RequestFont, it will return correctly the font you choose from the font panel.
I'd still say that's a bug tho...
:o)
After looking at MaxIDE source, the font parameter that is passed into RequestFont will always be an instance of a font object. In the example, "font" isn't defined when RequestFont is called.
If you add something like :
font=LoadGuiFont("Arial",12)
so that "font" is an instance of TGuiFont when you call RequestFont, it will return correctly the font you choose from the font panel.
I'd still say that's a bug tho...
:o)