I've added code to a datawindow user-event to 'ditto' code in a current column to code the preceding data. It is set up under the pbm_dwnkey Event ID.
If a user presses the F8 key when in a column entry field, the data is replicated from the preceding corresponding column - this works ok.
However, when entering data in runtime, the tab key does not work in the datawindow but selects tabbed objects on the Window.
If I remove the ditto event code, the tab out works ok.
There is a Help reference to a datawindow 'tab out' event, the information is scant, and I can't find code examples.
I'm using PB 11.2
(I was going to copy the code involved but I can't get 'paste' to work on this form. In essence the code is 'If key = KeyF8! then get the column name and type if there is a preceding row, use GetItem to get the preceding column data, and copy it (setitem) to the current corresponding column.)
Any advice on how to get the tab key to work in the datawindow and still use the 'ditto' event would be appreciated.