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

behnam_tr

Active Member
Licensed User
Longtime User

dont exist such object in b4j
 

Star-Dust

Expert
Licensed User
Longtime User
dont exist such object in b4j
As you may have noticed, it says B4A Sample.
While if you want to do it in B4J the view is TextField.

PS. In B4J there is no native method to filter the input, that I know of. I need to check when raising event while typing text
 

behnam_tr

Active Member
Licensed User
Longtime User
As you may have noticed, it says B4A Sample.
While if you want to do it in B4J the view is TextField.

PS. In B4J there is no native method to filter the input, that I know of. I need to check when raising event while typing text

i make a customview(textfield) for b4j
that have filter for numbers and convert to currency format runtime
but need some change
can you check that??
how can i send for you??
thanks
 

Star-Dust

Expert
Licensed User
Longtime User
It's a control you can insert into the EnterPressed event using a notification library.

I don't see the need to insert a control upstream of the event. It would burden the library because I would have to insert an extra class for notifications

I don't know Devexpress I'm sorry.
 
Last edited:

Star-Dust

Expert
Licensed User
Longtime User
i make a customview(textfield) for b4j
that have filter for numbers and convert to currency format runtime
but need some change
can you check that??
how can i send for you??
thanks
I do not understand
 

Ertan

Active Member
Licensed User
Hello Thanks for your library. I noticed something.

If I change the font color to red, it also makes the frame color red. But I just want to make the EditText color red.
I did this with code;
B4X:
Dim EditText1 As EditText = SD_TextView4.NativeObject
    EditText1.TextColor=Colors.Blue
I still set the border color from Text Color.

In addition;



We are getting this error from two separate computers.
I use library versions : 0.07

Thanks.
 

Star-Dust

Expert
Licensed User
Longtime User
Hello Thanks for your library. I noticed something.

If I change the font color to red, it also makes the frame color red. But I just want to make the EditText color red.
Yes, it is actually designed that way. Did you need to separate the colors?

In addition;

View attachment 103159

We are getting this error from two separate computers.
I do not know. But does it only do this on some computers? B4A, Bai or B4J? Have you copied the b4xlib files to the additional libraries folder?
 

Ertan

Active Member
Licensed User
I do not know. But does it only do this on some computers?
I tried it on two computers in the office. I encountered the same error. There is no library in my library that will conflict. (I think so)..
Yes, it is actually designed that way. Did you need to separate the colors?
But this is a little tiring when it comes to design. It would have been nicer to be able to adjust the individual colors. We wouldn't have to write additional code

-----------



In your sample project, I could not see this either. Do you have a chance to add?
 

Ertan

Active Member
Licensed User
I do not know. But does it only do this on some computers? B4A, Bai or B4J? Have you copied the b4xlib files to the additional libraries folder?
I always copy the downloaded libraries to the Additional Libraries folder.

I checked the normal library folder but could not see it from the same library.

I just tried it with B4J, but it gave the same error.



We cannot adjust the panel corner edge radius either. Too many corners How can we reduce its angularity?
 
Last edited:

Star-Dust

Expert
Licensed User
Longtime User
Update 0.08
  1. It is possible to choose the color of the frame from the design
 

Ertan

Active Member
Licensed User
Update 0.08
  1. It is possible to choose the color of the frame from the design
It would be nice to be able to adjust the spacing of the text from the area in the picture.

It can be done with code but is not functional.

B4X:
    Dim EditText1 As EditText = SD_TextView4.NativeObject
    EditText1.Gravity=Gravity.CENTER

We cannot adjust the panel corner edge radius either. Too many corners How can we reduce its angularity?

The error has not gone away yet. :/

I wanted to help you make this beautiful library more functional and beautiful.

I would be very grateful if you could show me how to create this component.
 

Star-Dust

Expert
Licensed User
Longtime User
Try the attached examples (which have been updated) and see if you run into the same problem.
The indicated object has the wrong class name. It is not _SD_TextView as it appears in the image but SD_TextView.
Also try deleting the views and inserting them again. Perhaps you entered an old class that no longer exists
 

Star-Dust

Expert
Licensed User
Longtime User
Be satisfied with the changes made. I don't have time to implement all your requests, sorry.
 

Ertan

Active Member
Licensed User
Be satisfied with the changes made. I don't have time to implement all your requests, sorry.
I found the source and solution of the problem.

I get this error when I right click on the design and click Add Layout.



This situation returns as an error on both computers.

But..


successfully adding layout.

When I add CustomView from the Add New button next to the file button, I do not get this error.
 

Star-Dust

Expert
Licensed User
Longtime User
I report this to Erel (Here). In fact it looks like a bugs in the IDE environment
 
Last edited:

Star-Dust

Expert
Licensed User
Longtime User
I will ask Erel to delete my post
 

Star-Dust

Expert
Licensed User
Longtime User
NEXT UPDATE TwoIconTextView

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