You can do this by creating a number of checkboxes on the form and then
assigning a Group ID to them. Checkboxes with the same group ID are treated
as a set of radio buttons. (Unfortunately the Palm OS draws them the same
whether they're grouped or not, so for the sake of the user you may want to
Nancy,
In Constructor, set the GroupID property of each checkbox to the same number
(ie: 1). Checkboxes with the same GroupID will be handled as
mutually-exclusive by the OS for you automatically.
Paul...
- Original Message -
From: "Wang, Nancy" [EMAIL PROTECTED]
To: "Palm Developer
Check out the push button control. It may not look like a radio button, but that's
what it is. I've seen several Palm applications use check boxes for this. Better is to
use these push buttons. Examples can be found in the PIM applications whose source
code is provided in the SDK. The mode
-
From: Bob Whiteman [SMTP:[EMAIL PROTECTED]]
Sent: Wednesday, July 26, 2000 3:54 PM
To: Palm Developer Forum
Subject: RE: Mutually-exclusive checkbox
You can do this by creating a number of checkboxes on the form and then
assigning a Group ID to them. Checkboxes with the same group ID
Yes, GroupID zero means no group. Just in terms of UI design, it's better to use push
buttons instead of check boxes for mutually exclusive choices. The way controls are
implemented, it's possible to make check boxes mutually exclusive, but it's just as
easy to use push buttons.
--
Peter
Developer Forum
Subject: RE: Mutually-exclusive checkbox
Yes, GroupID zero means no group. Just in terms of UI design, it's better
to use push buttons instead of check boxes for mutually exclusive choices.
The way controls are implemented, it's possible to make check boxes
mutually