Sign in to follow this  
phjvh

Formatted text and tabbed digits

Recommended Posts

Hi all,I have text generated numbers (not bitmaps) to show altitude. As I scroll through altitude, each of the 5 digit numbers tend to jump horizontally according to the number mix, that is, some numbers seem to be wider than others and tend to push adjacent numbers which imparts a sideways movement. Is it possible using formatted text and tabs to position each digit so the digits remain in the same fixed horizontal position, as if they are produced on an LCD screen?Many thanks,Nick.

Share this post


Link to post
Share on other sites
Help AVSIM continue to serve you!
Please donate today!

Hi,You can use 4 scrolling numbers and adjust them right.Of course a lot more code (b747 pfd altimeter)At least 4 rows with 6 elements each for the 10000%, 1000%, 100% and 10%.But it gives a nice effect.Both plain - and formatted text will do.Jan"Beatus Ille Procul Negotiis"http://forums.avsim.net/user_files/85459.jpg

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this