上一個同胞 - 怎麼樣?我想進入這個顯示樹,從 Axis Box 到 TextEditBox:

但使用下面的程式碼,我陷入了第 2 步:轉到前一個兄弟:
Names Default to Here(1);
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
gb = dt << Graph Builder(
Variables( X( :height ), Y( :weight )),
Elements( Points( X, Y) )
);
show(start= report(gb)["Graph Builder",AxisBox(1)]);
show(step1 = start << parent());
show(step2 = step1 << Prev Sib()); // -> empty. doesn't work
show(step3 = step2 << child());
自動化和腳本編寫回覆:上一個兄弟 - 怎麼樣?謝謝你,吉姆:)
回覆:上一個兄弟 - 怎麼樣?屬性視窗似乎並未顯示層次結構的所有層級。顯示樹狀結構視窗有一個附加圖層,需要遍歷該圖層才能到達您要尋找的 TextBox()

我能夠透過對您的插圖進行以下修改來存取 TextBox()
show(start= report(gb)["Graph Builder",AxisBox(1)]);
show(step1 = start << parent());
show(step2 = step1 << parent());
show(step3 = step2 << Prev Sib());
show(step4 = step3 << child());
show(step5 = step4 << child());
其結果如下
start = Report(gb)["Graph Builder",AxisBox(1)] = DisplayBox[AxisBox];
step1 = start << parent() = DisplayBox[GraphBuilderAxisBox];
step2 = step1 << parent() = DisplayBox[GraphBuilderComponentBox];
step3 = step2 << Prev Sib() = DisplayBox[GraphBuilderComponentBox];
step4 = step3 << child() = DisplayBox[GraphBuilderTitleBox];
step5 = step4 << child() = DisplayBox[TextEditBox];