Hello,
I am trying to use the CustomDialog to create a modal dialog box. I am using Classes in B4A 2.0 – really neat.
I have a Panel (p1) that contains a ScrollView. The ScrollView is populated with 20 or so labels (that scroll vertically). If a person clicks on a label I want it to trigger a click event.
If I add p1 to the Activity, my click events trigger when a label is tapped.
With identical code only adding p1 instead to a CustomDialog, visually it shows properly and the modal-ness works, but tapping on a label does not fire the click events.
When using the CustomDialog I can scroll the labels vertically within the ScrollView so I know there's not an invisible panel capturing touch events.
Any idea why label click events do not fire when using the CustomDialog?
Thanks,
Barry.
I am trying to use the CustomDialog to create a modal dialog box. I am using Classes in B4A 2.0 – really neat.
I have a Panel (p1) that contains a ScrollView. The ScrollView is populated with 20 or so labels (that scroll vertically). If a person clicks on a label I want it to trigger a click event.
If I add p1 to the Activity, my click events trigger when a label is tapped.
With identical code only adding p1 instead to a CustomDialog, visually it shows properly and the modal-ness works, but tapping on a label does not fire the click events.
When using the CustomDialog I can scroll the labels vertically within the ScrollView so I know there's not an invisible panel capturing touch events.
Any idea why label click events do not fire when using the CustomDialog?
Thanks,
Barry.