>Subject: Re: Rectangle Button Frame >From: sajulpn <[EMAIL PROTECTED]> >Date: Sat, 08 Dec 2001 12:08:13 +0530 >Hi Roger, > I agree with whatever you have said, this might not work >with the next major release. But what is the next major release supposed >to give to enable us to change frame attributes? Palm talks about the >glue functions, but I have failed to locate anything there. Surely Palm >will not remove a facility that that they have given to us till right >now. That would be absurd. They have to provide some method or call to >change frame attributes dynamically. If that is not the case then all >the old applications written earlier will need major changes to run on >new devices. <SNIP> > >>Stringer wrote: >> >>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 guaranteed to fail >>in the very near future. A bad programming style!
Actually this is a sore point with me. I set some of the buttons in the body of forms to have square frames. Its a good UI trick. But you have to write the button structure to do it and that's not going to be supported in future OS's. The glue functions give you ways of setting system structure elements without directly writing to the structure. But if Palm don't provide a glue function for a particular field in a structure then you are out of luck. The trap code in the current version of the emulator gives warnings for programming techniques that are expected to fail in future releases. 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/
