B4A Library [B4X] [XUI] AS Label - CrossPlatform Label - Alexander Stolte    Feb 8, 2025   (18 reactions) DesignerCreateView (Base As Object, Lbl As Label, Props As Map) As String Base type must be Object getLabel... the native label as B4XView 113412 ASLabel1.IconPosition = ASLabel1.IconPosition_LeftText... and set TextSize Github: github.com/StolteX/AS_Label Have Fun :) https://www.b4x.com/android/forum... (Callback As Object, EventName As String) As String IsInitialized As Boolean Tests whether the object...This is a simple label view, in IOS roundings are removed when resizing or colors are not displayed... Spanish Personalizar vista B4XFloatTextField - TILogistic    Apr 3, 2021   (14 reactions) Estimados, Quiero compartir un ejemplo (archivo adjunto) de como se puede personalizar una vista B4XFloatTextField de la librería XUI Views. En este ejemplo he usado el método de desarrollo B4XPages, y si desea se puede usar en el desarrollo normal. La única diferencia entre las plataforma, es que en B4J utiliza un archivo de estilo CSS. Estoy atento a sus comentarios. Saludos, Resultados B4J y B4A: 110941 110942... B4A Question SetTitle in B4XPages with CSBuilder and clickable word - Mahares (first post)    Jul 30, 2023   (1 reaction) .Append(CreateClickableWord("Google")).PopAll Label1.Text =cs cs.EnableClickEvents...) 'rest of your other code Sub CreateClickableWord(Text As String) As CSBuilder Dim cs As CSBuilder Return cs.Initialize.Underline.color(xui.Color_Blue).Clickable("Word", Text... Is it possible to make a word in the title clickable? Yes. Create a custom actionbar like...) 'Layout has label1 only p.SetColorAndBorder(xui.Color_Cyan, 4dip, xui.Color_White, 3dip) B4XPages... B4A Question How to add image to button with text ? - mr.gedo    May 14, 2020 Hello everyone how can i add image with text to the button like this ? 94046... B4A Question replace text in label with b4xgifview - Addo    Aug 29, 2022 Sub ReplaceSmilies(s As String) As CSBuilder Dim baseSmiley() As String baseSmiley = smileysStringarray Dim rb As RegexBuilder rb.Initialize For Each smiley As String... MarkPattern(Input As String, Pattern As String, GroupNumber As Int) As CSBuilder Dim cs....Append(Input.SubString2(lastMatchEnd, currentStart)) lastMatchEnd = m.GetEnd(GroupNumber....Length Then cs.Append(Input.SubString(lastMatchEnd)) Return cs End Sub the thing is cs.Image... B4A Question CSBuilder ClickableWord Error - Kiran Raotole    Oct 1, 2018 In my, I'm using CustomListview and labels. on one label I clickable work like this : Dim cs As CSBuilder cs.Initialize.Append(CreateClickableWord("9225146803")) Label1.Text = cs cs.EnableClickEvents(Label1) Word click : Sub Word_Click (Tag As Object) Log("aaaaaa" & Tag) End Sub It shows error Log: customlistview_getitemfromview (java line: 430) java.lang.ClassCastException: android.view.ViewRootImpl cannot be cast to android.view.View Whats... B4i Question get Rect for substring of text in Label - narek adonts    Mar 24, 2015 Hi, Can someone help me to get the Rect for substring of text in Label? I want t create a label with clickable links. Narek... B4A Code Snippet [B4X] Set CSBuilder or Text to a Label - Erel    Oct 20, 2020   (13 reactions)   tags: set label text Edit: This sub is included in XUI Views library: XUIViewsUtils.SetTextOrCSBuilderToLabel This sub accepts a string or CSBuilder and sets it as the Label's text. It is useful for cross platform solutions. Note that the Text parameter type is Object. Public Sub SetTextOrCSBuilderToLabel(xlbl... Is CSBuilder And xlbl Is Label Then Dim lbl As Label = xlbl lbl.AttributedText = Text Else...: SetTextOrCSBuilderToLabel(lbl, "" & 123) ... B4J Code Snippet Simple Code for 1000+ clickable sprites - schimanski    May 4, 2025   (3 reactions) According to this post https://www.b4x.com/android/forum/threads/simple-sprite-from-spritesheet.166680/ i created some sample code with the help of teddybear for the simple use of hardware-accelerated sprites. I tested it on my i5 with up to 1000 sprites without any problems. Each sprite can be clicked individually. Just run it for a few minutes and test it. Nice solution and thanks to teddybear.... B4A Library LabelExtras - advanced click handling - warwound (first post)    Jan 30, 2013 .SPAN_EXCLUSIVE_EXCLUSIVE)
ClickableLabel.Text=SpannableStringBuilder1
LabelExtras1...&SelectionEnd&CRLF)
Dim SelectedText As String=ClickableLabel.Text.SubString2(SelectionStart..."'")
LogLabel.Text=LogText.ToString
End Sub
With previous examples... Page: 1   2   3   4   5   6   7   |