Hm... It seems I have to find the answer to my original question the hard
way. It seems that I have to initialize the table myself so that it shows
correctly. Here is my code:
// Grid variable
 CGrid m_grid;
// Attach grid object to table and scrollbar controls
 m_grid.Attach(ScannedTable, ScrollTable);
 m_grid.SetRowCount(5);
 m_grid.SetGridMode(CGrid::GM_FULLROWSELECT);
 m_grid.SetDrawStyle(CGrid::DS_ALL | CGrid::DS_GRAYLINES);
 m_grid.SetIgnoreFocus(true);

In PilRC designer I have drawn  a table with some rows and columns but it
seems that this does not matter - only values that I set with code matter.
This was never a problem with good old Constructor.


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

Reply via email to