Community
Inventor Programming - iLogic, Macros, AddIns & Apprentice
Inventor iLogic, Macros, AddIns & Apprentice Forum. Share your knowledge, ask questions, and explore popular Inventor topics related to programming, creating add-ins, macros, working with the API or creating iLogic tools.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Help! Why does the Font change when I run a VBA User Form?

1 REPLY 1
Reply
Message 1 of 2
Anonymous
185 Views, 1 Reply

Help! Why does the Font change when I run a VBA User Form?

I am using the "Terminal" font in a VBA listbox because I want the "line
drawing" characters. The characters display correctly until I run the form.
Then the font changes inexplicably. The characters apparently become
rendered by some other font and my nice "line drawing" characters turn to
gibberish!

I have tried setting the font explicitly in my code and that does not help.

I have also ported the code to a standalone Visual Basic 6 program and it
works fine (it's just slow).

Can anybody tell me how to fix this? It is very Frustrating.

It seems like the system is translating the font for me, like it's doing me
a big favor!

Any help would be much appreciated.

Wade
1 REPLY 1
Message 2 of 2
Anonymous
in reply to: Anonymous

I have worked around the situation by using the ChrW() function and the
"Lucida Console" font to get the box drawing characters for my ListBox.

I still don't know why the font was changing when I used the "Terminal"
font.

Wade

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report