See answers below: > Please answer the following questions if you know how: > > 1. How to initialize the Popup Trigger label (not by > constructor) ?
This can be a little tricky. Usually, I have a global Char array and use CtlSetLabel, like this: Char gMyGlobalCharArray [maxArrayLength]; // . . . some code StrCopy (gMyGlobalCharArray, "Hello World!"); CtlSetLabel (popupTriggerLabelPtr, gMyGlobalCharArray); Of course, you want to make absolutely sure that gMyGlobalCharArray will never have a string with length > (maxArrayLength - 1), otherwise you'll have the potential to corrupt memory. > 2. How to make the scroll bar visible or invisible > (enable/disable) ? I think the best thing to do here is use FrmShowObject() and FrmHideObject(). Cheers, -DGA -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/
