dipankarroy.mail
New member
- Joined
- Sep 23, 2009
- Messages
- 4
- Programming Experience
- 3-5
i already have some tabpages in tab control,
i want to reorder that but it not works
i am using this function
Private Sub SwapTab(ByVal tabCtrl As DevExpress.XtraTab.XtraTabControl, ByVal tabPage As DevExpress.XtraTab.XtraTabPage, ByVal CurrentPageIndex As Integer, ByVal MovetoIndex As Integer)
Dim tpto As DevExpress.XtraTab.XtraTabPage
tpto = tabCtrl.TabPages(MovetoIndex)
tabCtrl.TabPages.Move(CurrentPageIndex, tpto)
tabCtrl.TabPages.Move(MovetoIndex, tabPage)
End Sub
but it's not reorder the pages
please help me how to reorder the existing tabpages of a tabcontrol of devexpress 6.3
i want to reorder that but it not works
i am using this function
Private Sub SwapTab(ByVal tabCtrl As DevExpress.XtraTab.XtraTabControl, ByVal tabPage As DevExpress.XtraTab.XtraTabPage, ByVal CurrentPageIndex As Integer, ByVal MovetoIndex As Integer)
Dim tpto As DevExpress.XtraTab.XtraTabPage
tpto = tabCtrl.TabPages(MovetoIndex)
tabCtrl.TabPages.Move(CurrentPageIndex, tpto)
tabCtrl.TabPages.Move(MovetoIndex, tabPage)
End Sub
but it's not reorder the pages
please help me how to reorder the existing tabpages of a tabcontrol of devexpress 6.3