Options

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

vh8000vh8000 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

  • Options
    MBergerMBerger 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.
  • Options
    vh8000vh8000 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.
Sign In or Register to comment.