Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Are the default font and default colors settable in a dialog?

0
10 Posted

Are the default font and default colors settable in a dialog?

0
10

Default colors are set by XgrSetDefaultColors(). The default font for XBasic, or any other XBasic application, is chosen when the application starts up. First XBasic creates an xxx/fonts.xxx file that contains a list of bitmap fonts that may be appropriate as the default font. Then XBasic reads in file xxx/font.xxx and sets the default font to the first font name not preceded by a ‘ comment character that is known to the system. If no xxx/font.xxx file exists, XBasic chooses the default font it thinks best. You can select a larger font for the development environment and console windows with Option Misc.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123