Wow.. and I thought I was lazy.

Is this too much work?:

For i := 0 to DBGrid.Columns.count-1 do
  Columns[i].readonly := false;

Dave

--- sarahemmm <[EMAIL PROTECTED]> wrote:

> Well, I didn't want to have to specify all the
> columns.
> I'm using D5, and the only property available at the
> grid level is 
> Enabled.
> 
> --- In [email protected], David Smith
> <[EMAIL PROTECTED]> 
> wrote:
> >
> > What's wrong with just making it read-only, 
> visually
> > grayed out but otherwise fully enabled?
> > 
> > --- sarahemmm <[EMAIL PROTECTED]> wrote:
> > 
> > > Is there any straightforward wasy of doing this?
> I
> > > am providing a read-
> > > only display of data, so I want it visually
> 'greyed
> > > out', but there can 
> > > be quite a lot, so users need to be able to
> scroll
> > > up and down.
> > > 
> > > Thx!
> > > 
> > > Sarah
> > > 
> > > 
> > > 
> > > 
> > > 
> > 
> > 
> > __________________________________________________
> > Do You Yahoo!?
> > Tired of spam?  Yahoo! Mail has the best spam
> protection around 
> > http://mail.yahoo.com
> >
> 
> 
> 
> 
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


-----------------------------------------------------
Home page: http://groups.yahoo.com/group/delphi-en/
To unsubscribe: [EMAIL PROTECTED] 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/delphi-en/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to