This is a simplification of a problem that has arisen in a project regarding Euclidean activities for verifying proportions via operations on pairs of magnitudes. In the project, the LocatorPane is used to enter values for x, y that will be used in carrying out operations on pairs of line segments in order to allow the user to ascertain whether the line segments reflect the ratio, y:x, where x, y are positive integers.
The code below captures the essence of the technical problem I have run into.
I am using LocatorPane to select values (x,y) that will be used in each of the tabs in TabView. However, each time a new locator value is selected, the TabView defaults to the first tab, 1. To test this, click on either tab 2 or tab 3; then set the locator value. TabView will automatically reset to tab 1.
Test Code
Manipulate[
Row[{
TabView[{
1 -> Row[{pt[[1]], pt[[2]]}, "\t"],
2 -> Row[{2*pt[[1]], 2*pt[[2]]}, "\t"],
3 -> Row[{3*pt[[1]], 3*pt[[2]],}, "\t"]}],
LocatorPane[Dynamic@pt, Graphics[{Gray, Disk[]}]]}]]
I tried a variation in which a LocatorPane is placed within each tab, but the reset problem continues to occur.
Dynamic
after an eight year delay:) $\endgroup$