B4J Question SplitPane with dynamic layout

StarinschiAndrei

Active Member
Licensed 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.
upload_2016-9-20_11-37-23.png
upload_2016-9-20_11-38-22.png
 

Attachments

Erel

Administrator
Staff member
Licensed 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

  • 3.6 KB Views: 117

StarinschiAndrei

Active Member
Licensed 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.
Thank you , i try to follow your advice
 
Top