Re: How to use Radio Button
At 02:10 AM 8/8/2003, Marianne wrote: Hello, Is there a way to use Radio Button? I found that Push Button is used instead of Radio Buttons, but I want the actual look and feel of Radio Button.. You can draw your own using gadgets. Radio buttons are not supported on Palm OS. You should use either push buttons or popup lists. They just aren't space-efficient, and they won't match the rest of the user interface. -- Ben Combee [EMAIL PROTECTED] CodeWarrior for Palm OS technical lead Palm OS programming help @ www.palmoswerks.com -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Re: How to use Radio Button
Aaron, that's a good idea in general. But our users are a bit hung up on the round thing, since that's what they're used to for web and PC surveys. It's a visual cue to interviewers and respondents. After 3 years of hearing the complaints, I finally gave in. :) In using gadgets, I also realized how utterly silly it was that I was working with almost 1000 form objects (silliness which Ben pointed out many moons ago). I've now consolidated many of my form objects into gadgets, and even implemented custom checkboxes and popup triggers to get the exact feel that our users expect. I know I'll take some flack from this group for such a non-standard approach, but I'm really happy with the results. Cheers, -Mark Aaron Ardiri [EMAIL PROTECTED] wrote: __ We have a survey app. Many people simply expect radio buttons, and won't accept pushbuttons as an alternative. So I finally gave in and used gadgets to implement this, and that opened me up to a whole new world of Palm UI programming. use checkboxes - specifying the 'group' on each checkbox so that it is the same for each checkbox. it gives the exact same feel as radio buttons. it just doesn't look round :) CHECKBOX Lite ID InstFormLiteCheckBox AT (12 PrevBottom+6 AUTO AUTO) GROUP 1 CHECKBOX Heavy ID InstFormHeavyCheckBox AT (12 PrevBottom AUTO AUTO) GROUP 1 CHECKED alas, radio buttons! :) GROUP of 0 = no group. if you check on Lite, it will uncheck Heavy and vice-versa. isn't this what you are trying to do? --- Aaron Ardiri[EMAIL PROTECTED] CEO - CTO +46 70 656 1143 Mobile Wizardry http://www.mobilewizardry.com/ -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/ -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Re: How to use Radio Button
Though it rarely happens, I disagree (somewhat) with Ben on this one. I think pushbuttons should be used in general, and that we should use the UI guidelines for Palm OS when possible. But an increasing number of apps (like ours) are targeting a user base that is not familiar with Palm OS. In some cases it is more important to align your app to the customers' expectations, not those of current Palm users. We have a survey app. Many people simply expect radio buttons, and won't accept pushbuttons as an alternative. So I finally gave in and used gadgets to implement this, and that opened me up to a whole new world of Palm UI programming. Extended gadgets are very easy to use (if you can work with the limitation that users need Palm OS 3.5 or higher). And they give you complete control over both the look and feel of your app. There's a good chunk of code in the Rhodes/McKeehan book, Palm Programming, which should get you started with gadgets. Cheers, Mark Cameron Techneos Systems On Fri, 08 Aug 2003 02:14:52 -0700 Ben Combee [EMAIL PROTECTED] wrote: At 02:10 AM 8/8/2003, Marianne wrote: Hello, Is there a way to use Radio Button? I found that Push Button is used instead of Radio Buttons, but I want the actual look and feel of Radio Button.. You can draw your own using gadgets. Radio buttons are not supported on Palm OS. You should use either push buttons or popup lists. They just aren't space-efficient, and they won't match the rest of the user interface. -- Ben Combee [EMAIL PROTECTED] CodeWarrior for Palm OS technical lead Palm OS programming help @ www.palmoswerks.com -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/ -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Re: How to use Radio Button
yeah, I seem to be delving further and further into the world of dynamic gui. For the most part I'm liking it... but I should be earning frequent flyer points for using the archives for this list. No small thanks to you and Ben... and the countless others who have saved me a lot of stress. Cheers, Mark Aaron Ardiri [EMAIL PROTECTED] wrote: __ Aaron, that's a good idea in general. But our users are a bit hung up on the round thing, since that's what they're used to for web and PC surveys. It's a visual cue to interviewers and respondents. After 3 years of hearing the complaints, I finally gave in. :) you know that the [ ] an [x] are just characters dont you? ie: normal font installed on the palmos :) it is pretty easy to replace the font :) you can make it a circle if you really need I know I'll take some flack from this group for such a non-standard approach, but I'm really happy with the results. just wait until you start getting into real dynamic-ui stuff - and, then you write everything yourself using gadgets :) sometimes it is the only way to go (been there, done that).. buggy palmos code doesn't help (in the rom) --- Aaron Ardiri[EMAIL PROTECTED] CEO - CTO +46 70 656 1143 Mobile Wizardry http://www.mobilewizardry.com/ -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/ -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Re: How to use Radio Button
We have a survey app. Many people simply expect radio buttons, and won't accept pushbuttons as an alternative. So I finally gave in and used gadgets to implement this, and that opened me up to a whole new world of Palm UI programming. use checkboxes - specifying the 'group' on each checkbox so that it is the same for each checkbox. it gives the exact same feel as radio buttons. it just doesn't look round :) CHECKBOX Lite ID InstFormLiteCheckBox AT (12 PrevBottom+6 AUTO AUTO) GROUP 1 CHECKBOX Heavy ID InstFormHeavyCheckBox AT (12 PrevBottom AUTO AUTO) GROUP 1 CHECKED alas, radio buttons! :) GROUP of 0 = no group. if you check on Lite, it will uncheck Heavy and vice-versa. isn't this what you are trying to do? --- Aaron Ardiri[EMAIL PROTECTED] CEO - CTO +46 70 656 1143 Mobile Wizardry http://www.mobilewizardry.com/ -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Re: How to use Radio Button
Aaron, that's a good idea in general. But our users are a bit hung up on the round thing, since that's what they're used to for web and PC surveys. It's a visual cue to interviewers and respondents. After 3 years of hearing the complaints, I finally gave in. :) you know that the [ ] an [x] are just characters dont you? ie: normal font installed on the palmos :) it is pretty easy to replace the font :) you can make it a circle if you really need I know I'll take some flack from this group for such a non-standard approach, but I'm really happy with the results. just wait until you start getting into real dynamic-ui stuff - and, then you write everything yourself using gadgets :) sometimes it is the only way to go (been there, done that).. buggy palmos code doesn't help (in the rom) --- Aaron Ardiri[EMAIL PROTECTED] CEO - CTO +46 70 656 1143 Mobile Wizardry http://www.mobilewizardry.com/ -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/