sinuser Member Licensed User Longtime User Jul 3, 2018 #1 Hi, i need to resize the customlistview at runtime, i have found this code for b4a: CLV.GetBase.Height = NewHeight CLV.sv.Height = NewHeight but it does not work Thanks
Hi, i need to resize the customlistview at runtime, i have found this code for b4a: CLV.GetBase.Height = NewHeight CLV.sv.Height = NewHeight but it does not work Thanks
Erel B4X founder Staff member Licensed User Longtime User Jul 4, 2018 #2 Create a layout with CLV anchored to all sides. Load this layout to a panel. You can now change the panel size and position and CLV will be resized automatically. Upvote 0
Create a layout with CLV anchored to all sides. Load this layout to a panel. You can now change the panel size and position and CLV will be resized automatically.
sinuser Member Licensed User Longtime User Jul 4, 2018 #3 i don't understan, i have loaded the grid like so pnlFilter.LoadLayout("ly_gridFilters") but if i try to set the height of the panel doesn't change pnlFilter.Height = 300dip i can't override the height of the disign Upvote 0
i don't understan, i have loaded the grid like so pnlFilter.LoadLayout("ly_gridFilters") but if i try to set the height of the panel doesn't change pnlFilter.Height = 300dip i can't override the height of the disign
sinuser Member Licensed User Longtime User Jul 4, 2018 #4 ok i solved unchecking "Handle resize events" Upvote 0