Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search

view and lost events

 [1/2] from: sags::apollo::lv at: 23-Jan-2006 23:14

Help - I am lost between read-thru and view face events! I have a view that works like simple Mapserver client with zoom box, etc. I made new version that supports panning, by dragging with mouse. All worked fine (zooming, panning) until I changed simple loading map image from "load" to read-thru/to (see example bellow). Zoom box worked, but while mapfile loads it slowly follows cursor instead that by script logic (that I did not change) it should stop. And my map pane no more returning to zero offset after map image loading. How to not loose control over (mouse) events, when read-thru works? Or what hapens with feels when read-thru works and how to manage those proceses? loadMapImg: func [ mapUrl /local rezImg ][ if exists? %mapImg.gif [ delete %mapImg.gif ] either attempt [ rezImg: read-thru/to mapUrl %mapImg.gif ; rezImg: load mapUrl ][ return load %mapImg.gif ; return rezImg ][ return none ] ]

 [2/2] from: sags::apollo::lv at: 24-Jan-2006 18:18

I wanted to use READ-THRU because of progress bar. But I tried load-thru, but the result are the same. I am just confused about why when I am using just LOAD all face feels/events works like expected, but when I am using (instead of LOAD) LOAD-THRU or READ-THRU it works differently. Janeks On 24 Jan 2006 at 19:49, Anton Rolls wrote: