B4J Question Need simple HTML Formatter/Rich Text Box?

MrKim

Well-Known Member
Licensed User
Longtime User
Done some research and thought I would ask the question before I reinvent the wheel.

Looks like you can't change font size or color with a text area?
That leaves me with Webview. Which is fine but I don't know HTML and no time to learn it.
I just need simple formatting.
Lines will look something like this:

Job 12345 Rel 1 OP 25
Due 12/22/19
Mat'l: NOT ORDERED
Start: 12/15/19

But there willl be 10 to 500 in a Xcustomlistview or listview.

Thanks for any help.
 

MrKim

Well-Known Member
Licensed User
Longtime User
Looks like I can't use it, I need to use it with drag and drop and when I try to compile I get the following error:
B4X:
B4J Version: 8.00
Java Version: 8
Parsing code.    (0.08s)
Building folders structure.    (0.01s)
Compiling code.    (0.36s)
Compiling layouts code.    (0.00s)
Organizing libraries.    (0.00s)
Compiling generated Java code.    Error
B4J line: 50
DragDrop.MakeDragSource(txtSource, \
javac 1.8.0_131
src\com\stevel05\draganddrop\main.java:128: error: incompatible types: bbcodeview cannot be converted to Node
_dragdrop._makedragsource /*String*/ (null,(anywheresoftware.b4j.objects.NodeWrapper.ConcreteNodeWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4j.objects.NodeWrapper.ConcreteNodeWrapper(), (javafx.scene.Node)(_txtsource)),"txtSource");
                                                                                                                                                                                                                                                        ^
1 error
 
Upvote 0
Top