複数グラフィックのシナリオ1
- Last UpdatedApr 28, 2026
- 1 minute read
同一のインターフェイス要素(押しボタンなど)を使用して、複数のグラフィックを開く必要がある場合。
この目的を果たすには、以下のスクリプトを使用します。
暗いグラフィックInfoasaaGraphic.GraphicInfo;
graphicInfo.Identity = "<Identity>";
graphicInfo.GraphicName="symbol1";
graphicInfo.HasTitleBar=true;
graphicInfo.WindowTitle=「アナログメーター1」。
graphicInfo.Resizable=true;
graphicInfo.WindowLocation=aaGraphic.WindowLocation.Bottom;
graphicInfo.WindowType = aaGraphic.WindowType.Modeless;
ShowGraphic( graphicInfo );
graphicInfo.Identity = "<Identity>";
graphicInfo.GraphicName="symbol1";
graphicInfo.HasTitleBar=true;
graphicInfo.WindowTitle=「アナログメーター2」;
graphicInfo.Resizable=true;
graphicInfo.WindowLocation=aaGraphic.WindowLocation.Bottom;
graphicInfo.WindowType = aaGraphic.WindowType.Modeless;
ShowGraphic( graphicInfo );
graphicInfo.Identity = "<Identity>";
graphicInfo.GraphicName="symbol1";
graphicInfo.HasTitleBar=true;
graphicInfo.WindowTitle="アナログメーター3";
graphicInfo.Resizable=true;
graphicInfo.WindowLocation=aaGraphic.WindowLocation.Bottom;
graphicInfo.WindowType = aaGraphic.WindowType.Modeless;
ShowGraphic( graphicInfo );
複数のポップアップ ウィンドウを開く場合は、一番最後のポップアップ ウィンドウのみモーダルにすることができます。その他のポップアップ ウィンドウはすべてモードレスにすることができます。その他のポップアップ ウィンドウのいずれかをモーダルにすると、最初のモーダルなポップアップ ウィンドウが開いた後、スクリプトがブロックされます。詳細については、「モーダルウィンドウとShowGraphic()関数」を参照してください。
ランタイム時、[ShowGraphicMultipleSymbols]押しボタンをクリックして、すべてのグラフィックを開きます。
