Popup は通常の右クリックのポップアップ メニューの代わりにポップアップパネル (#prim_ppnl) インスタンスが利用できるようにします。
コントロール (PRIM_CTRL) のメンバ
データ タイプ - PRIM_PPNL - ポップアップ
Popup プロパティは、通常の右クリック PopupMenuではなく、 Popup インスタンスをコンテキストメニューとして許可します。 ポップアップパネルを使用すると、開発者はポップアップのコンテンツと形式を完全に制御できます。 ポップアップは、マウスクリックが発生した場所に配置されます。 Theポップアップ上の Prepare イベントは場所を変更するために使用することができます。
この例では、ポップアップがメインページに添付されています。
Begin_Com Role(*EXTENDS #PRIM_WEB) Height(456) Width(864) Popup(#Popup) Define_Com Class(#PRIM_TBLO) Name(#TableLayout1) Define_Com Class(#PRIM_TBLO.Column) Name(#Column1) Displayposition(1) Parent(#TableLayout1) Define_Com Class(#PRIM_TBLO.Row) Name(#Row1) Displayposition(1) Parent(#TableLayout1) Define_Com Class(#PRIM_TBLO.Item) Name(#Label1Item1) Column(#Column1) Manage(#Label1) Parent(#TableLayout1) Row(#Row1) Define_Com Class(#PRIM_PPNL) Name(#Popup) Closebutton(True) Displayposition(1) Left(55) Parent(#COM_OWNER) Tabposition(1) Tabstop(False) Titlebar(True) Top(44) Layoutmanager(#TableLayout1) Define_Com Class(#PRIM_LABL) Name(#Label1) Displayposition(2) Ellipses(Word) Height(90) Left(0) Parent(#Popup) Tabposition(2) Tabstop(False) Top(30) Verticalalignment(Center) Width(280) Alignment(Center) Caption('Popup Window') End_Com
2018 - V14SP1