Problematic script on Windows 7!

charles61 cszasz at mac.com
Fri Nov 5 21:59:36 EDT 2010


Mark,

There are no "pass mouseUp' commands in any of the checkboxes. Most of the checkboxes don't have a script. They do have a custom property, uMylabel, which is used in a group script to populate a field with the labels on print only cards. The checkboxes that do have scripts consist of displaying a field when checked and putting empty into the field when it is not checked on both the regular cards and print cards.

The exact error message:

Type: Handler: can't find handler
Object: button 'Print' of card 'comm' of stack 'C/ProgramData/StudentReport.rev
Line: send 'mouseUp' to button b
Line Num: 2608
Hint: mouseUp

When I move the script from the print button to the script of the card, I get the same error message except it references the card and a different line number.

How do you check no. of buttons and the no. of buttons of this card?

Charles Szasz
cszasz at mac.com




On Nov 5, 2010, at 9:25 PM, Mark Schonewille-3 [via Runtime Revolution] wrote:

> Hi, 
> 
> No idea why you don't get an error on Mac. Do you have a 'pass mouseUp' command in one of the checkboxes? Or does one of the buttons lack a mouseUp handler? Could you copy and paste the exact text of the error message? Can you check that the number of buttons and the number of buttons of this card return the same number? 
> 
> -- 
> Kind regards, 
> 
> Mark Schonewille 
> Economy-x-Talk 
> Http://economy-x-talk.com 
> 
> Share the clipboard of your computer over a local network with Clipboard Link http://clipboardlink.economy-x-talk.com
> 
> 
> Op 6 nov. 2010 om 02:11 heeft charles61 <[hidden email]> het volgende geschreven: 
> 
> > 
> > The following script, which works fine on the Mac, gets flagged by Windows 7 
> > in a windows standalone. 
> > 
> > The line that is cited: Send 'mouseUp' to button b is displayed in bug 
> > report on the standalone that it cannot find a handler with the above line. 
> > After the message, printing of a single page starts. 
> > 
> > on doStuff3 
> >   put the num of this card into tStartCard 
> >   lock screen 
> > 
> >   repeat with y = 1 to the number of cards 
> >      if the mark of card y <> true then 
> >         next repeat 
> >      end if 
> >      lock messages 
> >      go card y   
> >      unlock messages 
> >      repeat with b = 1 to the number of buttons 
> >         if the style of button b = "checkbox" then 
> >            send "mouseUp" to button b 
> >         end if 
> >      end repeat 
> > 
> >   end repeat 
> >   lock messages 
> >   go card tStartCard 
> >   unlock messages 
> >   unlock screen 
> > end doStuff3 
> > 
> > Any suggestions? 
> > 
> > -- 
> > View this message in context: http://runtime-revolution.278305.n4.nabble.com/Problematic-script-on-Windows-7-tp3029606p3029606.html
> > Sent from the Revolution - User mailing list archive at Nabble.com. 
> > _______________________________________________ 
> > use-revolution mailing list 
> > [hidden email] 
> > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: 
> > http://lists.runrev.com/mailman/listinfo/use-revolution
> _______________________________________________ 
> use-revolution mailing list 
> [hidden email] 
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: 
> http://lists.runrev.com/mailman/listinfo/use-revolution
> 
> 
> View message @ http://runtime-revolution.278305.n4.nabble.com/Problematic-script-on-Windows-7-tp3029606p3029614.html 
> To unsubscribe from Problematic script on Windows 7!, click here.
> 


-- 
View this message in context: http://runtime-revolution.278305.n4.nabble.com/Problematic-script-on-Windows-7-tp3029606p3029626.html
Sent from the Revolution - User mailing list archive at Nabble.com.



More information about the Use-livecode mailing list