Tablebox - how to get the focus column's fieldname?

vh8000
vh8000 Member Posts: 23
Hi All

NAV2009 - Classic client

I'm writing a form that containing a Tablebox.

The form has a [button] that when user push, will do certain things depend on the currently focus column's fieldname (eg. field1=Mon,field2=Tue...)

Is there any ways I can get the currently focus column's fieldname in Tablebox?

Thanks in advance.

Answers

  • MBerger
    MBerger Member Posts: 413
    i think the only way to do something like this is to store the id of the last activated column in a global variable in the form, using the OnActivate() trigger of each and every column of the tablebox. This way you will know what the last column is the used used.
  • vh8000
    vh8000 Member Posts: 23
    It worked.

    Thanks a lot for your help.
    MBerger wrote:
    i think the only way to do something like this is to store the id of the last activated column in a global variable in the form, using the OnActivate() trigger of each and every column of the tablebox. This way you will know what the last column is the used used.