Hello, I am using a TDBMemo with a TSdfDataset, but this database uses newlines to separate the records, so it's impossible to store data with multiple lines.
So I thougth that I could do a trick, and process the data before showing in the TDBMemo and also before sending it again to the database. I would store newlines as a special character, say # in the database and then convert them to new lines to show in the TDBMemo. How can this be achieved? I could not find events which would allow me to do this, so I tryed to create a TDBMemo descendent and override some method, but this also doesn't work, because I would need to access private fields in TDBMemo (specially FDataLink). Do I really need to create a completely new component or is there some strategy to customize the existing TDBMemo? thanks, -- Felipe Monteiro de Carvalho _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal