text

  1. R

    Android Question Measuring BBCodeView paragraph (full text) height

    Having a problem with this on a phone that has access.GetUserFontScale (Accessibility) set to a higher value (in this case 1.5). The measured height is too large and multiplying that by 1 / access.GetUserFontScale makes it smaller but the value is still too high. This is the code I have to...
  2. R

    Android Question Problems with B4XPreferencesDialog

    Using this now since some 6 weeks and it is a lot better than using lots of B4XPages with layouts to show and alter all the settings I have. I have some problems though altering the text sizes of the simple text item title (B4XFloatTextField) and the dialog buttons (OK and Cancel) at the bottom...
  3. Alexander Stolte

    Android Example [B4X] AS Settings - Change Description Text on the fly

    https://www.b4x.com/android/forum/threads/b4x-xui-as-settings.147435/ How to change the description text of a property: AS_Settings1.MainPage.GetProperty("ExportDatabase").Description = "Last Backup: Now" AS_Settings1.MainPage.Refresh Simple, isn't it? The .Refresh method rebuilds the entire...
  4. M

    Android Question [XUI Views] user_interaction Java event not firing while using B4XInputTemplate

    Hi everyone, my app has a timeout timer that is resetted every time that the user interacts with the application interface. Thanks to this method However I just implemented a B4XDialog with B4XInputTemplate and I noticed that when the keyboard is used in Text Mode the "user_interaction" event...
  5. 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...
  6. 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...
  7. 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...
  8. 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...
  9. 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...
  10. 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/
  11. 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...
  12. 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...
  13. 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.
  14. 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...
  15. 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
  16. 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...
  17. 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?
  18. 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...
  19. 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...
  20. 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
Top