>Subject: Rectangle Button Frame >From: sajulpn <[EMAIL PROTECTED]> >Date: Thu, 06 Dec 2001 17:49:19 +0530 > Hi Michael , > There is a method to change the button frame without >getting warning. But if what Ben says is true then you better stick to >Push button. Anyway here is how you do it. > > * First allocate a temp control pointer. > * memcpy the control pointer for the button to change to this temp > pointer. > * Change the attr.frame value in the temp pointer to the frame type > you want. > * memcpy the temp pointer back to the original control pointer.
This might be a work around for the current error trap, but the error trap exists because Palm doesn't expect this will work with the next major release of the OS. All you are really doing is building code which is guarenteed to fail in the very near future. A bad programming style! Roger Stringer Marietta Systems, inc -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/
