Re: Tab induced "cell edit shown" only occuring for every other cell in wx.grid

ioprst <[email protected]>
Newsgroups gmane.comp.python.wxpython
Message-ID <[email protected]>
def gridCellEditActivator(self, grid, row, col):
    grid.GoToCell(row, col)
    wx.CallAfter(grid.EnableCellEditControl, True)

суббота, 12 сентября 2020 г. в 16:33:46 UTC+3, Sommerforsker: 

> Hi, 
>
> I am trying to automatically induce the editing of a grid cell when it is 
> chosen, in order to require one less keystroke when editing cells with 
> GridCellChoiceEditor(). The method used when cells are left clicked works 
> perfectly, while the method used when TABing through cells only activates 
> the editor on every other cell, dependent on where the TABing is started. 
>
> I have tried a multitude of alternative ways to achieve the objective, but 
> have not been able to fix the problem. 
>
> Best regards,
> Sommerforsker
>
> PS: A video where I first show the left click method and then the TABing 
> method is attached.
>
>
>

-- 
You received this message because you are subscribed to the Google Groups "wxPython-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/wxpython-users/4d19c5cd-32a3-4d5b-8740-e3232da43fbcn%40googlegroups.com.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.