#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Feb 2004
    Location
    Romania
    Posts
    6
    Rep Power
    0

    Thumbs down TDBGrid component


    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
    thank you

    ps.
    try if you cannot see the picture
    Last edited by criki; February 4th, 2004 at 08:06 AM.
  2. #2
  3. Banned ;)
    Devshed Supreme Being (6500+ posts)

    Join Date
    Nov 2001
    Location
    Woodland Hills, Los Angeles County, California, USA
    Posts
    9,640
    Rep Power
    4247
    http://www.torry.net/db_grids.htm

    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

IMN logo majestic logo threadwatch logo seochat tools logo