B4J Question [Resolved] Scrollable buttons in B4A ok but I can't in B4J

Gnappo jr

Active Member
Licensed User
Longtime User
Hello everybody
In B4A I made a scrollview in which I add 20 buttons programmatically and I scroll!
I enclose a test program in B4A where you can see the buttons created and detachable.
Can you help me do the same thing in B4J without using additional layouts or just inserting the buttons programmatically?
 

Attachments

  • MatrixButton2.zip
    9.8 KB · Views: 104
Last edited:

Gnappo jr

Active Member
Licensed User
Longtime User
Hello everybody
In B4A I made a scrollview in which I add 20 buttons programmatically and I scroll!
I enclose a test program in B4A where you can see the buttons created and detachable.
Can you help me do the same thing in B4J without using additional layouts or just inserting the buttons programmatically?
unlike the Italian forum, here it is specified:
without using additional layouts
 
Upvote 0

klaus

Expert
Licensed User
Longtime User
Is this is what you are looking for?
It is a B4XPages project working on all three platforms.
B4A, B4J and B4i have some differences you need to manage.
These differences are hidden to the programmer in the xCLV library.
 

Attachments

  • MatrixButtons.zip
    15 KB · Views: 124
Upvote 1

Gnappo jr

Active Member
Licensed User
Longtime User
Is this is what you are looking for?
It is a B4XPages project working on all three platforms.
B4A, B4J and B4i have some differences you need to manage.
These differences are hidden to the programmer in the xCLV library.
It is exactly what I was looking for! Really a great example and also multiplatform. Thanks.
 
Upvote 0
Top