Re: [fpc-devel] Purpose of AutoEdit property of StringGrid
On Mon, 18 Jul 2016 09:42:04 -0500, Чернов Дмитрийwrote: Thanks for answer, but I'm familiar enough with FPC/Lazarus, so I know about editors in grids. My question is about necessity of AutoEdit property in the presence of goAlwaysShowEditor option. ___ Dmitry D. Chernov "About necessity of AutoEdit property in presence of goAlwaysShowEditor" , There is no such necessity, why do you think that there is a necessity?. Obviously AutoEdit only works when goAlwaysShowEditor=false as I tried to explain in my previous reply, if AutoEdit has any effect when goAlwaysShowEditor is true, then you have found a bug. Jesus Reyes A.___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel
Re: [fpc-devel] Purpose of AutoEdit property of StringGrid
19.07.2016, 01:58, "José Mejuto": Hello, The goAlwaysShowEditor shows the editor but I think in read only mode, you can not edit, or should not be able to. -- Ehm. Have I ever mentioned a read-only mode? ___Dmitry D. Chernov ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel
Re: [fpc-devel] Purpose of AutoEdit property of StringGrid
El 18/07/2016 a las 16:42, Чернов Дмитрий escribió: Thanks for answer, but I'm familiar enough with FPC/Lazarus, so I know about editors in grids. My question is about necessity of AutoEdit property in the presence of goAlwaysShowEditor option. Hello, The goAlwaysShowEditor shows the editor but I think in read only mode, you can not edit, or should not be able to. -- ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel
Re: [fpc-devel] Purpose of AutoEdit property of StringGrid
18.07.2016, 17:11, "Jesus Reyes A.":Both options work only when goEditing option is true. If the goAlwaysShowEditor option is true, yes, the editor will be always visible, if it is false, the editor is not always visible. You have may not noticed that the editor is visible, change the grid color to something different than the default, then it will be obvious. If the editor is not always visible and you do a click in a cell that is not selected, the cell becomes focused. If you do a second click AND AutoEdit=true, then the editor becomes visible, I guess is called AutoEdit because you don't have to use the keyboard in order to show the editor. In other words, the AutoEdit works with mouse clicks, it seems from the description that you quoted that the description needs an update. Jesus Reyes A. Thanks for answer, but I'm familiar enough with FPC/Lazarus, so I know about editors in grids.My question is about necessity of AutoEdit property in the presence of goAlwaysShowEditor option. ___Dmitry D. Chernov___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel
Re: [fpc-devel] Purpose of AutoEdit property of StringGrid
En Sun, 17 Jul 2016 12:13:58 -0500, Чернов Дмитрийescribió: Hi again. Recently I've played around the StringGrids and noticed one weird thing. There are two quite similar properties: AutoEdit description: Whether the Edit mode is automatically entered when a cell is selected Options/goAlwaysShowEditor description: Always show editor. If not set, the user has to enter the edit mode by pressing >some character key or F2 key. And here comes the question: what's the difference between them? I've also noticed that goAlwaysShowEditor=True overrides behavior of AutoEdit=False. Anyway thanks. _ Dmitry D. Chernov Both options work only when goEditing option is true. If the goAlwaysShowEditor option is true, yes, the editor will be always visible, if it is false, the editor is not always visible. You have may not noticed that the editor is visible, change the grid color to something different than the default, then it will be obvious. If the editor is not always visible and you do a click in a cell that is not selected, the cell becomes focused. If you do a second click AND AutoEdit=true, then the editor becomes visible, I guess is called AutoEdit because you don't have to use the keyboard in order to show the editor. In other words, the AutoEdit works with mouse clicks, it seems from the description that you quoted that the description needs an update. Jesus Reyes A.___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel
[fpc-devel] Purpose of AutoEdit property of StringGrid
Hi again. Recently I've played around the StringGrids and noticed one weird thing.There are two quite similar properties:AutoEditdescription: Whether the Edit mode is automatically entered when a cell is selectedOptions/goAlwaysShowEditordescription: Always show editor. If not set, the user has to enter the edit mode by pressing some character key or F2 key.And here comes the question: what's the difference between them?I've also noticed that goAlwaysShowEditor=True overrides behavior of AutoEdit=False.Anyway thanks._Dmitry D. Chernov___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel