B4J Question SplitPane with dynamic layout

StarinschiAndrei

Active Member
Licensed User
Longtime User
Hi all,
I try to create an app based on SplitPane, each side are created dynamically. I would like to send a value from one side to other (with the bottons from left side i would like to change the label value in right sige). Attached a test project.
 

Attachments

  • testApp.zip
    3.2 KB · Views: 334

Erel

B4X founder
Staff member
Licensed User
Longtime User
You should really avoid using FXML files. They are only kept supported for backwards compatibility. This is especially true with controls that were added after B4J v3.5 like SplitPane.

I think that in this case the usage of classes only makes your code more complicated.

A complete example is attached.
 

Attachments

  • 1.zip
    3.6 KB · Views: 389
Upvote 0

StarinschiAndrei

Active Member
Licensed User
Longtime User
Thank you , i try to follow your advice
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…