You need to make the table scrollable. In the fldHeightChanged event find out if the field is expanding, if so adjust the tables top row and redraw the table. If you want more details, have a look at the addressbook source code.

-Sugho-


From: <[EMAIL PROTECTED]>
Reply-To: "Palm Developer Forum" <[email protected]>
To: "Palm Developer Forum" <[email protected]>
Subject: Re: Table overwrites other controls
Date: Thu, 17 Aug 2000 23:34:48 -0700


Thanks for the reply, srinivas. But, I am not sure whether that is what
I want. I want dynamicsize to be true and at the same time, the table to not
write over other controls. Much like the palm address book.

Any other suggestion?

Thanks!
Subu

> From: v srinivas <[EMAIL PROTECTED]>
> Date: Thu, 17 Aug 2000 22:11:02 -0700 (PDT)
> To: "Palm Developer Forum" <[email protected]>
> Cc: [EMAIL PROTECTED]
> Subject: Re: Table overwrites other controls
>
> hello subu,
>    The probelm your facing is simple.Just set the
> field attributes your probelm will be solved.
>
> typedef struct {
> Word usable :1;
> Word visible :1;
> Word editable :1;
> Word singleLine :1;
> Word hasFocus :1;
> Word dynamicSize :1;
> Word insPtVisible :1;
> Word dirty :1;
> Word underlined :2;
> Word justification :2;
> Word autoShift :1;
> Word hasScrollBar :1;
> Word numeric :1;
> } FieldAttrType;
>
> The above are the field attr. Set the dynamic size to
> false.your probelm will be solved.
>
> vsrinivas
>
> --- [EMAIL PROTECTED] wrote:
> > Thanks Sugho for the answer to my previous post. I
> > really appreciate that.
> > I have one more question for you and all you
> > experts!
> >
> > I have a table field in one of my forms (OS: Palm OS
> > 3.0). I also have
> > couple of button controls on the form as well. The
> > cell in question is
> > a textTableItem. When the user enters data, this
> > cell expands. Unfortunately,
> > it also writes over my button controls (like a
> > "Done" button for example)
> > at the bottom of my form. I tried setting the bounds
> > for the table using
> > TblSetBounds. But that doesn't seem to help. Another
> > thing that I noticed
> > is that the above problem doesn't happen with my
> > Emulator, which I believe
> > is Palm OS 3.5 compatible.
> >
> > Subu Iyer
> > Compaq Computer Corp.
> >

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

________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com



--
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/

Reply via email to