The PilRC compiler is good, but PilRC Designer has lots of bugs. This sounds like one of them.
Be careful w/ PilRC Designer and graphical buttons. I can't even open a form that has graphical buttons w/o PilRC Designer mangling their sizes.



Zechner Christian wrote:
Hi!
I have any problems with PilRC Designer.
For example:
I add some BITMAPCOLOR16K:

BITMAPCOLOR16K ID BotonLupa1_16K "Pantalla2_r8_c1.bmp"
BITMAPCOLOR16K ID BotonLupa2_16K "Pantalla2_r8_c1_f2.bmp"
BITMAPCOLOR16K ID BotonProductos1_16K "Pantalla2_r2_c2.bmp"
BITMAPCOLOR16K ID BotonProductos2_16K "Pantalla2_r2_c2_f2.bmp"
BITMAPCOLOR16K ID BotonDrogas1_16K "Pantalla2_r3_c2.bmp"
BITMAPCOLOR16K ID BotonDrogas2_16K "Pantalla2_r3_c2_f2.bmp"
BITMAPCOLOR16K ID BotonLaboratorios1_16K "Pantalla2_r4_c2.bmp"
BITMAPCOLOR16K ID BotonLaboratorios2_16K "Pantalla2_r4_c2_f2.bmp"
BITMAPCOLOR16K ID BotonPatologias1_16K "Pantalla2_r5_c2.bmp"
BITMAPCOLOR16K ID BotonPatologias2_16K "Pantalla2_r5_c2_f2.bmp"
BITMAPCOLOR16K ID BotonAccionesTerap1_16K "Pantalla2_r6_c2.bmp"
BITMAPCOLOR16K ID BotonAccionesTerap2_16K "Pantalla2_r6_c2_f2.bmp"

Then I use those bitmaps in my MainForm

BUTTON "" ID BotonBuscar  AT (1 143 23 17) NOFRAME GRAPHICAL BITMAPID
BotonLupa1_16K SELECTEDBITMAPID BotonLupa2_16K

BUTTON "" ID BotonProductos  AT (18 34 126 20) NOFRAME GRAPHICAL
BITMAPID BotonProductos1_16K SELECTEDBITMAPID BotonProductos2_16K

BUTTON "" ID BotonDrogas  AT (18 54 126 20) NOFRAME GRAPHICAL BITMAPID
BotonDrogas1_16K SELECTEDBITMAPID BotonDrogas2_16K

BUTTON "" ID BotonLaboratorios  AT (18 74 126 20) NOFRAME GRAPHICAL
BITMAPID BotonLaboratorios1_16K SELECTEDBITMAPID BotonLaboratorios2_16K

BUTTON "" ID BotonPatologias  AT (18 94 126 20) NOFRAME GRAPHICAL
BITMAPID BotonPatologias1_16K SELECTEDBITMAPID BotonPatologias2_16K

BUTTON "" ID BotonAccionTerap  AT (18 114 126 20) NOFRAME GRAPHICAL
BITMAPID BotonAccionesTerap1_16K SELECTEDBITMAPID
BotonAccionesTerap2_16K


When I try to view those buttons in the viewer designer, I view always BotonLupa1_16K bitmap in all buttons. But when I compiled with CodeWarrior, I haven't any problem in my visualization.

I did anything bad or the PilRC Designer had any bug?.

I use PilRC 2.1.3.0

Thanks



-- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Reply via email to