Re: drawing tables

2004-06-22 Thread Hanumanth rao
Hi
Surely you can do this by using this API functions given below
WinDrawLine(2,39,160,39);
WinDrawGrayLine(2,142,160,142);
Refer the palmos reference documentation for detailed explanation.
hanumanth
"Roberto Pedrozo Mendes" <[EMAIL PROTECTED]
> wrote in message
...> Hi
> There is a manner that i cam draw lines betwen columns in one table ?
> Thanks
>
>
> =
> Roberto Pedrozo Mendes
> Arquiteto Sistemas
> HST - CPqD - Campinas
> [EMAIL PROTECTED] 
>
>
>
>
> __
>
> Yahoo! Mail - agora com 100MB de espaço, anti-spam e antivírus grátis!
> 
>


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


Re: Drawing tables with borders

2003-06-12 Thread Ben Combee
I have a few tables in my application.  However, I haven't found any
APIs that handle drawing the tables with borders around the table, or
borders around the cells themselves.  Also, how do you specify that
each row/column/cell has a specific background color? For the most
part, each cell of my tables are fields.
These are things I see in a lot of applications, so I figure I'm just
missing something obvious.
You aren't missing anything obvious.  Those applications either do 
everything with custom drawn cells where they set their own 
foreground/background colors before drawing, or they just ditch the 
whole Palm OS table control and do everything themselves.  This 
second technique can be really powerful, and it's the basis of the 
CCustomGrid class in Object Library for Palm OS.

--
Ben Combee <[EMAIL PROTECTED]>
CodeWarrior for Palm OS Technical Lead, Metrowerks
For programming help, see http://www.palmoswerks.com/
--
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/