You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

アプリケーションがサイズ変更され、デバイスが変更された時に起動します
Webアプリケーション (PRIM_WEB.Application) のメンバ

詳細


DeviceChanged イベントはデバイス サイズが別のものに変更されると常に起動します。
Device プロパティは現在アクティブなデバイスを識別します。


次の例では、デバイスにより異なるレイアウトが適用されます。
Evtroutine Handling(#Sys_Web.DeviceChanged)
Case (#Sys_Web.Device)
When (= Desktop)
#Com_owner.Layout <= #LayoutDesktop
When (= Mobile)
#Com_owner.Layout <= #LayoutMobile
When (= Tablet)
#Com_owner.Layout <= #LayoutTablet
Endcase
Endroutine

参照

すべてのコンポーネント クラス
テクニカルリファレンス

  • No labels