JakeBullet70 Well-Known Member Licensed User Longtime User Jun 25, 2022 #1 Stupid question 54887 How do you change the TXT size of B4XPlusMinus? Can you? Works great in the designer but not working in code. Using B4XPlusMinus.MainLabel.TextSize. Thoughts?
Stupid question 54887 How do you change the TXT size of B4XPlusMinus? Can you? Works great in the designer but not working in code. Using B4XPlusMinus.MainLabel.TextSize. Thoughts?
LucaMs Expert Licensed User Longtime User Jun 26, 2022 #2 ? B4X: B4XPlusMinus1.MainLabel.As(Label).Style = "" B4XPlusMinus1.MainLabel.Font = xui.CreateDefaultFont(30) Upvote 1
? B4X: B4XPlusMinus1.MainLabel.As(Label).Style = "" B4XPlusMinus1.MainLabel.Font = xui.CreateDefaultFont(30)
JakeBullet70 Well-Known Member Licensed User Longtime User Jun 26, 2022 #3 LucaMs said: ? B4X: B4XPlusMinus1.MainLabel.As(Label).Style = "" B4XPlusMinus1.MainLabel.Font = xui.CreateDefaultFont(30) Click to expand... You are the man!!!!!!!!!!!!!!!!!!!!! Thanks!!!!!!!!!!!!!!!! Upvote 0
LucaMs said: ? B4X: B4XPlusMinus1.MainLabel.As(Label).Style = "" B4XPlusMinus1.MainLabel.Font = xui.CreateDefaultFont(30) Click to expand... You are the man!!!!!!!!!!!!!!!!!!!!! Thanks!!!!!!!!!!!!!!!!
JakeBullet70 Well-Known Member Licensed User Longtime User Jun 26, 2022 #4 LucaMs said: B4XPlusMinus1.MainLabel.As(Label).Style = "" Click to expand... This throws an error in B4A, but i just remarked it out and it still worked fine. Upvote 0
LucaMs said: B4XPlusMinus1.MainLabel.As(Label).Style = "" Click to expand... This throws an error in B4A, but i just remarked it out and it still worked fine.
LucaMs Expert Licensed User Longtime User Jun 26, 2022 #5 JakeBullet70 said: This throws an error in B4A, but i just remarked it out and it still worked fine. Click to expand... Yes, that is for B4J only. B4X: #IF B4A,B4I B4XPlusMinus.MainLabel.TextSize = 20 #ELSE B4XPlusMinus1.MainLabel.As(Label).Style = "" B4XPlusMinus1.MainLabel.Font = xui.CreateDefaultFont(20) #END IF Upvote 0
JakeBullet70 said: This throws an error in B4A, but i just remarked it out and it still worked fine. Click to expand... Yes, that is for B4J only. B4X: #IF B4A,B4I B4XPlusMinus.MainLabel.TextSize = 20 #ELSE B4XPlusMinus1.MainLabel.As(Label).Style = "" B4XPlusMinus1.MainLabel.Font = xui.CreateDefaultFont(20) #END IF