On Wed, Feb 26, 2003 at 03:07:54PM -0500, news.palmos.com wrote: > Has anyone found a fix or work around to the graphic button Selected Bitmap > problem that exists with OS 3.5. Basically, if a graphic button is used, > then the item appears as blank when selected. This can be demonstrated with > either selecting the button with the pen or using CtlSetValue to set its > value to true. Either way, the image is blank.
I'm not sure if what you're experiencing the same problem I had, but it sounds similar. I had an array of pushbuttons with images in them. However if one of the pushbuttons were to be already highlighted by the time FrmDrawForm() is called, the highlight would draw underneith of the image. In order to fix I ran CtlSetValue( selectedObjectPtr, false ); FrmShowObject( form, FrmGetObjectIndex( form, objectID ) ); CtlSetValue( selectedObjectPtr, true ); It caused a small flicker, but the display issue was fixed. > This error only occurs with 1 bit images (I have not tried 2 or 4 bits), 8 > bit or higher resolutions seem to work fine. It also works fine with OS 4.0 > or greater with all bit resolutions. It will also work if you turn the > frame of the button on. (Not an really an option.) For me this happened with all resolutions.. > Any ideas would be greatly appreciated. (BTW. I do not want to use the old > style of handling bitmap buttons.) Hope this helps :) -- Adam McDaniel Array.org Calgary, AB, Canada -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
