Results 1 to 5 of 5

Thread: DBGrid again and again

  1. #1

    Thread Starter
    New Member
    Join Date
    Jun 1999
    Location
    Northampton, MA
    Posts
    10

    Post

    1. How can I change Caption of any column in DBGrid?!?!?!?!?!?!?!?!
    2. How can I make two DBGrids to look alike without connecting second one to the database (first one will be connected)?

    3. How can I change FontSize of the DBGrid (what I mean is how to make it smaller than 8.25)

    4. What about changing color of any Row or Column, or if it is possible one Field?

    5. And can you tell me something about DBGrid vs. FlexGrid

    Thanks in advance
    Any help will be greatly appreciated

    SLimak


    ------------------
    Marek Karbarz
    My WebPage
    [email protected]

  2. #2
    Frenzied Member Buzby's Avatar
    Join Date
    Jan 1999
    Location
    UK
    Posts
    1,670

    Post

    All the things you've asked for will be a pain to achieve in DbGrid or FlexGrid - FlexGrid by the way is about as flexible as a lump of rock!
    Buy Apex TrueDBGrid - it'll do just about anything - and I promise you you will never, ever think of using DBGrid or FlexGrid ever every again. (and no, I don't work for apex)
    www.ApexSC.com



    ------------------
    Mark "Buzby" Beeton
    VB Developer
    [email protected]


  3. #3
    New Member
    Join Date
    Jun 1999
    Posts
    5

    Post

    I don't know about DBGRIDS but in Flexgrid you could change the caption by
    'selecting the column
    gridMyGrid.Col = (columnnumber)
    'entering what text you want as caption
    grdiMyGrid.Text = "Whatever"


  4. #4
    Lively Member
    Join Date
    May 1999
    Posts
    89

    Post

    far point makes a good grid too. Its called spread, you can download it and use it for 30 days.

  5. #5
    Frenzied Member
    Join Date
    Aug 1999
    Location
    Santa Clara, Ca , 95058
    Posts
    1,105

    Post

    If you're using SQL as your datasource for DBGrid, you can use the following syntax:

    Select fieldname as newname from table

    For example:

    Select empno as [employee id] from employee

    will populate the header with "employee id" instead of empno when using MSAccess.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width