Integrated Application Platform › Forums › General › Browse : readOnly › Reply To: Browse : readOnly
April 12, 2015 at 11:09 pm
#1175
Participant
Hi,
Following a suggestion by Andrew by email,instead of commenting out the List_HeaderContextMenu of BrowseControl, I tried changing it to:
List_HeaderContextMenu(x, y)
{
if .readOnly
return 0
else
return ContextMenu(.menu.Copy().Add("", "Reset Columns",
at: .menu.Size())).ShowCall(this, x, y)
}
Apparently, this is working as expected with all context menus working when the Browse isnt protected and hidden when it is readOnly.
Thanks,
ajith