1. carlos7000

    Android Question Change some properties of a label at runtime

    Hi. ¿How you can change the Horizontal Alignation property or change other properties of a label when the label was dynamically created? Thanks
  2. Eric McDonald

    Android Question Using Searchview to capture String

    Hello all, Fairly new to B4A, so this may be a simple question... but it's got me stumped. I am using a SearchView as found in the SearchViewExample (found on the forum). However, I am having difficulty implementing it into my own code. What I wish to do is take the selected text (from the...
  3. D

    iOS Question Add outline to text

    How can I add an outline to the label text? I found the answer in swift:

    Android Question LTR or RTL Form direction

    Hello, According to the ltr or rtl language direction coosen by the user, Please, is it an easy way to call : 1: a text or label (with direction settings rtl or ltr) 2: a complete form direction (label + Edittext) or (Edittext + label), example: or : Today, according to the language...
  5. Brandsum

    Android Tutorial Load HTML to Label

    (Here is the iOS version) This is how you can set HTML data to Label (works only in release mode), Dependencies: StringUtils, jSoup, LabelExtras Here is the code, Dim extraHeight As Int = 0 'global variable (height of images) Dim htmlParser As Html 'global variable Dim jSoup As jSoup 'global...
  6. Brandsum

    iOS Tutorial Load HTML to Label

    (Here is the Android version) This is how you can set HTML data to Label, Public Sub SetHTML(l As Label, htmlString As String) Dim NaObj As NativeObject = Me NaObj.RunMethod("SetHTML::",Array(l,htmlString)) End Sub #if OBJC - (void)SetHTML: (UILabel*) Label :(NSString *) htmlString{...
  7. Star-Dust

    B4J Library SD: XUI_Design

    Goodmorning everyone, We have often discussed in this forum in different threads about the need to be able to insert XUI from design. We all know that the direction that is suggested by AnyWhere software is to create in the design the native views and then replace B4XView to the type...
  8. E

    iOS Question [Solved] FontAwesome not working as button icons

    (re: related thread: ) I had an issue where FontAwesome icons that looked great in Designer: were not displaying in the actual program: and what I eventually tracked it down to was a programming...
  9. Kevin Hartin

    Android Question Text from SQLite into Label being truncated

    This is my first question, so please bear with me. I am reading a field from SQLite to populate a Label inside a ScrollView that sits on a tab in a TabStrip. It all seems to be working fine, but it seems that the very long text strings are being truncated. For example, one string in the DB is...
  10. M

    Android Question Accesing propertie of a label created at runtime?

    Hello everybody, please apologize my english... I am doing an App, and the forum was very helpfull, but i cant figure how to do this: My app has an Scrollview, with a Panel inside, and at runtime i created some labels added to the panel (sv.panel.addview) and asigned an "event name" when...
  11. C

    Android Question Bluetooth Printing with AsyncStreams

    I wrote an application a little while ago to print to a Bluetooth printer. It worked, but occasionally it would lock up. I was using a TextWriter, which I subsequently found out was not the way to go, with AsyncStreams being the preferred way to go. I've just created a small sample application...
  12. jroriz

    B4J Question Paint a label based on its value

    Hi. Is there a better way to acomplish this? I need to paint a label, based on the value, from light red to solid green, passing through the yellow. My solution: ' Use: myLabel.Style = Paint(mylabel.text) Sub Paint(value As Double) As String Dim rgb As String If value > 90 Then rgb =...
  13. rleiman

    Android Question [SOLVED] IconButton and TalkBack

    Hi Everyone, One of my customers needs to use my app with TalkBack. It's almost compatible with TalkBack. The views that work with it are the label views and sliders. The app is also using the IconButton view but TalkBack speaks "Unlabled button" when the user slides a finger over they type of...
  14. K

    Android Question CSBuilder ClickableWord Error

    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)...
  15. Flavio SOuza

    Android Question Leave a text in motion?

    Is it possible to leave a text of a label in motion? Like the one <marquee>in the HTML?</marquee>
  16. K

    Android Question Label Drawable not work

    Label Drawable = ColorDrawable property not work color of lable not change
  17. K

    Android Question App crashes when trying to change a label's text

    Hello! I'm new to this forum (and generally in B4A and Android programming) and this is my first post. I have a problem with the app I'm developing. This is the code causing the crash, but I don't know how to fix it: Private DriveStartHour As Int = -1 Private DriveStartMin As Int = -1...
  18. R

    iOS Question Update Text Label

    Hello, I have a problem with an application that must show the progress of the import of some data. The Label that should be updated with each new entry does not change, but remains only the first entry. If, however, the program is blocked, the label is updated. Below is an example of what the...
  19. Alexander Stolte

    Android Question .Left Property on the right side

    Hello, i'm expanding my chat a bit and would like to do the same as WhatsApp. here is a picture, so I save that explain: the width from the label to the text is not the Problem, the problem is, in the Designer i have a .Right Property and this Property is for example "5", if i now change the...