W wdegler Active Member Licensed User Longtime User Sep 2, 2014 #1 I have not found any way for my program to accept the word "typeface" in any context. If I am missing a required library, what is its name? What is the correct syntax for using typeface in B4J with labels, buttons and the like? So far, I have only been able to use "-fx-..." notation and have yet to find a straightforward compendium detailing all of that. Any help is appreciated! Walter Degler
I have not found any way for my program to accept the word "typeface" in any context. If I am missing a required library, what is its name? What is the correct syntax for using typeface in B4J with labels, buttons and the like? So far, I have only been able to use "-fx-..." notation and have yet to find a straightforward compendium detailing all of that. Any help is appreciated! Walter Degler
Erel B4X founder Staff member Licensed User Longtime User Sep 3, 2014 #2 Code: Copy Button1.Font = fx.CreateFont("arial", 20, True, False) Upvote 0
W wdegler Active Member Licensed User Longtime User Sep 4, 2014 #3 Erel said: Code: Copy Button1.Font = fx.CreateFont("arial", 20, True, False) Click to expand... Thank you for your response. I will use use your suggestion and assume that "Typeface" is only for B4A where I have used it. Upvote 0
Erel said: Code: Copy Button1.Font = fx.CreateFont("arial", 20, True, False) Click to expand... Thank you for your response. I will use use your suggestion and assume that "Typeface" is only for B4A where I have used it.