Wednesday, November 20, 2019

Operating with system defined buttons in form Action pane

Say, we have to reference Edit button.

For this we use the macro #define.SystemDefinedViewEditButton('SystemDefinedViewEditButton')

The whole list is present in SysSystemDefinedButtons macro

Code snippet for your active method in name_DS

int active()
            ret = super();
         < ... >
            FormCommandButtonControl editButton = element.control(element.controlId(#SystemDefinedViewEditButton)) as FormCommandButtonControl;
            return ret;

Check this article

No comments: