4.2.2:Window Types and the Mode of a Stack

ウインドウの形式とスタックのモード

The nature of a stack's window depends on the stack's style property and on what command was used to open the stack. You can either specify the window type when opening the stack, or allow the stack's style property to determine the type of window it is displayed in.

スタックのウインドウの種類は、スタックのスタイル・プロパティとスタックを開くのにどんなコマンドを使うかにより決まります。スタックを開く時に、ウインドウの形式を指定したり、表示された時にウインドウの形式を決めるようスタックのスタイル・プロパティを指定したりできます。


Note:
We recommend you specify the mode you want a stack to be opened in as part of the command you use to open the stack, rather than using the style property. This makes it easy to switch a stack between editable mode in the development environment, and for example, a dialog in the runtime environment.

秘訣:スタイル・プロパティを使うのではなく、スタックを開く時に使用されるコマンドに、開かれるスタックのモードを指定するコマンドも含めることをお薦めします。こうすることで、開発環境の編集モードと、例えば、実行環境でのダイアログとの間でスタックを行き来させることが簡単になります。