Ben, thanks for the quick reply. Actually, that's why I DON'T want to use CtlSetLabel; I don't want the button width to change. (I read in the PalmOS Reference that CtlSetLabel will change the control's width.) So, why go through the hassle of saving and re-setting the button's bounds, if I can just write directly to the returned pointer and not have the bounds change on me.
You are right, though, that I will need to re-draw the button. In fact, I forgot to add the lines where I hide, then show the button before and after changing the label. So, just to make sure I understand, when a form is loaded and initialised, all the form's objects are "locked" in dynamic memory, right? This allows me to get the pointer to a button's label and expect it to stay there while the form is loaded, right? Thanks and regards, Ed. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
