Israel Gallegos Member Licensed User Nov 29, 2023 #1 Hi, is it possible to get the Y position of a selected item in the CustomListView?
Andrew (Digitwell) Well-Known Member Licensed User Longtime User Nov 29, 2023 #2 Yes, but what are you trying to do? If you loop through all of the CLV items before it in the list, use getPanel and then get the height of the panels and add them together. Upvote 0
Yes, but what are you trying to do? If you loop through all of the CLV items before it in the list, use getPanel and then get the height of the panels and add them together.
Alexander Stolte Expert Licensed User Longtime User Nov 29, 2023 #3 Israel Gallegos said: is it possible to get the Y position of a selected item in the CustomListView? Click to expand... Yes B4X: CustomListView1.GetRawListItem(0).Offset Upvote 0
Israel Gallegos said: is it possible to get the Y position of a selected item in the CustomListView? Click to expand... Yes B4X: CustomListView1.GetRawListItem(0).Offset
Andrew (Digitwell) Well-Known Member Licensed User Longtime User Nov 29, 2023 #4 Alexander Stolte said: Yes B4X: CustomListView1.GetRawListItem(0).Offset Click to expand... Much better than my solution! Upvote 0
Alexander Stolte said: Yes B4X: CustomListView1.GetRawListItem(0).Offset Click to expand... Much better than my solution!
Israel Gallegos Member Licensed User Nov 29, 2023 #5 Andrew (Digitwell) said: Yes, but what are you trying to do? If you loop through all of the CLV items before it in the list, use getPanel and then get the height of the panels and add them together. Click to expand... Thank you !! I understand, I want to show a floating menu when the user selects an item, but I want it to show at the position of the item. Upvote 0
Andrew (Digitwell) said: Yes, but what are you trying to do? If you loop through all of the CLV items before it in the list, use getPanel and then get the height of the panels and add them together. Click to expand... Thank you !! I understand, I want to show a floating menu when the user selects an item, but I want it to show at the position of the item.
Israel Gallegos Member Licensed User Nov 29, 2023 #6 Alexander Stolte said: Yes B4X: CustomListView1.GetRawListItem(0).Offset Click to expand... OK Thank you, I try these options Upvote 0
Alexander Stolte said: Yes B4X: CustomListView1.GetRawListItem(0).Offset Click to expand... OK Thank you, I try these options
Israel Gallegos Member Licensed User Nov 29, 2023 #7 Alexander Stolte said: Yes B4X: CustomListView1.GetRawListItem(0).Offset Click to expand... I works fine!! Thank you Upvote 0
Alexander Stolte said: Yes B4X: CustomListView1.GetRawListItem(0).Offset Click to expand... I works fine!! Thank you