B4A Library [B4X] [XUI] [B4XLib] SD TextView

Star-Dust

Expert
Licensed User
Longtime User
Update 0.18
  • Added the ability to change the rounding of the SD_TextView frame from the Design
 

Star-Dust

Expert
Licensed User
Longtime User
Update 0.21
  • Added Editable field in the design
  • Fix bugs
 
Last edited:

Star-Dust

Expert
Licensed User
Longtime User
Update 0.22
  • Added methods in SD_TextView
    • SetHintColor (HintTextColor As Int, HintBackGroundColor As Int)
    • SetTextViewColor (TextColor As Int, BackGroundColor As Int, Corner_Color As Int)
 

Star-Dust

Expert
Licensed User
Longtime User
Update rel. 0.23
  • Fixed BUGS in Android version. Avoid crashes when it doesn't get to initialize objects in time to use the methods
 

Star-Dust

Expert
Licensed User
Longtime User
Update rel. 0.24
  • Fixed old bug that created an annoying flash on B4J when the view was not editable
 

Scandisk

Member
Licensed User
Hello,

i'm using your SD_TextView component in one aplication, but, if i try to do this to save cursor position ...

Dim pos As Int = numImporte.mBase.SelectionStart

I get the following error ...

java.lang.ClassCastException: anywheresoftware.b4a.BALayout cannot be cast to android.widget.EditText

Any guidance on whether it's possible to perform that action with its component?

thanks in advance
 

Star-Dust

Expert
Licensed User
Longtime User
B4X:
Dim pos As Int = numImporte.mBase.SelectionStart
That's wrong, mBase is the base of the view, it doesn't have the SelectionStart property. I don't understand why you want to use the basic panel to find the cursor position
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…