Rachbob Member Licensed User Jan 1, 2020 #1 hello, I found that there is no click event for scrollview. I wonder how can I call each view added for a later traitement. please if you have an idea. thanks.
hello, I found that there is no click event for scrollview. I wonder how can I call each view added for a later traitement. please if you have an idea. thanks.
DonManfred Expert Licensed User Longtime User Jan 1, 2020 #2 Use xCustomListview instead of Scrollview.
LucaMs Expert Licensed User Longtime User Jan 1, 2020 #3 Rachbob said: hello, I found that there is no click event for scrollview. I wonder how can I call each view added for a later traitement. please if you have an idea. thanks. Click to expand... As said, xCustomListView is a better solution. Anyway, you don't need the ScrollView click event, you should use the view's click event.
Rachbob said: hello, I found that there is no click event for scrollview. I wonder how can I call each view added for a later traitement. please if you have an idea. thanks. Click to expand... As said, xCustomListView is a better solution. Anyway, you don't need the ScrollView click event, you should use the view's click event.
klaus Expert Licensed User Longtime User Jan 1, 2020 #4 How do you add the views onto the ScrollView? You may have a look at ScrollView examples summary, there you find links to several examples using ScrollView.
How do you add the views onto the ScrollView? You may have a look at ScrollView examples summary, there you find links to several examples using ScrollView.
Rachbob Member Licensed User Jan 1, 2020 #5 I have one scrollview filled with several imageviews. I need a click event to display each image into a full screen activity.
I have one scrollview filled with several imageviews. I need a click event to display each image into a full screen activity.
LucaMs Expert Licensed User Longtime User Jan 1, 2020 #6 Rachbob said: I have one scrollview filled with several imageviews. I need a click event to display each image into a full screen activity. Click to expand... LucaMs said: you should use the view's click event. Click to expand... Set the same Event Name to all the ImageViews, like "Image", for example. Then: B4X: Copy Sub Image_Click Dim iv As ImageView = Sender ' here do what you want with iv End Sub
Rachbob said: I have one scrollview filled with several imageviews. I need a click event to display each image into a full screen activity. Click to expand... LucaMs said: you should use the view's click event. Click to expand... Set the same Event Name to all the ImageViews, like "Image", for example. Then: B4X: Copy Sub Image_Click Dim iv As ImageView = Sender ' here do what you want with iv End Sub