text

  1. E

    B4J Code Snippet Compare text strings

    Written last century, resurrection prompted by related question in Spanish forum It is a very nice algorithm, even if I do say so myself. šŸ» Dim S1 As String = "Now is the time for all good men to come to the aid of the party" Dim S2 As String = "It was the time for good women to come to the...
  2. Alexander Stolte

    Android Example [B4X] AS Settings - Text Property

    https://www.b4x.com/android/forum/threads/b4x-xui-as-settings.147435/ This property is for text input. Normal text, numbers or decimal numbers. Example 'Numeric Example AS_Settings1.MainPage.AddProperty_Text("Advanced","PropertyName_9","Text...
  3. Alexander Stolte

    Android Example [B4X] AS TextFieldAdvanced - Underline Style

    https://www.b4x.com/android/forum/threads/b4x-xui-as-textfieldadvanced-title-information-counter-password-button-prefix-suffix-icons-multiline.141337/ With V1.33+ you can show a underline, what brings new style possibilities. Set the Underline property in the designer to True. For the...
  4. GeoT

    Android Code Snippet Unescape Unicode sequences for Spanish language

    Erel created a sub for unescape or decode Unicode sequences to transform unicode characters, with the structure \uXXXX, into real characters. In https://www.b4x.com/android/forum/threads/when-getting-query-results-i-cant-read-hebrew.27461/post-159533 Is good for processing texts that come from...
  5. Alexander Stolte

    B4A Library [B4X] [XUI] AS CheckBoxAdvanced

    This is a CheckBox library that can be displayed together with text. So you can now add checkboxes and text them even faster. If you want a standalone checkbox, then have a look at the AS_CheckBox library. I spend a lot of time in creating views, like this and to create a high quality view cost...
  6. Alexander Stolte

    Android Example [B4X] AS TextFieldAdvanced Text Validation/Required Fields Example

    This is a exmaple project to show the required field feature in the AS TextFieldAdvanced https://www.b4x.com/android/forum/threads/b4x-xui-as-textfieldadvanced-title-information-counter-password-button-prefix-suffix-icons-multiline.141337/
  7. R

    Android Question Problem text placement in BBCodeView

    Just started to use BBCodeView as it seems very nice and useful indeed. Nearly all worked out now, but don't quite understand how the placement of text works. This is the string passed to the BBCodeView: strPrompt = $"[TextSize=18]This allows you to run quickly through a list of...
  8. M

    iOS Question Button with image/icon and text aligned correctly

    Hi everyone, I'm trying to achieve this result for a button I tried by using ButtonAttributeText and MaterialIcons but the result is this arrow and text should be horizontally aligned... (bigger is the MaterialIcon character, and more evident the offset became) So I tried using an...
  9. MegatenFreak

    B4J Question [SOLVED] Problem selecting text with mouse in TextArea

    Hello. When users try to select part of a text inside a TextArea using the mouse click and drag, most of the time the selection disappears as soon as the mouse button is released. Any ideas how to fix that? Thanks.
  10. Alexander Stolte

    B4A Library [B4X] [XUI] AS BlinkTextView

    A TextView that blinks, just like the good old HTML <blink> tag. https://github.com/frakbot/BlinkTextView https://www.b4x.com/android/forum/threads/blinktextview.61009/#content i spend a lot of time in creating views, some views i need by my self, but some views not and to create a high...
  11. M

    Android Question Prevent text zoom

    Hi everyone, while testing my app, i noticed that when an user has the text zoom enabled in phone settings, all the sizes of my app are messed up. Is there a way to prevent the phone to change the sizes I set even if the zooming option is enabled in the settings of the phone? Thanks in advance
  12. james_sgp

    iOS Question Text Size, iPhone Vs iPad

    Hi, I have an app on B4X installing on an iPhone 8 everything is good, but when I install it on an iPad Mini 4, the text isn`t resizing? What should I be doing to get B4i to resize text for larger screens? FYI, Installing the same B4X code onto Android (Samsung S9 & Tab 6) there is no problem...
  13. M

    iOS Question Text in the Label

    Hi there I'm facing problem i cant put text on top of the label. How to do it?
  14. MList

    Android Question Save Text and picture

    Hi, This is more a general question. I am developping the software for a measuring device. Now i have got the measured values ( a table with number, date,time,unity.. ) and a photo where you can mark the position of the measured value. That works all fine.. Now I want to save a file with both...
  15. mare1980k1

    Android Question Vertical alignment align of text in a label - programmatically

    Hi, I am declaring a label as such: Dim TextTrending As Label TextTrending.Initialize("TextTrending") TextTrending.Text = "Trending" TextTrending.Padding = Array As Int (0dip, 0dip, 0dip, 0dip) TextTrending.Gravity = Gravity.TOP I would like to align text to the top programmatically in the...
  16. M

    iOS Question Text and Material Icons in b4xview Buttons

    Hi everyone, my question is: It's possibile to put a combination of Matrial Icons and Text in a button declared as B4xview? I'm used to CSBuilder, but b4xview does not have the .AttributedText parameter :( Thanks in advance
  17. Penguin

    iOS Question Make Label Text selectable

    Is it possible to make text in a label selectable with a long press, so that the user can copy it?
  18. M

    iOS Question Navbar like Whatsapp

    Hi! I'm trying to understand the various part that make up the navigation between pages in B4i, and the various options. How can I have a nav bar like this: With custom icon and Text (and eventually the notification dot). It's a acutal navbar, or a panel with button inside? (i ask this...
  19. 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...
  20. D

    iOS Question Add outline to text

    How can I add an outline to the label text? I found the answer in swift: https://stackoverflow.com/questions/40575408/outline-uilabel-text-in-uilabel-subclass http://mabdev.com/2016/06/09/how-to-outline-your-uilabel-uibutton/
Top