What I'm doing, the way I was taught to do it, anyway,
is to... well, let's put it this way:

I have 5 fields that can accept text, and a struct
that I created that consists of 5 chars.  What I'm
looking to do is store the text input in the fields in
the struct, the first field to the first char, etc...

The way I was taught to do this would be to get a
FieldPtr for the first field, then get the text
pointer for the contents of the field - from there, we
could write the text to our struct... (so if that's
bad like you said, don't blame me, blame my CS
professor. *smiles*)

That's the jist of what I'm looking to do - should I
go about it another way?

-Craig


--- Keith Rollin <[EMAIL PROTECTED]> wrote:
> At 10:10 PM -0700 6/1/02, Craig Belson wrote:
> >... but if the FormPtr is called frmP, the bus
> error occurs at the 
> >location of frmP->objects->object ...
> 
> I'm confused.  If you're accessing the form's data
> directly (bad!), 
> then how does FrmGetObjectPtr come into play?
> 
> -- Keith


__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com

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

Reply via email to