B4A Question Make Edittext cursor more visible[Solved] - Roger Daley    
Feb 19, 2020Hi All,
A very generalised question. The cursor in Edittext is not easily seen, there have been numerous posts to change colour, blink rate, size etc. I think I have tried them all, none really work. EG Some years ago Erel provided me with a java sub to SHOWPINS. Still works well on my old Note 3 but not on devices running Android 8/9. This is common with other solutions.
My question: Does anyone have a way to make the cursor in an Edittext stand out?
More in hope than expectation...
B4A Question [RESOLVED] B4XFloatTextField cursor position based on control height - Jmu5667    
Sep 6, 2023Hello
When using the B4XFloatTextField control if I set the height to say 100dip the cursor.... How do i get the cursor position to start on the base line displayed regardless of the height I set...
link:
fixed the issue
Please note that this is a programmatic fix to something that seems to not work in...
link: txtPersonalInfo.TextField.SetTextAlignment("BOTTOM", "LEFT") fixed the issue, th...
link: In the previous attachment, @OliverA pointed out that the B4XFloatTextField was missing. Sorry, new ...
B4J Code Snippet [B4J TextArea] Select the text - coordinates for the cursor - T201016    
Apr 5, 2026   
(1 reaction)You can select the text as you know in several ways, but the cursor will change position depending on the selected method of selection.
My source code is included in the calculations.
I am providing an example for those who need a proven method.
167908 167909
167910 167911
Works on both TextArea and B4XView objects.
Dim taSourceCode As TextArea 'or B4Xview
#Region SelectionChangedSource_Event --------------------------------------------------------------------------
Dim...
B4J Library [Class] ResultCursor: cursor-like SQLite database object for compatibility with Android Cursor - peacemaker    
Nov 10, 2021IMHO, cross-platform ResultSet class has disadvantages comparing to Android's cursor: access to... Android project with many Cursors objects to B4J ResultSet - i guess, such new class may help to simplify... understand in the discussion below.
I tried to preserve the structure of Cursor class
'v.0.11 (c) Vlad Pomelov aka Peacemaker
'SQLite Cursor-like class for B4J as of Android Cursor
Private...).
'Note that the starting position of a cursor returned from a query Is -1.
'The first valid...
B4A Question CursorIndex Out Of Bounds Exception - Alexander Stolte    
Jan 2, 2017 Return UriString 'If the user used a file manager to choose the image
Dim Cursor1 As Cursor... = UriString.SubString(i + 3)
Uri1.Parse("content://media/external/images/media")
Cursor1...(UriString)
Cursor1 = cr.Query(Uri1, Proj, "", Null, "")
End If
Cursor1.Position = 0
Dim res As String
res = Cursor1.GetString("_data")
Cursor1.Close
Return res... line:
res = Cursor1.GetString("_data")
And the last but not the least, the full error log...
B4J Code Snippet Move Cursor Mouse to object - T201016    
Jun 18, 2026   
(1 reaction)Here is a way to move the mouse cursor to a selected object in the view:
171927...
Wish Information window about the variable under the cursor - LucaMs    
Feb 10, 2025I would really, really, really, really like two things regarding the information window on the variable under the cursor:
be able to pin/dock it in the IDE
be able to search (or filter) for a property.
161629
That one is about a B4XView (BaseNode, a Pane): I don't know where to find the Tag property. I should try to guess where it is or open all the nodes!
EDIT: it would also be good if it was another Tab, such as "Find all references".
P.S. I will never find "Tag...
B4A Question How to determine if cursor is at end of text in an edittext? - RB Smissaert    
Sep 19, 2024 CursorAtEndOfText(vEDT As EditText) As Boolean
Dim iSelStart As Int = vEDT.SelectionStart
Dim bCursorAtEnd As Boolean
Log("CursorAtEndOfText, iSelStart: " & iSelStart...
link: My intention of posting the code is that I thought somebody is looking for an answer.
Thanks....
link:
Sub IsCursorAtEnd(et As EditText) As Boolean
Dim cursorPosition As Int = et.SelectionStart...
link: .Initialize("tmr",1000)
tmr.Enabled=True
End Sub
Sub tmr_Tick
If IsCursorAtEnd(Edt) Then...
B4J Question TextArea - how to get Caret(Cursor) position in a SelectionChanged event - moster67    
Feb 25, 2019I am using a TextArea in a project and I would like to show the current position of the caret/cursor when moving around in the text area with the arrow keys on the keyboard. I would also like to get the position when I click in the TextArea using the mouse.
I think to do this, I need to get the caretPosition exposed and also the necessary events to use for tracking the position.
Basically, I want to show the current caret position in a label like this: Pos 2/3500 where 3500 is TextArea.text...
Share My Creation GoogleMapsDemo - klaus    
Apr 30, 2024   
(25 reactions)   
tags: GoogleMaps the cursor doesn't work anymore and the arrow symbol of the cursor changes to a hand allowing... the cursor.
The second Canvas for the intermediate lines, moving lines during the drawing.
The third Canvas for the shapes.
In the VIDEO you see red lines for the cursor, these lines are drawn onto...
Page: 1  
2  
3  
4  
5  
6  
7