Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2008-07

DisplayFormat property of dbgrid?

1 message · 1 person ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Howard Lee Harkness

I wasn't able to tell that the DisplayFormat property of dbgrid did anything at all. Is this documented anywhere?

And apparently, there is no EditFormat I want to do is some rudimentary validation, e.g., make sure a zipcode is exacty five characters long and all characters are digits. How do I do that in a Lazarus/FPC dbgrid?

BTW, Thanks to all for the help on my prior questions. Turns out that PostgreSQL does work better than MySQL in Lazarus. It only took me a couple of hours to get my simple zipcode maintenance editor up and capable of doing entry, delete, and edit. Most of that time was spent figuring out the differences between MySQL and PostgreSQL. I ended up installing PostgreSQL about 5 times -- apparently if you don't just accept all of the defaults for account names, you can't get to anything in the database from Lazarus.

Howard Lee Harkness www.celtic-fiddler.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.lazarus.freepascal.org/pipermail/lazarus/attachments/20080718/20703e6e/attachment.html

Reply by email