M mamallii New Member Nov 27, 2020 #1 Hi! I'm using xCustomListView Horizontally but I want it to place the items from right to left. How can I do That?
Hi! I'm using xCustomListView Horizontally but I want it to place the items from right to left. How can I do That?
kisoft Well-Known Member Licensed User Longtime User Nov 28, 2020 #2 HI.... visual designer option visual designer option Upvote 0
M mamallii New Member Nov 28, 2020 #3 kisoft said: HI.... visual designer option visual designer optionView attachment 103723 Click to expand... No my question is not how to set customlistview horizontal. I'm using it horizontally. the problem is that it is left to right I Want it to be right to left Upvote 0
kisoft said: HI.... visual designer option visual designer optionView attachment 103723 Click to expand... No my question is not how to set customlistview horizontal. I'm using it horizontally. the problem is that it is left to right I Want it to be right to left
Erel B4X founder Staff member Licensed User Longtime User Nov 29, 2020 #4 You can add the items with CLV.InsertAt(0, ...) This will cause the list to grow from right to left. Upvote 0
kisoft Well-Known Member Licensed User Longtime User Nov 29, 2020 #5 mamallii said: No my question is not how to set customlistview horizontal. I'm using it horizontally. the problem is that it is left to right I Want it to be right to left Click to expand... Sorry, I misunderstood ... Upvote 0
mamallii said: No my question is not how to set customlistview horizontal. I'm using it horizontally. the problem is that it is left to right I Want it to be right to left Click to expand... Sorry, I misunderstood ...
M mamallii New Member Nov 29, 2020 #6 Erel said: You can add the items with CLV.InsertAt(0, ...) This will cause the list to grow from right to left. Click to expand... Thanks it worked. but the problem is that it seem the first item is the one on the left(its index is 0). and I should scroll left to see the other items. but I want the item at right to be the first item shown by clv. I tried using clv.JumpToItem(clv.Size-1) but nothing happened.(also tried clv.ScrollToItem) P.S: my app is something like google play store. So I have a vertical clv and inside each if this clv's item I have a horizontal clv (there are 2 loops) I put clv.JumpToItem after the 2nd loop's Next but before first loop's Next. something like this: for i ... vertical clv1 for j ... horizontal clv2 next clv2.jumptoitem(clv2.size-1) next Upvote 0
Erel said: You can add the items with CLV.InsertAt(0, ...) This will cause the list to grow from right to left. Click to expand... Thanks it worked. but the problem is that it seem the first item is the one on the left(its index is 0). and I should scroll left to see the other items. but I want the item at right to be the first item shown by clv. I tried using clv.JumpToItem(clv.Size-1) but nothing happened.(also tried clv.ScrollToItem) P.S: my app is something like google play store. So I have a vertical clv and inside each if this clv's item I have a horizontal clv (there are 2 loops) I put clv.JumpToItem after the 2nd loop's Next but before first loop's Next. something like this: for i ... vertical clv1 for j ... horizontal clv2 next clv2.jumptoitem(clv2.size-1) next
Erel B4X founder Staff member Licensed User Longtime User Nov 30, 2020 #7 You can add an empty "stub" item as the first item, wide enough to push the real first item to the right. Upvote 0
You can add an empty "stub" item as the first item, wide enough to push the real first item to the right.