Page History
...
Multiple layouts can be created to target specific device sizes. For example, if the browser is resized to portrait rather than landscape, you might choose to arrange application pieces down the page rather than across. For LANSA, this is as easy as checking the height and width and applying the appropriate layout:
Evtroutine Handling(#Com_owner.SizeChanged)
If (#Com_Owner.Height > #Com_Owner.Width)
...
#Com_owner.LayoutManager <= #Layout1
...
Else
Else
#Com_owner.LayoutManager <= #Layout2
...
Endif
Endif
Endroutine
Layout Managers are an enormously powerful feature and further reading on the subject is encouraged. For more information, refer to Layout Managers in What the Application will look like in Creating Graphical User Interface Applications in the Visual LANSA Developer Guide.