Just a warning: Palm doesn't recommend direct object modification because of possible forward incompatibility.
You might get a warning message from either pose, or debug rom, but in real life this should be OK so far. M. -----Original Message----- From: Michael Lim [mailto:[EMAIL PROTECTED]] Sent: Friday, 7 December 2001 1:11 PM To: Palm Developer Forum Subject: Re: Rectangle Button Frame Hi Sajul, Thanks, it works beautifully! "sajulpn" <[EMAIL PROTECTED]> wrote in message news:70333@palm-dev-forum... > > 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. > > I think this should do it for you. > Cheers > Sajul > > Ps:- This solution was from My Partner Geeta. If this solution gives u > any problem please do call back. > > > -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/ -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/
