2008/12/19 Frank Niessink <[email protected]>: > 2008/12/19 Carl Zmola <[email protected]>: >> Frank, >> >> I found the original patch and it involves adding a fieldmap from column >> names to controls. >> If the columnname follows the standard naming convention, focus can be set >> to the proper control automatically, but if someone clicks on a column that >> is calculated (I am thinking of the budget columns), then the mapping of the >> field that should be edited must be manually chosen. >> >> I can't remember if you had a better solution to this than mine. >> I will try to get this working again if I have time, but I probably will not >> have time before the new year. > > I'm still working on it (on and off). Yesterday, I refactored the > different subject pages to use a common SubjectPage base class. All > *Page classes now have a columns() method that lists the columns > editable on that page so that the EditorWithCommand class can > automatically select the right page, based on the column > double-clicked. The next step is indeed to map the column names onto > the controls that should receive focus. Because the editor module is > such a mess (quite some duplication) I'm refactoring as I restore your > work.
I just checked in the 'select the right control' part too. Cheers, Frank
