4.2.1:Stacks
– for displaying windows, palettes and dialog boxes
スタック ー ウインドウ、パレット更にダイアログ・ボックスの表示
In Revolution, each window is a stack. This includes
editable windows, modeless and modal dialog boxes, and
palettes, as well as sub-windows available on some
operating systems, such as sheets and drawers.
レヴォルーションで表示されるウインドウは全てスタックです。ウインドウには、編集可能ウインドウ、モードレス・ダイアログやモーダル・ダイアログ・ボックス、パレット、更に幾つかのオペレーティング・システムでは、シートやドロアーといった、サブ・ウインドウが含まれています。
Tip:
If you want to make
controls within a stack to scale and position automatically
when you resize the stack, see the section on the
Geometry
Manager.
秘訣:スタックのウインドウの大きさを変更した時に、自動的にスタック内のコントロールを拡大縮小し、位置変更をする方法は、Geometry
Managerセクションをご覧下さい。
This topic discusses the way windows are implemented in
Revolution applications; how to change window appearance;
and how to control the behavior of the various window
types. This topic does not cover the organization of stacks
within a stack file, which is covered in detail in the
section Structuring
Your Application.
ここでは、レヴォルーション・アプリケーションでウインドウがどのように実装されるのか;ウインドウの外観をどのように変更するか;様々なウインドウ形式の持つ機能をどのようにしてコントロールするか;が述べられています。ここではスタック・ファイル内のスタックの体系については記述していません。この点に関してはStructuring
Your Applicationセクションをご覧下さい。
Caution:
Stacks with names
starting with "rev" are reserved by the Revolution
development environment.
警告:「rev」で始まる名前のスタックは、レヴォルーション開発環境により予約されています。
You create a new stack – which can then be displayed in any
number of modes (as described
below) – by choosing File ->
New Mainstack. You can edit stack
properties by
choosing Object ->
Stack Inspector.
新規スタック ー (下記で述べる通り)様々なモードで表示されることになりますがー の作成は、File
-> New Mainstackで行います。Object -> Stack
Inspectorを選択すると、スタックのプロパティを編集することができます。