Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: David Mustakim
  Where is David Mustakim?
 Jakarta
 Indonesia
 David Mustakim
 To: Mohammad Irfan
  Where is Mohammad Irfan?
 karachi
 Pakistan
 Mohammad Irfan
 Tags
Subject: RE: Columns with equal width
Thread ID: 396164 Message ID: 396169 # Views: 49 # Ratings: 2
Version: Visual FoxPro 9 SP2 Category: Grids
Date: Thursday, January 23, 2014 8:15:27 AM         
   


> Dear Experts,
>
> Please give me a hint to set columns' width in a Grid equally divided, width(space) of grid by number of columns.
> (not asking about Autofit)
>
>
> Thanks alot.
> IRFAN


column.width=grid.width/grid.columncount, may have to account for vertical grid line eg. column.width=int(grid.width/(grid.columncount)) -1, well, that's just a hint as requested :-)

ENTIRE THREAD

Columns with equal width Posted by Mohammad Irfan @ 1/23/2014 7:53:29 AM
RE: Columns with equal width Posted by David Mustakim @ 1/23/2014 8:15:27 AM
RE: Columns with equal width Posted by Stefan Wuebbe @ 1/23/2014 9:11:35 AM
RE: Columns with equal width Posted by Rahul Moudgill @ 1/23/2014 9:22:11 AM