Entering a value with return and it auto moving to the right seems intuitive. I'm glad you are doing this work-I never found the time and ambition to go back and do it :) Thanks Chris M
----- Reply message ----- From: "Jim Craig" <jimcraig5...@windstream.net> To: "EMC developers" <emc-developers@lists.sourceforge.net> Subject: [Emc-developers] tooledit_widget modifications Date: Fri, Dec 30, 2016 6:46 AM On 12/29/2016 8:16 PM, Chris Morley wrote: > > > >> audit: >> >> When I entered a value the cursor moves down to the next tool rather then >> the next axis of the same tool. >> >> I would think this is not what you wanted? > This is what I wanted. It is the way most spreadsheets work. If the > group does not like enter moving down then we can remove that > functionality or put it in as optional. Then the programmer using the > widget would have to decide to use it or handle the option in their main > application. > While it may be intuitive for spread sheets it doesn't make logical sense to > me for tools. > When I edit/add a tool I would generally want to edit all the axes on that > one tool. > If it could be user selectable option that would be nice. What would you like the enter key to do? Just accept the value and not move the active cell? Accept the value and move to the right in the table? Any of the above options? > >> nitpic: >> >> >> If I hold down cursor up (or down) to get to the first or last tool, it >> pauses at that tool, just as I would expect. >> >> But when I release the button it then moves again which is slightly annoying. > Well the function actually handles the key release event due to issues > with using the key press event occurring before a value is accepted. I > am not sure why it is pausing at the first or last tool. I will check on > that. Good test! I did not do the hold key test in my testing. > > I think I could change it to use the key press event by adding in the > col_edited function and exiting the event handler sequence after the key > press event. I will give this a try today and report back on the results. > I like that it pauses at the top and bottom - a happy accident :) I will see what I can do to preserve that and improve some other quirks that have been noticed. I think I need to be working with the key press event instead of the key release event. > > > > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > _______________________________________________ > Emc-developers mailing list > Emc-developers@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-developers > ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot _______________________________________________ Emc-developers mailing list Emc-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-developers ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot _______________________________________________ Emc-developers mailing list Emc-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-developers