Hi Palm-Coders,
I have some graphical buttons in a frame. The resource file for my project
(PalmOS 3.5 - only free dev tools) contains lines like this:
BITMAP ID Bitmap_Tray "tray.bmp"
BITMAP ID Bitmap_Tray_Invers "tray_x.bmp"
[...]
BUTTON "Del" ID Today_Cmd_Del AT (65 143 15 15)
USABLE LEFTANCHOR NOFRAME FONT 0 GRAPHICAL
BITMAPID Bitmap_Tray
SELECTEDBITMAPID Bitmap_Tray_Invers
The button is displayed correctly in the form. But if I press the button, it
disappears! Normally, I would expect that the invers bitmap file
("tray_x.bmp") will be displayed - but there is nothing.
What is wrong with this definition? Has anyone of you an idea or a working
example?
A similar problem exists for my graphical push-buttons:
BITMAP ID Bitmap_Clock "clock.bmp"
BITMAP ID Bitmap_Clock_Invers "clock_x.bmp"
BITMAP ID Bitmap_Stop "stop.bmp"
BITMAP ID Bitmap_Stop_Invers "stop_x.bmp"
[...]
PUSHBUTTON "Start" ID Today_Cmd_Start AT (123 143 15 15)
USABLE LEFTANCHOR NOFRAME FONT 0 GROUP 1 GRAPHICAL
BITMAPID Bitmap_Clock
SELECTEDBITMAPID Bitmap_Clock_Invers
PUSHBUTTON "Stop" ID Today_Cmd_Stop AT (140 143 18 15)
USABLE LEFTANCHOR NOFRAME FONT 0 GROUP 1 GRAPHICAL
BITMAPID Bitmap_Stop
SELECTEDBITMAPID Bitmap_Stop_Invers
Although the definition NOFRAME is set, a frame is displayed for each of the
push-buttons. And if I press one of the push-buttons - nothing happens, no
invers image will be displayed.
Please help!
Regards,
Oliver
--
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/