<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hi,</p>
<p>maybe there is a bug in
<a class="moz-txt-link-freetext" href="SalInstanceTreeView::set_column_editables()">SalInstanceTreeView::set_column_editables()</a>:<br>
</p>
<p>It calls <a class="moz-txt-link-freetext" href="SvTabListBox::SetTabEditable()">SvTabListBox::SetTabEditable()</a>, which sets the EDITABLE
flag in mvTabList array of SvLBoxTab.<br>
</p>
<p>But the parent class SvTreeListBox keeps another array of
SvLBoxTab called aTabs.</p>
<p>When the user presses the mouse button on a cell in a treeview,
<a class="moz-txt-link-freetext" href="SvImpLBox::MouseButtonDown()">SvImpLBox::MouseButtonDown()</a> is called. <br>
</p>
<p>It gets the tab <a class="moz-txt-link-freetext" href="SvTreeListBox::GetTab()">SvTreeListBox::GetTab()</a>, which retrieves it from
the aTabs array.<br>
</p>
<p>Then it checks the EDITABLE flag with <a class="moz-txt-link-freetext" href="SvLBoxTab::IsEditable()">SvLBoxTab::IsEditable()</a>.</p>
<p>But of course the EDITABLE flag has been set in the mvTabList
array of the subclass SvTabListBox.</p>
<p>The net result is that only the first column is editable, since
that is always set to editable by default (in both tab arrays).</p>
<p>Is this a bug? And how to fix it? What is the point of the second
tab array in the subclass?</p>
<p>Jan</p>
<p><br>
</p>
</body>
</html>