B4J Question [Solved] UI Idea - A combination of CLVTree, CLVExpandable and CLVDragger

aeric

Expert
Licensed User
Longtime User
I am not a good UI developer but I have an idea.

I have seen
Combination of CLVExpandable and CLVDragger
and
[B4X] CLVTree - Tree View

I think it would be possible to combine the code to create another CLV class or view that functions like a code editor.
It can be use as
  • a simple IDE or HTML editor
  • a tool for creating a web layout without using HTML
It would also very nice if I can drag a view from a palette to the CLV and add a new item (div) to the bottom of the list which turn out as a B4J pane or B4XView.

idea how to include this technology "under hood" of some our B4X lib\framework, to use without HTML coding

Edit: Solution in post #21
 
Last edited:

aeric

Expert
Licensed User
Longtime User
I kind of successfully combine the code for "Drag and Drop" with CLVTree.

1685781597371.png

1685781663920.png

1685781695218.png
 

Attachments

  • CLVTreeDrag.zip
    66.1 KB · Views: 86
Upvote 0

PaulMeuris

Active Member
Licensed User
It's already looking good... a few CRLFs in the right place make the code view more readable... or maybe use some pretty print tool for the html...
 
Upvote 0
Top