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

Star-Dust

Expert
Licensed User
Longtime User
Update 0.16
  • Fix Bugs
 

JohnJ

Member
Licensed User
Longtime User
Hi

I downloaded this library last week. Nice work, these text fields look really nice. I have noticed that the EnterPressed event does not fire if the Password check box is enabled, this is for the sd_icontextview in B4J on Windows 10. I have not checked the other text fields.

Thanks
John
 

Star-Dust

Expert
Licensed User
Longtime User
If your problem was on B4J try the latest update
 

JohnJ

Member
Licensed User
Longtime User
If your problem was on B4J try the latest update
I have the latest version of B4J. If you take your B4J sample that was included in your post and add the ENTERPRESSED event to SD_ICONTEXTVIEW2, then in your code add a line in the generated event to log something. Run the program, enter something into that field, and press enter. The log will show whatever you keyed into the log statement. Now change SD_ICONTEXTVIEW2 by making it a password field and run that. The log does not show anything as the event is not fired.
 

Star-Dust

Expert
Licensed User
Longtime User
What version are you using?
 

werner_Fourie

Member
Licensed User
Longtime User
Hi Everyone

How can I use the force done with this...
Very nice control but I need that option..

Regards
 

Star-Dust

Expert
Licensed User
Longtime User
Use the NativeObject method to access the native properties of the view and you can select ForceDone to True
 

werner_Fourie

Member
Licensed User
Longtime User
Use the NativeObject method to access the native properties of the view and you can select ForceDone to True
Hi Star Dust..

Nice control..

Do You have an example for me please..Don't know how to do it yet with NativeObject..

Thank You for the response
 

Star-Dust

Expert
Licensed User
Longtime User
Hi Star Dust..

Nice control..

Do You have an example for me please..Don't know how to do it yet with NativeObject..

Thank You for the response
Which class are you using?
 

Star-Dust

Expert
Licensed User
Longtime User
Use the NativeObject method to access the native properties of the view and you can select multi-line
 

Star-Dust

Expert
Licensed User
Longtime User
B4X:
#IF B4A
SD_IconTextView1.NativeObject.SingleLine=False
#ELSE IF B4i
' do not possible - TextField is only sigle line
#ELSE IF B4J
' do not possible - TextField is only sigle line
#END IF
 

Ganiadi

Active Member
Licensed User
Longtime User
Tks for your example, but a Pity it's not possible for b4j

Tks
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…