Fired when the application is resized and the device changes
Member of Web Application (PRIM_WEB.Application)
The DeviceChanged event is fired whenever there is a change from one device size to another. The Device property identifies the currently active device.
In this example, a different layout is applied based on the 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
Febuary 18 V14SP2