Re: GRID COLUMN ...
From: Lee Mitchell (Leemi_at_online.microsoft.com)
Date: 08/03/04
- Next message: Andrew R: "Re: Combine Newsgroups?"
- Previous message: CHETAN: "Re: sql in combo"
- In reply to: Gerben Kessen: "Re: GRID COLUMN ..."
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 03 Aug 2004 13:48:15 GMT
Hi:
I had to use this code to remove the first column in a grid in VFP 6.0 SP5:
thisform.grdcust2x.column1.visible=.f.
thisform.grdcust2x.column1.width=0
thisform.refresh
The key point is to set the Width of the column of the grid to 0. Without
this line, the column is not removed.
I hope this helps.
This posting is provided "AS IS" with no warranties, and confers no rights.
Sincerely,
Microsoft FoxPro Technical Support
Lee Mitchell
*-- VFP9 Public Beta Now Available!! --*
Download the VFP9 beta here: http://msdn.microsoft.com/vfoxpro/
*-- VFP8 HAS ARRIVED!! --*
Read about all the new features of VFP8 here:
http://www.universalthread.com/VisualFoxPro/News/VFP8Release.asp
Purchase VFP8 here:
http://shop.microsoft.com/Referral/Productinfo.asp?siteID=11518
Keep an eye on the product lifecycle for Visual FoxPro here:
http://support.microsoft.com/default.aspx?id=fh;[ln];lifeprodv
- VFP5 Mainstream Support retired June 30th, 2003
- VFP6 Mainstream Support retired Sept. 30th, 2003
>Hi,
>It works fine in VFP8: thisform.grid1.column1.Visible = .f.
>Gerben Kessen
<soft> wrote in message news:OZJFJzGeEHA.212@TK2MSFTNGP12.phx.gbl...
> Hi,
>
> I m using Vfp6.0 and when i set the property of column
> visible=.f.
> then Header is not showing. but column is showing
> any suggetion..
>
> thanx
>
- Next message: Andrew R: "Re: Combine Newsgroups?"
- Previous message: CHETAN: "Re: sql in combo"
- In reply to: Gerben Kessen: "Re: GRID COLUMN ..."
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|