rbirago Active Member Licensed User Longtime User Oct 15, 2020 #1 When I create a BBCodeView in the designer I define its height. When I populate this BBCodeView if the result is higher then what I have defined it creates a scroll to navigate in the field. Is there a way to get the virtual height of the result and so to modify programmatically the height of the BBCodeView field? To explain what I mean: in this forum the area in which I am writing is a source of something similar to a BBCodeView. The result is not a fixed-height panel with a scrollbar, but a resized one. May I have the same result using a BBCodeView?
When I create a BBCodeView in the designer I define its height. When I populate this BBCodeView if the result is higher then what I have defined it creates a scroll to navigate in the field. Is there a way to get the virtual height of the result and so to modify programmatically the height of the BBCodeView field? To explain what I mean: in this forum the area in which I am writing is a source of something similar to a BBCodeView. The result is not a fixed-height panel with a scrollbar, but a resized one. May I have the same result using a BBCodeView?
Erel B4X founder Staff member Licensed User Longtime User Oct 15, 2020 #2 You can get the value of BBCodeView.sv.ScrollViewContentHeight. Upvote 0
rbirago Active Member Licensed User Longtime User Oct 15, 2020 #3 fine, I will try it soon. thank you Upvote 0