G grafsoft Well-Known Member Licensed User Longtime User Oct 22, 2022 #1 How can I set the height of a table in the source code? The designer lets me set the height but I need something like 100%y-80.
How can I set the height of a table in the source code? The designer lets me set the height but I need something like 100%y-80.
Solution Alexander Stolte Oct 22, 2022 grafsoft said: How can I set the height of a table in the source code? Click to expand... Don't use 100%y in the code. Use Root.Height B4X: B4XTable1.mBase.Height = Root.Height - 40dip B4XTable1.Refresh
grafsoft said: How can I set the height of a table in the source code? Click to expand... Don't use 100%y in the code. Use Root.Height B4X: B4XTable1.mBase.Height = Root.Height - 40dip B4XTable1.Refresh
Alexander Stolte Expert Licensed User Longtime User Oct 22, 2022 #2 grafsoft said: How can I set the height of a table in the source code? Click to expand... Don't use 100%y in the code. Use Root.Height B4X: B4XTable1.mBase.Height = Root.Height - 40dip B4XTable1.Refresh Upvote 1 Solution
grafsoft said: How can I set the height of a table in the source code? Click to expand... Don't use 100%y in the code. Use Root.Height B4X: B4XTable1.mBase.Height = Root.Height - 40dip B4XTable1.Refresh
G grafsoft Well-Known Member Licensed User Longtime User Oct 22, 2022 #3 Alexander Stolte said: Don't use 100%y in the code. Use Root.Height B4X: B4XTable1.mBase.Height = Root.Height - 40dip B4XTable1.Refresh Click to expand... Thank you! Root is part of B4XPages, right? I do not use them in this project. Upvote 0
Alexander Stolte said: Don't use 100%y in the code. Use Root.Height B4X: B4XTable1.mBase.Height = Root.Height - 40dip B4XTable1.Refresh Click to expand... Thank you! Root is part of B4XPages, right? I do not use them in this project.
Alexander Stolte Expert Licensed User Longtime User Oct 22, 2022 #4 grafsoft said: Root is part of B4XPages, right? I do not use them in this project. Click to expand... Root is B4XPage, if you dont use it, then you can use Activity.Height i guess. Upvote 0
grafsoft said: Root is part of B4XPages, right? I do not use them in this project. Click to expand... Root is B4XPage, if you dont use it, then you can use Activity.Height i guess.