In my app I have a WebApp with a particular WebListBox half full of rows. I have a HeaderPressed event on the WebListBox. When I click on the column header the HeaderPressed event launches. When I click on a row the HeaderPressed event doesn’t launch. OK so far. But when I click on the blank area below my rows of data the HeaderPressed event launches for the corresponding column.
Methinks, create a feedback report with a sample project. My problem is that I cannot reproduce this behaviour in my sample, despite the WebListBox’s being identical the WebListBox is in a container on the page. Other WebListBox’s in my same app don’t display this behaviour, only this one so far.
Any clues on what might be the issue so I can either fix it or report it? I am on the latest Xojo 2015R4 on Mac.
Hmm, I would check the z-order of either the WebListBox in its container, especially if there are other controls in there, or of that container in the WebPage.
Have a play with the move forward and back buttons, that might just clear the problem even if you’re not really changing things once everything is back in place.
I very occasionally see z-order indices get a little out of whack, or when inspecting the DOM at runtime things don’t quite match up and so the path of DOM events can be a little screwy. Resetting the position of controls in the designer often fixes this.
[quote=243436:@David Cox]In my app I have a WebApp with a particular WebListBox half full of rows. I have a HeaderPressed event on the WebListBox. When I click on the column header the HeaderPressed event launches. When I click on a row the HeaderPressed event doesn’t launch. OK so far. But when I click on the blank area below my rows of data the HeaderPressed event launches for the corresponding column.
Methinks, create a feedback report with a sample project. My problem is that I cannot reproduce this behaviour in my sample, despite the WebListBox’s being identical the WebListBox is in a container on the page. Other WebListBox’s in my same app don’t display this behaviour, only this one so far.
Any clues on what might be the issue so I can either fix it or report it? I am on the latest Xojo 2015R4 on Mac.[/quote]
Make sure your sample has the exact same number of rows visible and the exact same data displayed.
I’ve tried a dozen things (moving to front/back, cut & paste, Save As, resizing, etc) but it’s still happening. I’ll report back when I get it fixed or predictable in the sample.