Form editor: Multicontainer tab moving does not crash anymore.
[DEVELOPMENT ENVIRONMENT] * BUG: Form editor: Multicontainer tab moving does not crash anymore.
This commit is contained in:
parent
f58c53121b
commit
d701739955
1 changed files with 1 additions and 1 deletions
|
@ -3631,7 +3631,7 @@ Private Sub MoveTab(hCtrl As CControl, iWhere As Integer)
|
||||||
|
|
||||||
If iIndex < 0 Or If iIndex >= hTabStrip.Count Or If iIndex = hTabStrip.Index Then Return
|
If iIndex < 0 Or If iIndex >= hTabStrip.Count Or If iIndex = hTabStrip.Index Then Return
|
||||||
|
|
||||||
Swap hCtrl.Tag[iIndex], hCtrl.Tag[hTabStrip.Index]
|
Swap hCtrl.Tabs[iIndex], hCtrl.Tabs[hTabStrip.Index]
|
||||||
Swap hTabStrip.Text, hTabStrip[iIndex].Text
|
Swap hTabStrip.Text, hTabStrip[iIndex].Text
|
||||||
Swap hTabStrip.Picture, hTabStrip[iIndex].Picture
|
Swap hTabStrip.Picture, hTabStrip[iIndex].Picture
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue