Icon View Incident Report

Minor Minor
Reported By: Matthew Jones
Reported On: 7/6/2017
For: Version 2.06 Build 3
# 4540 Removing Menu Items from a TMenuItem OnClick Event Handler Can Cause Error

A TMenuControl with a sub-item, that does something to hide one of the sub-menu items, can cause a null access in the DoExit method of the TMenuControl control.

If the sub-menu item has been hidden, then TempItem is null.

This happens because the OnClick for the item causes the item to be made invisible. It is the last in the menu, so there is no "accidental" item to take its place.


Resolution Resolution
Fixed Problem on 7/6/2017 in version 2.06 build 4


Products Affected Products Affected
Elevate Web Builder
Elevate Web Builder Trial

Image