Results 1 to 3 of 3

Thread: Changing Height of Rows in Flexgrid

  1. #1

    Thread Starter
    Fanatic Member mutley's Avatar
    Join Date
    Apr 2000
    Location
    Sao Paulo - Brazil
    Posts
    709

    Changing Height of Rows in Flexgrid

    HI

    How can I to change the height , some or all rows of the FlexGrid ?


    tks

  2. #2
    Just Married shakti5385's Avatar
    Join Date
    Mar 2006
    Location
    Udaipur,Rajasthan(INDIA)
    Posts
    3,747

    Arrow Re: Changing Height of Rows in Flexgrid

    VB Code:
    1. Grid.RowHeight(0) = 5000
    2. Grid1.RowHeight(0) = 5000

  3. #3
    VB Guru ganeshmoorthy's Avatar
    Join Date
    Dec 2005
    Location
    Sharjah, United Arab Emirates
    Posts
    3,031

    Re: Changing Height of Rows in Flexgrid

    VB Code:
    1. 'to change all the rows
    2.     Grid.RowHeight(-1) = 100 'or whatever your value
    3.     'to change a single row
    4.     Grid.RowHeight(1) = 500 '(1) is the row number
    5.     'to change some of the rows
    6.     For i = 1 to 10 'For ten rows
    7.         Grid.RowHeight(i) = 500
    8.     Next
    If an answer to your question has been helpful, then please, Rate it!

    Have done Projects in Access and Member management systems using BioMetric devices, Smart cards and BarCodes.


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