<!DOCTYPE html><html><head>
<style type="text/css">body { font-family:'Times New Roman'; font-size:13px}</style>
</head>
<body><font face="'Courier New',monospace">En Sun, 17 Jul 2016 12:13:58 -0500, Чернов Дмитрий <blackdoomer@yandex.ru> escribió:</font><font face="'Courier New',monospace"><br></font><font face="'Courier New',monospace"><br></font><blockquote style="margin: 0 0 0.80ex; border-left: #0000FF 2px solid; padding-left: 1ex"><div><font face="'Courier New',monospace">Hi again.</font></div><div><font face="'Courier New',monospace"> </font></div><div><font face="'Courier New',monospace">Recently I've played around the StringGrids and noticed one weird thing.</font></div><div><font face="'Courier New',monospace">There are two quite similar properties:</font></div><div><ul><li><font face="'Courier New',monospace">AutoEdit</font><font face="'Courier New',monospace"><br></font><font face="'Courier New',monospace">description: Whether the Edit mode is automatically entered when a cell is selected</font><font face="'Courier New',monospace"><br></font></li><li><font face="'Courier New',monospace">Options/goAlwaysShowEditor</font><font face="'Courier New',monospace"><br></font><font face="'Courier New',monospace">description: </font><font face="'Courier New',monospace">Always show editor. If not set, the user has to enter the edit mode by pressing some character key or F2 key.</font></li></ul><div><font face="'Courier New',monospace">And here comes the question: what's the difference between them?</font></div><div><font face="'Courier New',monospace">I've also noticed that </font><font face="'Courier New',monospace">goAlwaysShowEditor=True</font><font face="'Courier New',monospace"> overrides behavior of </font><font face="'Courier New',monospace">AutoEdit=False</font><font face="'Courier New',monospace">.</font></div><div><font face="'Courier New',monospace">Anyway thanks.</font></div><div><font face="'Courier New',monospace">_____</font></div><div><font face="'Courier New',monospace">Dmitry D. Chernov</font></div></div></blockquote><div><font face="'Courier New',monospace"><br></font></div><div><font face="'Courier New',monospace">Both options work only when goEditing option is true.</font></div><div><font face="'Courier New',monospace"><br></font></div><div><font face="'Courier New',monospace">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. </font></div><div><font face="'Courier New',monospace"><br></font></div><div><font face="'Courier New',monospace">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.</font></div><div><font face="'Courier New',monospace"><br></font></div><div><font face="'Courier New',monospace">Jesus Reyes A.<br></font></div></body></html>