B4J Question [Solved] B4XTable & Anchors

LucaMs

Expert
Licensed User
Longtime User
In a B4XPages project with a B4XTable, I load a panel over the Main form (in B4J; Activity in B4A, Page in B4i).

This loading affects the anchoring of the B4XTable, which no longer works.

I attach an example. Just comment out the lines where I load the layout "layOver" and the anchoring works.
 

Attachments

  • B4XTableAnchors.zip
    10.8 KB · Views: 100
Last edited:

LucaMs

Expert
Licensed User
Longtime User
Solved:

1703891047079.png



I have to deselect "Handle Resize Event", otherwise the "layout form" will "eat" the event, "consume" it.

P.S. Yes, but doing that, the panel will not resize automatically! :confused:
 
Last edited:
Upvote 0

LucaMs

Expert
Licensed User
Longtime User
Solved.

I think that in B4J I must call a Resize method of my class from the B4XPage_Resize event (or from [SomeForm].Resize if my project is not a B4XPages, which will never happen again :))


[ - 11 ? ]
 
Last edited:
Upvote 0
Top