I usually make the border 1 pixel around the table instead of on the table like this:
TblGetBounds(table, &tblbounds); tblbounds.topLeft.x--; tblbounds.topLeft.y--; tblbounds.extent += 2; tblbounds.extent += 2; WinDrawRectangleFrame(simpleFrame, &tblbounds); That way if the table refreshes or redraws for whatever reason, the border doesn't get erased and I don't have to redraw it every time. "Girish NS" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi, > > I'm using the following code to draw border for table > > TableType *table; > RectangleType tblbounds; > > Table = GetObjectPtr(....); > > TblGetBounds(table,&tblbounds); > WinDrawRectangleFrame(simpleFrame,&tblbounds); > > But the border is not coming to the table when the form is shown at > runtime. > > Am I doing anything wrong or Am I missing something? > > Thanks for any valuable help... > > Girish. > > > -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
