S stevenindon Active Member Licensed User Dec 4, 2021 #1 Hello all, I have been trying to complete a project with Customlistview and i am desperately trying to resize the Customlistview panel. Here are my codes : MyCustomListv.sv.Height=50 and i don't see any changes on the Customlistview panel. I am running it directly on my iPhone 6. *Could it be iPhone 6 is too old or is there a bug? * Tried : CustListv.Base_Resize (CustListv.GetBase.Width, CustListv.GetBase.Height) <-- but didnt work I can run the same code without problem with B4A Please Help
Hello all, I have been trying to complete a project with Customlistview and i am desperately trying to resize the Customlistview panel. Here are my codes : MyCustomListv.sv.Height=50 and i don't see any changes on the Customlistview panel. I am running it directly on my iPhone 6. *Could it be iPhone 6 is too old or is there a bug? * Tried : CustListv.Base_Resize (CustListv.GetBase.Width, CustListv.GetBase.Height) <-- but didnt work I can run the same code without problem with B4A Please Help
Alexander Stolte Expert Licensed User Longtime User Dec 4, 2021 #2 If you want to resize the ListView, do this: B4X: Copy xclvMain.Base_Resize(200dip,800dip) xclvMain.AsView.Height = 800dip If you want to resize a "Panel" in the ListView, then do this: B4X: Copy xclvMain.ResizeItem(0,40dip) Upvote 0
If you want to resize the ListView, do this: B4X: Copy xclvMain.Base_Resize(200dip,800dip) xclvMain.AsView.Height = 800dip If you want to resize a "Panel" in the ListView, then do this: B4X: Copy xclvMain.ResizeItem(0,40dip)
S stevenindon Active Member Licensed User Dec 4, 2021 #3 Alexander, Thank you for your prompt reply. I have tested all the above but it did not change anything. The command .ResizeItem(0,40dip) changes the item inside the panel but not the panel itself. I am trying to change the panel height (Panel that is inside the CustomListView). Upvote 0
Alexander, Thank you for your prompt reply. I have tested all the above but it did not change anything. The command .ResizeItem(0,40dip) changes the item inside the panel but not the panel itself. I am trying to change the panel height (Panel that is inside the CustomListView).
Alexander Stolte Expert Licensed User Longtime User Dec 4, 2021 #4 Alexander Stolte said: xclvMain.Base_Resize(200dip,800dip) xclvMain.AsView.Height = 800dip Click to expand... hmm, i'm using this code in my projects without problems... Upvote 0
Alexander Stolte said: xclvMain.Base_Resize(200dip,800dip) xclvMain.AsView.Height = 800dip Click to expand... hmm, i'm using this code in my projects without problems...
Erel B4X founder Staff member Licensed User Longtime User Dec 5, 2021 #5 stevenindon said: *Could it be iPhone 6 is too old or is there a bug? Click to expand... No and no. stevenindon said: I am trying to change the panel height (Panel that is inside the CustomListView). Click to expand... I'm not sure that I understand. There are many panels inside xCLV. Upvote 0
stevenindon said: *Could it be iPhone 6 is too old or is there a bug? Click to expand... No and no. stevenindon said: I am trying to change the panel height (Panel that is inside the CustomListView). Click to expand... I'm not sure that I understand. There are many panels inside xCLV.
S stevenindon Active Member Licensed User Dec 5, 2021 #6 Thank you Erel. I am trying to wrap CustomListView into my own Customview again... but i guess its quite a challenge. What i am trying to achieve is to build a horizontal scrolling of Photos (30 photos) with product descriptions. I tried using HorizontalScrollView (Turned into B4xView) and it works perfectly of what i wanted... but i dont find HorizontalScrollView in B4i *Trying to build Cross platform (Android and IOS - turning all objects to B4xView) How can i go around this WITHOUT using CustomListView? Thanks Upvote 0
Thank you Erel. I am trying to wrap CustomListView into my own Customview again... but i guess its quite a challenge. What i am trying to achieve is to build a horizontal scrolling of Photos (30 photos) with product descriptions. I tried using HorizontalScrollView (Turned into B4xView) and it works perfectly of what i wanted... but i dont find HorizontalScrollView in B4i *Trying to build Cross platform (Android and IOS - turning all objects to B4xView) How can i go around this WITHOUT using CustomListView? Thanks
Erel B4X founder Staff member Licensed User Longtime User Dec 6, 2021 #7 stevenindon said: How can i go around this WITHOUT using CustomListView? Click to expand... Wrong question. You should use xCLV. It supports horizontal orientation and is cross platform. Upvote 0
stevenindon said: How can i go around this WITHOUT using CustomListView? Click to expand... Wrong question. You should use xCLV. It supports horizontal orientation and is cross platform.