Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 00:37 14 Jul 2025 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : NumberBox MMBasic 5.04.05

     Page 2 of 2    
Author Message
lew247

Guru

Joined: 23/12/2015
Location: United Kingdom
Posts: 1702
Posted: 07:13am 18 Aug 2017
Copy link to clipboard 
Print this post

Is there a way to change the colour of the number in the numberbox?
It seems to be a grey colour at the moment?

And is there any way to resize the number?

I'd like to use it for my weather display to display the wind speed temp and so on but the numbers are too small
 
KeepIS

Guru

Joined: 13/10/2014
Location: Australia
Posts: 1872
Posted: 08:42pm 18 Aug 2017
Copy link to clipboard 
Print this post

Not sure what you mean?

The colour is set when declaring the numberbox. The size of the number displayed is governed by the current FONT setting. IF you don't enter the colours then they default to the the current colour settings.

So if the current setting was FONT 3 then changing this to say FONT 4,2 when you declare the numberbox will increase the size of the font.


FONT 4,2
GUI NUMBERBOX #ref, StartX, StartY, Width, Height, FColour, BColour


Edited by KeepIS 2017-08-20
NANO Inverter: Full download - Only Hex Ver 8.1Ks
 
     Page 2 of 2    
Print this page


To reply to this topic, you need to log in.

The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025