href=http://www.son.washington.edu/~brianp>brianp@u.washington.edu ButtonUp's loc sometimes gets corrupted
Rob Fink Asymetrix
>MTUG BUG #9 (Melbourne Toolbook User Group Identified Bug) > >Subject: ButtonUp's loc sometimes gets corrupted >Version: MM Toolbook CBT edition / 3.0a >Detected by: Andy Bulka abulka@empire.com.au >Date: 19-Sep-1995 > >PROBLEM SUMMARY >=============== > >ButtonUp's loc is corrupted when the mmOpen statement >is executed and the clip AAA is not yet open. > >The value of loc below is different for buttonDown >and buttonUp. It should be the same. > >TO REPRODUCE >============ >Create a field named "res" then create a button with >the following script in it: > >to handle buttonDown loc > put buttonDown &tab& loc &crlf after text of field res > mmOpen clip "AAA"; mmYield > forward >end >to handle buttonUp loc > put buttonUp &tab& loc &crlf &crlf after text of field res > > -- Once clip AAA is open, 'loc' behaves correctly. Here > -- I close all clips so that the problem always occurs. > mmClose all >end > >I get results like: > >EVENT LOC >-------------------------- > >buttonDown 4440,390 >buttonUp 4965,1200 > >buttonDown 4440,390 >buttonUp 4965,1200 > >where loc should be identical. When clip AAA is already open, >then they ARE identical. > >-- END BUG REPORT > >--------------------------------------------------- >Andy Bulka abulka@empire.com.au ph: +613 593-1389 > "Author Level - and loving it" > Melbourne TUG (Toolbook User Group) Australia. >---------------------------------------------------
Return to Index
