|
25.08.2009, 08:05 | #1 |
Участник
|
Kashperuk Ivan: “Go to main table” on a RunBase dialog control
Источник: http://kashperuk.blogspot.com/2009/0...se-dialog.html
============== In one of my blog posts, I have been posed with the following question: “how to achieve go to main table on dialog field.So, the short answer is: It is not possible to override jumpRef method directly on the dialog control. This is due to the fact that in order to show the “Go to Main table” link in the context menu of a control, you need to actually override that method on the form, which is later used to draw the context menu. There are 3 possible ways that you can achieve the same functionality though, that I would like to briefly discuss here:
The class used for drawing the context menu in the example is called PopupMenu. A good example of how this class can be used in the application is available in AOT under Forms\Tutorial_PopupMenu. Some information, along with another example, is available on MSDN. A while ago, I have suggested some minor changes to the Dialog framework classes, which allow to simplify the process of overriding control event methods on the dialog. The original post can be found through this link: http://kashperuk.blogspot.com/2007/0...xtensions.html Let me know if any of this requires more clarification. Источник: http://kashperuk.blogspot.com/2009/0...se-dialog.html
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору. |
|
|
|