Hi all,

Does anyone know of a bug in PalmOS4.0 or in the "Constructor for Palm"
version 1.6 with the function FrmSetControlGroupSelection?

The thing is, after installing the OS40 SDK, the "Constructor for Palm" was
upgraded to version 1.6.
This sounds nice and helpful, mainly because I don't know how could I create
16bit color BMP families, BUT...

First of all, just to let you all know, after you upgrade, the header file
created by the constructor isn't the same as the previous one: the constants
for the "Group ID", which are the group numbers of the "Push Buttons" had
changed. This made the first problem - the application won't compile after
you first create a header using the new constructor. This is a small fix,
but could be avoided.

Second, (and my guess is connected with the first thing), when I call
FrmSetControlGroupSelection all groups acts like there is a single GroupID!
I got a form with two groups, each group has two push-buttons. When I call
FrmSetControlGroupSelection to set the first button on the first group - it
sets it OK. Then I call FrmSetControlGroupSelection again, but with the
second groupID and buttons, it sets the first button on the second group as
requested, but also "unselects" the first button from the first group!

Another weird thing is, after this is done, the two groups acts OK!
When you click on the two buttons in each group, the OS handles the
selection/diselecion exactly as needed... So, the only bug here is with the
first call to FrmSetControlGroupSelection. (the other selections are done by
the OS without any calling to functions.)

Have any idea?

I use CodeWarrior 7, Constructor 1.6 and POSE 3.1 on Win2K.

Thanks,
Offir.



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

Reply via email to