D darabon Active Member Feb 19, 2023 #1 I used the horizontal mode of CLV and tried to use ResizeItem but that change height of panel not width How do change width and height of panel
I used the horizontal mode of CLV and tried to use ResizeItem but that change height of panel not width How do change width and height of panel
Erel B4X founder Staff member Licensed User Longtime User Feb 20, 2023 #2 Can you reproduce it in a small project? Upvote 0
D darabon Active Member Feb 20, 2023 #3 Erel said: Can you reproduce it in a small project? Click to expand... My project is big Upvote 0
M Mahares Expert Licensed User Longtime User Feb 20, 2023 #4 darabon said: My project is big Click to expand... The least you can do is post the code you are using to resizeitem, instead of making it hard for members to help you. Upvote 0
darabon said: My project is big Click to expand... The least you can do is post the code you are using to resizeitem, instead of making it hard for members to help you.
D darabon Active Member Feb 20, 2023 #5 I want to know ResizeItem resizes only height or if that can resize width on horizontal mode? Upvote 0
M Mahares Expert Licensed User Longtime User Feb 20, 2023 #6 darabon said: if that can resize width on horizontal mode? Click to expand... I think if you use ResizeItem as in this example, CustomListView1.ResizeItem(5, 100dip), the 100dip refers to the width when you are dealing with horizontal xCLV and refers to height when you are dealing with vertical xCLV. Try it. If that is not the case, perhaps some other member could enlighten you. Upvote 0
darabon said: if that can resize width on horizontal mode? Click to expand... I think if you use ResizeItem as in this example, CustomListView1.ResizeItem(5, 100dip), the 100dip refers to the width when you are dealing with horizontal xCLV and refers to height when you are dealing with vertical xCLV. Try it. If that is not the case, perhaps some other member could enlighten you.
Erel B4X founder Staff member Licensed User Longtime User Feb 21, 2023 #7 CLV items in horizontal mode will always have the height of the CLV itself. ResizeItem will change their width. Upvote 1
CLV items in horizontal mode will always have the height of the CLV itself. ResizeItem will change their width.
D darabon Active Member Feb 21, 2023 #8 Erel said: CLV items in horizontal mode will always have the height of the CLV itself. ResizeItem will change their width. Click to expand... The good answer Thanks Upvote 0
Erel said: CLV items in horizontal mode will always have the height of the CLV itself. ResizeItem will change their width. Click to expand... The good answer Thanks