New topic: WebView-Based Listbox
<http://forums.realsoftware.com/viewtopic.php?t=47874> Page 1 of 1 [ 1 post ] Previous topic | Next topic Author Message eduo Post subject: WebView-Based ListboxPosted: Tue May 14, 2013 5:02 am Joined: Sun Jun 24, 2007 12:24 pm Posts: 431 Location: Madrid Hello. Has anyone tried doing a listbox-like control in a webview inside a window? I was thinking about it to work around some limitations of the current listbox that I just can't deal with any more and for some uses I could replicate enough of what I need through HTML, CSS and JS. Mostly, what I want to "fix" is the way the listbox scrolls. It sounds picky but I can't deal with whole-row scrolling any more. For some of the uses I'm having the (fake) scroll is jarring and distracting and when using a trackpad or a magic mouse it feels downright unnatural. But I have never done this before. While I wouldn't have a problem with the rendering itself I wonder whether it's possible to catch metadata from the webview on clicks and doubleclicks (like rows and columns) or if there's no way to communicate between the webview and the application. By the way: I have tried using a scrollable canvas, but have found that while this solves the vertical scroll problem it introduces a new problem where the scroll behaviour doesn't feel native to the platform (StyleGrid has this exact same problem with mousewheel scrolling, where a single quick wheel flick can have the listbox scrolling for a good 10 seconds). _________________ ---- http://eduo.info/ http://gallery.eduo.info/ http://twitter.com/eduo/ Top Display posts from previous: All posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost timeSubject AscendingDescending Page 1 of 1 [ 1 post ] -- Over 1500 classes with 29000 functions in one REALbasic plug-in collection. The Monkeybread Software Realbasic Plugin v9.3. http://www.monkeybreadsoftware.de/realbasic/plugins.shtml [email protected]
