How can i disable the popup menu of the ALog control?

Knowledge Base Article # Q200081

Read Prior Article Read Next Article
Summary How to disable or hide the ALog context menu.
Login to rate article
The ALog.ShowContextMenuItem method can be used to hide individual items of the contecxt menu. For example:

log1.ShowContextMenuItem(alogContextMenuItemClear, False)

would hide the Clear from the context menu.

To remove the context menu all together add the following to the Form.OnLoad event:

log1.ShowContextMenuItem(-1, False)
Article Date 12/11/2006
Keywords ATEasy, ALog, ShowContextMenuItem

Login to rate article

Read Prior Article Read Next Article