What I should have said is when you call TblSetRowUsable, use true in the
3rd parameter not false. Both the column and row need to be set to usable
before a cell will display.
----- Original Message -----
From: "Dave Lippincott" <[EMAIL PROTECTED]>
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Thursday, February 14, 2002 9:22 AM
Subject: Re: Table resources
> You will need to also call TblSetRowUsable
>
> ----- Original Message -----
> From: "Scott Mebberson" <[EMAIL PROTECTED]>
> Newsgroups: palm-dev-forum
> To: "Palm Developer Forum" <[EMAIL PROTECTED]>
> Sent: Wednesday, February 13, 2002 11:21 PM
> Subject: Table resources
>
>
> > I really need some help with tables.
> >
> > I am trying to create a table and I am having a nightmare. I can't get
it
> to
> > work, no matter what I do. I am trying to create a table with two
columns,
> > each of them set to textTableItem. I can't even get these to display, I
> > don't know what I am doing wrong, here is my code.
> >
> > // Initialize the table used to display the day's appointments.
> > table = FrmGetObjectPtr (form, FrmGetObjectIndex (form, tblTimeSheet));
> >
> > rowsInTable = TblGetNumberOfRows (table);
> >
> > for (row = 0; row < rowsInTable; row++) {
> >
> > // set the cell styles
> > TblSetItemStyle (table, row, ClmnDate, textTableItem);
> > TblSetItemStyle (table, row, ClmnHour, textTableItem);
> > TblSetRowUsable (table, row, false);
> > }
> >
> > TblSetLoadDataProcedure (table, ClmnHour, AddPrjctField);
> > TblSetLoadDataProcedure (table, ClmnDate, AddPrjctField);
> >
> > TblSetColumnUsable (table, ClmnDate, true);
> > TblSetColumnUsable (table, ClmnHour, true);
> >
> > AddPrjctField, has nothing in it, just a FrmCustomAlert call to let me
> know
> > when it is being called. Any ideas anybody?
> >
> > cheers,
> >
> > Scott
> >
> >
> >
> > --
> > For information on using the Palm Developer Forums, or to unsubscribe,
> please see http://www.palmos.com/dev/tech/support/forums/
> >
>
>
> --
> For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/tech/support/forums/
>
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/