Michael Yokoyama wrote:
Because of my need to change the labels on buttons in a form at runtime, I decided to superimpose fields on buttons. I am working with Metrowerks Code Warrior and I found out that ordering the declaration of field and button are significant in the .rcp file.

After experimentation I had thought that I had the problem conquered when I noticed 
that some machines out in production couldn?t handle superimpose.  It seems that the 
order of logical stacking of button and field are different in the machines that do 
not work (Clie, etc.)

I finally came up with capturing taps on the fields and converting them to field IDs 
and processing the field IDs as well.

Kludgy?  I have to say yes.  Anybody have a better design?

Aloha,
Michael Yokoyama
Palm Powered Expert Guide-Japan
www.mountainsideproductions.com



Hi Michael,

For this kind of custom control, I would suggest you to implement your button as a Gadget. Although it takes extra coding, you can totally control what you want and avoid getting into the difficulties you have mentioned.

Best Regards,
Tony Cheung

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

Reply via email to