G'day scripters
I've just finished setting some of my tables to only display when a particular flag is set, but the button that calls the handler that sets the flag is freezing ,and the tables don't display.
The button displayed the tables if clicked a second time, and from then on, everything worked fine. Only caused trouble on the first click. So, I tried adding the
tell windowMain to displayIfNeeded() and the App completely froze up.
If I add a 'display dialog' to the handler (as shown), then I can get a crash report, which is…
Exception Type: EXC_BAD_ACCESS (SIGSEGV) Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000022
I haven't the foggiest idea of what's going on, so if anyone can advise me, and suggest a remedy, I'de be most appreciative.
Regards
Santa
on toggleshowTheAdvertisementsAndPromotionsField_(sender) my setTheAdvertisementsMoveArrows() my setThePromotionsMoveArrows() set my showTheAdvertisementsAndPromotionsField to not my showTheAdvertisementsAndPromotionsField set my showTheAandPFieldSupportsFlag to my showTheAdvertisementsAndPromotionsField set my showTheAdvertisementsAndPromotionsField to my showTheAdvertisementsAndPromotionsField try display dialog my showTheAandPFieldSupportsFlag as text tell windowMain to displayIfNeeded() on error errmsg number errnum my thereHasBeenAnError("toggleshowTheAdvertisementsAndPromotionsField_", errmsg, errnum, 0, 0) end try end toggleshowTheAdvertisementsAndPromotionsField_
|