Wrong default value for NTabControl.CloseTabOnMiddleClick


Author
Message
Oliver Münchow
Oliver Münchow
Junior Member (10 reputation)Junior Member (10 reputation)Junior Member (10 reputation)Junior Member (10 reputation)Junior Member (10 reputation)Junior Member (10 reputation)Junior Member (10 reputation)Junior Member (10 reputation)Junior Member (10 reputation)
Group: Forum Members
Posts: 10, Visits: 2
We found in our tool a bug, which root cause is the property NTabControl.CloseTabOnMiddleClick.

In our application we take care ourself about creating and destroying tab pages. Due to the fact that the properties
- AllowTabReoder => default: false
- HasClose => default: false
- ShowCloseOnEachTab => default: false

are set we thought that everything is okay and the user has no chance to remove or add tab pages through the Nevron UI.

Unfortunately a user found out that he could click with the middle mouse button on a tab page and it disappears. After a fast look into the NTabControl we found the property:
- CloseTabOnMiddleClick => default: true

We simply had to set this value to false and everything worked as expected. The only problem (in my eyes) is the bad choosen default value of this property. This feature is not very well known to the most users (and developers) and so they mostly don't test it. Additionally the default values of all other user manipulation possibilities are set to "user is not allowed to change this", but this property not.

So for the next release, please change the default value of this property to false, so that it will better mesh with the other values.
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search