Steve,

Thanks for your reply.
Interesting that you mention C++ since I am using it but given the bad press
it has received in this group (in its applicability to the palm), I HAD been using it
strictly for "organizational purposes" and had been avoiding anything fancy.

I DO think that polymorphism may help in this case and am going to try and
use it. I worry a little about the performance penalties of late binding... but I'll 
see
how it goes.

Dan

Steve Mann wrote:

> >But... I'm missing something.... I need to populate the form with different
> >types of information and consequently need something like:
> >
> >CallForm(FormID,param1,param2, etc...)
>
> You're not going to find that I'm afraid. You have a two choices that
> I can see, based on your scant information:
>
> -- Create separate forms and call them explicitly;
> -- Create a generic form, set a global, and do the form-specific
> stuff in the form handler based on the global. That's just moving the
> form-specific stuff from one location in your code to another as far
> as I can see.
>
> Maybe you could do what you want with C++ also. I don't know, not
> knowing much about it.
>
> You can reuse forms, to some extent, if you factor your functionality
> carefully. If you're just getting started with this stuff, however, I
> would suggest you just do it the hard way and forget about elegant
> generic forms until you have a better understanding of how the
> architecture works.
>
> If you provide more specific information, perhaps someone can give
> you a more useful response.
>
> Regards,
> Steve Mann
>
> --
> -------------------------------------------
> Creative Digital Publishing Inc.
> 1315 Palm Street, San Luis Obispo, CA 93401-3117
> -------------------------------------------
> 805.784.9461              805.784.9462 (fax)
> [EMAIL PROTECTED]       http://www.cdpubs.com


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