以下を使用して、特定のユーザ インタフェース コントロール項目( RolloutFloater または Rollout using)のフォーカスを設定できます。
setFocus (<RolloutControl>|<RolloutFloater>|<Rollout>)
例: |
rollout testFocus "Test Focus" ( edittext text1 "Test" edittext text2 "Focus" ) createDialog testFocus 200 100 setFocus testFocus.text2 -- the second text field gets focus! |
3ds Max 6 以降の場合
SetFocus() を使用して ActiveX コントロールのフォーカスも設定できます。