Re: Weird button behavior

2011-02-05 Thread Peter Haworth
Thanks for the tips. The breakpoint statement sounds useful, although in this case, I never would have guessed where to put the breakpoint. Unfortunately, they way my code is constructed, the offending statement didn't get executed unless the card was modal. I guess that's another thing to wa

Re: Weird button behavior

2011-02-05 Thread J. Landman Gay
On 2/5/11 5:31 PM, Peter Haworth wrote: I just figured out what was going on and I guess it's worth mentioning since it points out the dangers of testing modal dialogs. In the preOpenCard handler for the modal dialog there was this statement: set the width of this card to 425 This, of course,

Re: Weird button behavior

2011-02-05 Thread Mark Wieder
Peter- Saturday, February 5, 2011, 4:01:52 PM, you wrote: > I was just setting you up for a plug Mark! Thanks for the ...and in that case, I'm falling down on the job. http://www.ahsoftware.net/PowerTools/PowerDebug/PDDemo.html http://www.ahsoftware.net/PowerTools/BuyPowerDebug.irev -- -Mark

Re: Weird button behavior

2011-02-05 Thread Peter Haworth
I was just setting you up for a plug Mark! Thanks for the reminder though, I will now check out PowerDebug. It would have saved me a couple of days of chasing this one down. Pete Haworth On Feb 5, 2011, at 3:51 PM, Mark Wieder wrote: > Pete- > > Saturday, February 5, 2011, 3:31:58 PM, you w

Re: Weird button behavior

2011-02-05 Thread Mark Wieder
Pete- Saturday, February 5, 2011, 3:31:58 PM, you wrote: > So I guess now my question for the community is - What techniques > do you use to test modal dialogs? Well, PowerDebug *does* catch errors in modal dialogs. Debugging modal dialogs is a bit of a tricky situation, though, because the d

Re: Weird button behavior

2011-02-05 Thread Peter Haworth
I just figured out what was going on and I guess it's worth mentioning since it points out the dangers of testing modal dialogs. In the preOpenCard handler for the modal dialog there was this statement: set the width of this card to 425 This, of course, is not a valid statement since cards don'

Re: Weird button behavior

2011-02-05 Thread J. Landman Gay
On 2/4/11 7:39 PM, Peter Haworth wrote: Strange thing happening, actually not happening, when I click on a button in a modal dialog window. I have a mouseUp handler for the button with a few lines of code ending with a close this stack statement. The stack closes but setting break points shows

Weird button behavior

2011-02-04 Thread Peter Haworth
Strange thing happening, actually not happening, when I click on a button in a modal dialog window. I have a mouseUp handler for the button with a few lines of code ending with a close this stack statement. The stack closes but setting break points shows that neither the close statement nor an