S stevenindon Active Member Licensed User Dec 10, 2021 #1 Hi all, How can i make my B4xView label (Not in Designer) - to enable multiline? Been looking for the command. Thanks
Hi all, How can i make my B4xView label (Not in Designer) - to enable multiline? Been looking for the command. Thanks
M Mahares Expert Licensed User Longtime User Dec 10, 2021 #2 stevenindon said: i make my B4xView label (Not in Designer) - to enable multiline Click to expand... Did you give this one a try: B4X: Private l as b4xview '.your other code'. l.As(Label).SingleLine = False Upvote 1
stevenindon said: i make my B4xView label (Not in Designer) - to enable multiline Click to expand... Did you give this one a try: B4X: Private l as b4xview '.your other code'. l.As(Label).SingleLine = False
S stevenindon Active Member Licensed User Dec 12, 2021 #3 Mahares, Thank you for such a quick response and sorry for my late reply. *Been busy with kids Above solved what i was looking for. Upvote 0
Mahares, Thank you for such a quick response and sorry for my late reply. *Been busy with kids Above solved what i was looking for.
klaus Expert Licensed User Longtime User Dec 12, 2021 #4 And cross-platform: B4X: #If B4A xLabel.As(Label).SingleLine = False #Else If B4J xLabel.As(Label).WrapText = True #Else xLabel.As(Label).Multiline = True #End If Upvote 0
And cross-platform: B4X: #If B4A xLabel.As(Label).SingleLine = False #Else If B4J xLabel.As(Label).WrapText = True #Else xLabel.As(Label).Multiline = True #End If