🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.delphi.winforms.controls.using
Article #134

Re: Changing Datagrid Column Width

#134
From: Wayne Niddery [TeamB]
Date: Tue, 13 Jun 2006 19:20
10 lines
1305 bytes
Mark wrote:
> How do I alter the column width in a grid of type
> System.Windows.Forms.DataGrid?

  Datagrid1.TableStyles[0].GridColumnStyles[0].Width := 100;

-- 
Wayne Niddery - Winwright, Inc (www.winwright.ca)
Working for yourself is great because you get to work half days, and
you can choose any twelve hours you want. 
Technical Details
Message-ID: <448f0fe6@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news.germany.com!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <448e601c@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 1eff29,e3d74b8ff004d8d3
X-Google-Attributes: gid1eff29,public
X-Google-Language: ENGLISH,ASCII-7-bit
Reply-To: "Wayne Niddery [TeamB]" <wniddery@chaffaci.on.ca>
From: "Wayne Niddery [TeamB]" <wniddery@chaffaci.on.ca>
Newsgroups: borland.public.delphi.winforms.controls.using
References: <448e601c@newsgroups.borland.com>
Subject: Re: Changing Datagrid Column Width
Date: Tue, 13 Jun 2006 15:20:06 -0400
Lines: 12
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2869
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2869
X-RFC2646: Format=Flowed; Response
NNTP-Posting-Host: 69.17.150.141
Message-ID: <448f0fe6@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1150226406 69.17.150.141 (13 Jun 2006 12:20:06 -0700)
X-Authenticated-User: wniddery
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news.germany.com!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail