--- El dom 27-ene-13, Martin <laza...@mfriebe.de> escribió:
> De: Martin <laza...@mfriebe.de> > Asunto: Re: [Lazarus] TStringGrid.AutoEdit and options > A: "Lazarus mailing list" <lazarus@lists.lazarus.freepascal.org> > Fecha: domingo, 27 de enero de 2013, 5:54 > On 27/01/2013 11:50, Martin wrote: > > TStringGrid has: > > - property AutoEdit:Boolean > > - Options eoGoEdit > > - Options eoAlwaysShowEditor > > > > I figured some behavioural differences with the > options. > > > > But I can set AutoEdit True/False nothing changes. What > does it do? Or > > what Should it do? > > > > > > Laz 1.1 SVN from 26th Jan / fpc 2.6.0 / Win Vista 32 > bit > > > > There also is a none public property FastEditing: Boolean > > So there are 16 different settings. How to they all differ? goEditing: makes the grid editable or not (some will say it's equivalent to a readonly property) goAlwaysShowEditor: if the grid is editable as its name say it will make the editor always visible, no effect if the grid is not editable. as for AutoEdit, normally if the grid is editable clicking a selected cell will popup the cell editor, that's for AutoEdit=true and is what delphi stringgrid does, if you set AutoEdit=false editor will not pop up on clicking a selected cell, I forgot the reason this was added but as the Lazarus stringgrid allows range selection on editable grids, this may help in this case. Jesus Reyes A. -- _______________________________________________ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus