Re: Direct editing of polygrid text cells and polylist text elements

2023-11-02 Thread Mike Kerner via use-livecode
sorry, i hit "send", too quickly. focusOut and inputEndEditing would go in the "edit" field, and i think that would get rid of the need for the cellClick handler in the pl/pg. the cellClick handler will only manage clicks inside the pl/pg, not elsewhere on the card. On Thu, Nov 2, 2023 at 11:16 AM

Re: Direct editing of polygrid text cells and polylist text elements

2023-11-02 Thread Mike Kerner via use-livecode
i think you might need to add an on focusOut handler, because the user may choose to click outside of the field, and if the app is on mobile, an inputEndEditing handler this is bringing back 1980's memories, with how we had to hack controls to do the same thing in hc... On Thu, Nov 2, 2023 at 10:5

Re: Direct editing of polygrid text cells and polylist text elements

2023-11-02 Thread panagiotis merakos via use-livecode
Hello all, You can write a script for that. Just add a PolyGrid and a field, set the name of the field to "Edit" and add this code: Add this in the script of the field "edit": on enterinfield hide me end enterinfield on returninfield hide me end returninfield on textChanged set the pg

Re: Direct editing of polygrid text cells and polylist text elements

2023-11-01 Thread Paul Dupuis via use-livecode
+1 I'd like to know this too as I can see no way in the Property Inspector or the pgColumns property to indicate a column is 'editable'. Nor can I find any property, message, etc. in the polygrid Dictionary entry that seems to suggest cell editing. On 11/1/2023 5:28 PM, Peter Thirkell via u