B4A Library [B4X] BCTextEngine / BBCodeView - Text engine + BBCode parser + Rich Text View - Erel    May 21, 2023   (71 reactions) The library and the code inside can be used for all kinds of things related to text. You can for example use it as an alternative to CSBuilder where you have more control over the text drawing.
I will explain the main use case of BBCodeView.
Our layout is usually made of boxes. The boxes positions B4J Code Snippet [B4X] SMM + BBCodeView - a great pair - Erel    Sep 01, 2022   (12 reactions) Private Sub Media(Width As Int, Height As Int, URL As String) As String Dim pnl As B4XView = xui.CreatePanel("") pnl.SetLayoutAnimated(0, 0, 0, Width, Height) SMM.SetMedia(pnl, URL) Dim name As String = "view" & BBCodeView1.Views.Size BBCodeView1.Views.Put(name, pnl) Return $ B4A Question [SOLVED] B4XPages / EditText disable edit with scroll ability - William Lancee (first post)    Feb 17, 2022   (1 reaction) So is BBCodeView. B4A Tutorial [B4X] BBCodeView Anchors Example - Erel    May 24, 2023   (5 reactions) 142262 142263 A small, cross platform, example of using the new anchors feature of BBCodeView. It reads a CSV file with information about US politicians. The data is used to populate a BBCodeView and B4XDialog+B4XSearchTemplate. The bbcode looks like: For Each pol As Politician In politicians B4J Tutorial [B2X]Documention of BBCode Variant of BBCodeView Using BBCodeView Itself - William Lancee    May 31, 2023   (4 reactions) The recent addition of the anchor tag in BBCodeView opens up an efficient and effective way for creating documentation that works on a desktop and devices. This tag allows you to scroll to any section of a (possibly lengthy) scrollable BBCodeView. BBCodeView has grown with leaps and bounds over the B4A Library [B4X] BBListItem - BCTextEngine inside CLV - Erel    May 27, 2021   (14 reactions) BBCodeView is a scrollable view by itself. Trying to put it inside a CLV will cause all kinds of problems. BBListItem is a modified version of BBCodeView, which is built for being contained in a CLV. Among other things, it only draws the currently visible text. It was written originally for the Ple B4A Code Snippet [B4X]Index ScrollTo Heights in BBCodeView - Marked Sections & Words Occurrences - William Lancee    May 03, 2023   (8 reactions) jar&Args=Project.zip Sub Class_Globals Private Root As B4XView Private xui As XUI Private BBCodeView1 As BBCodeView Private TextEngine1 As BCTextEngine Private markerHeights As B4XOrderedMap Private wordPositions As Map Private minWordLength As Int = 4 Private BBCVCl B4J Question Why Can't CENTER ALIGNMENT center multi-line text? - Erel (first post)    Apr 01, 2021   (1 reaction) Check BBLabel or BBCodeView B4J Question BBCode and use of LaTex - William Lancee (first post)    Oct 05, 2021   (2 reactions) However, BBCodeview has great flexibility. You could create you own tag and preprocess the text string, capitalizing on
the fact that you can insert small drawings inside other text.
Dim cv As B4XCanvas
BBCodeView1.TextEngine = textEngine1
Dim mathPanel As B4XView = xui.CreatePanel("" Italian [risolto] BBCodeView come modificarne altezza a runtime? - ivanomonti (first post)    Apr 13, 2023   (1 reaction) Risolto alla grande, grazie ad una risposta del forum Android
Private Sub SetBBCodeViewPosition( bbc As BBCodeView)
If bbc.Paragraph.IsInitialized Then
Dim ContentHeight As Int = Min(bbc.Paragraph.Height / TextEngine.mScale + bbc.Padding.Top + bbc.Padding.Bottom, bbc.mBase.Height)
Page: 1   2   3   4   5   6   7   Powered by ColBERT |