Well, as I think I mentioned before, I help my boss/the chair of the CS department/the head of IT(yes, he wears all 3 hats) with his intro Palm class, and I'm seeing something that doesn't make much sense to me...
One of the first labs that they have to do involves a program with a 2 forms, and a button on each form that switches to the other form. One of the questions that they have to figure out how to do is to set the code up so that any penDown on the left side of the screen on the second form will switch back to the first form. Now, my friend decided to start playing around with this, and he found something odd which I don't have an answer for: The top left corner of the button(just a plain vanilla button) is at 28. When he sets the value to check the penDown event against at 25, meaning anything on the first 25 pixels will switch to the other form, that part works just fine - but it disables the button. We've tried commenting the code out for each, and they both work if the other isn't there, but if the value's at 25, the button 3 pixels further over doesn't work. (To the best I can figure, if we change the value to something more than 28, it'll work if you click on the button b/c I believe it recognizes it as a penDown, not as a ctlSelectEvent.) Any ideas? Or would you need to see code? -C __________________________________________________ Do you Yahoo!? Y! Web Hosting - Let the expert host your web site http://webhosting.yahoo.com/ -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
