Print Page | Close Window

Tab Control: Reorder Event?

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Controls
Forum Description: Topics Related to Codejock Controls
URL: http://forum.codejock.com/forum_posts.asp?TID=15358
Printed Date: 26 November 2024 at 7:08pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Tab Control: Reorder Event?
Posted By: mleebert
Subject: Tab Control: Reorder Event?
Date Posted: 13 October 2009 at 1:43pm
I have AllowReorder enabled for my Tab Control. What is the best way to determine the old index of the tab moved and the new index?



Replies:
Posted By: mleebert
Date Posted: 15 October 2009 at 1:22pm
I've been attempting to figure out a workaround. One idea was to use the BeforeItemClick/SelectedChanged to store the current tab index and then the MouseUp to see if the index changed when the tab is released in the new position. The weird thing is that on a selected tab, a single left click does not fire the MouseUp event (double click works). This only occurs when AllowReorder is set to false.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net