|
21.11.2019, 00:20 | #1 |
Участник
|
Operating with system defined buttons in form Action pane
Источник: http://alexvoy.blogspot.com/2019/11/...d-buttons.html
============== 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() { #SysSystemDefinedButtons ret = super(); < ... > FormCommandButtonControl editButton = element.control(element.controlId(#SystemDefinedViewEditButton)) as FormCommandButtonControl; editButton.enabled(name_ds.allowEdit()); return ret; } Check this article https://docs.microsoft.com/en-us/dyn...efined-buttons Источник: http://alexvoy.blogspot.com/2019/11/...d-buttons.html
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору. |
|