"Thomas Maeder" <[EMAIL PROTECTED]> wrote in message
news:77592@palm-dev-forum...
>
> Chris DiPierro wrote:
> >
> > What exactly are you trying to accomplish? Generally if you know about
> > groups, you can go ahead and check for the group's selection at runtime
> > and don't need to figure out which controls are in which groups, but I'd
> > like to hear what you're trying to do because I've always felt groups a
> > little lacking.
>
> I'm simply trying to follow one of the basic principles of SW engineering:
> avoid duplication. If control grouping happens in the resources, I don't
> want to repeat it in my code.
>
>

And why would you have to?  I'm still not following what it is you
are actually trying to accomplish ... why do you need the information
about which group a control belongs to?  If you want to know something
about the group selection, use FrmGetControlGroupSelection().  Why
are you starting with the control and working your way up to the group?

--
-Richard M. Hartman
[EMAIL PROTECTED]

186,000 mi/sec: not just a good idea, it's the LAW!




-- 
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