B4J Question TableView set height

andrewmp

Member
Licensed User
Longtime User
Can someone tell me how to set TableView height at runtime ? Thanks
 

keirS

Well-Known Member
Licensed User
Longtime User
What are you trying to achieve? In most cases using the anchors in the designer will enable you to resize your tableview to fit your layout.
 
Upvote 0

andrewmp

Member
Licensed User
Longtime User
I am maximising screen at runtime and need to set TableView ht

See attached zip it illustrates the problem , TableView1 ht is always ht of layout 2 if anchor up/down selected or does not change size if anchor only up, either way no control of ht at runtime.

Seems I must abandon layouts to make this work (hope not)
 

Attachments

  • test.zip
    22.9 KB · Views: 131
Upvote 0

andrewmp

Member
Licensed User
Longtime User
No, that's exactly where it is, in MainForm_Resize ...

Also tried SetSize (no effect)
 
Upvote 0

andrewmp

Member
Licensed User
Longtime User
Did not know about FlexibleTable, your note I think exemplifies a problem for newer users, it is almost impossibile to find the list of latest internal libraries (I cant find the link anymore) - it would be nice if it was on the main page somewhere clearly visibile... Thanks
 
Upvote 0
Top