Results 1 to 2 of 2

Thread: Understanding Containers

  1. #1
    Lianja Team yvonne.milne's Avatar
    Join Date
    Feb 2012
    Berkshire, UK

    Understanding Containers

    Unlike Lianja, Visual FoxPro does not support layouts which are responsive and auto adjust their contents.

    In Lianja, 'Layout' can be 'Vertical', 'Horizontal' or 'Form' or just unset.

    To use absolute positioning you do not need to specify a layout.

    A 'Form' Layout can only be used with the addRow() method not the addObject() method.

    When using 'Vertical', all objects added to the container with no height specified will be laid out with the same height. If you want a control to be a fixed height set its fixedheight property. Same goes for 'Horizontal' and fixedwidth.

    You can also set 'spacing' and 'margin' on a container.

    Containers can themselves contain containers so, for example, you can add horizontal containers to a vertical container and everything will automatically adjust to the size of the base container e.g. a Form.

  2. #2
    Lianja Development Team barrymavin's Avatar
    Join Date
    Feb 2012
    UK, USA, Thailand
    Blog Entries
    Just to clarify, containers are primarily used in custom sections or apps that are non standard custom apps that are run using the Lianja runtime.
    Principal developer of Lianja, Recital and other products

    Follow me on:




Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Journey into the Cloud
Join us