February 4th, 2004, 08:02 AM
i made a simple program wich accesses a database and lists the records in a DBGrid component but i found something very upsetting. the last column right margin ends before the component's right margin. does anyone know another component/ method to automatically adjust the right margin in order to fit the component?
excuse me for my english, but i hope the picture explains more my question
if anyone has a solution, please let me know
try if you cannot see the picture
Last edited by criki; February 4th, 2004 at 08:06 AM.
February 5th, 2004, 01:16 AM
A lot of the grids there do auto column resizing. Bonus: Some of them (e.g. ExDBGrid or MiTec DBGrid) are free with source code included.
Up the Irons
What Would Jimi Do? Smash amps. Burn guitar. Take the groupies home.
"Death Before Dishonour, my Friends!!" - Bruce D ickinson, Iron Maiden Aug 20, 2005 @ OzzFest
Down with Sharon Osbourne
"I wouldn't hire a butcher to fix my car. I also wouldn't hire a marketing firm to build my website." - Nilpo