CPB Mailing List

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

TStringGrid



  I have 3 TstringGrids on a form that are loaded with 
info from a database into the Cells property. The grids are updated
each time the database moves to a new record. I made three functions:


// psuedo code

 ClearGrids()
{

   // in a for loop sets all Cells[x][y] = "";

}

SaveInfo()
{
   \\ saves the contents of Cells to the database
}

ShowInfo()
{
   // get data from database and display in grids
}

  Now all this was working great just as I wanted. yesterday it just
stopped working. the Cells are never written to at all anymore and I
have know idea why. Anybody have a clue what is going on here.
  One of the last changes I made was to take the form of the 
autocreate list and create it at runtime

DataForm = new TDataForm( this );

Can this be a problem?

  thanks in advance

  the lost one
 




W Komornicki's Home Page | Main Index | Thread Index