Results 1 to 4 of 4

Thread: [Answers] Container

Threaded View

  1. #1
    Lianja MVP
    Join Date
    Dec 2012
    Location
    Croatia, Zagreb
    Posts
    1,135

    [Answers] Container


    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.


    Q:
    When creating a container, you can add a browse in it, very nice. Also you can add commandbuttons in it, this works but you can't give them properties like height and wide.
    A:
    Use fixedheight and fixedwidth, e.g.
    Code:
    //....
    mybutton2.caption="DoWhatIwant2"
    
    mybutton2.fixedheight=26
    mybutton2.fixedwidth=60 
    
    myform.show(1)



    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.



    All topics in [Answers] alphabetically: http://www.lianja.com/community/show...ll=1#post12352

    Last edited by josipradnik; 2016-03-02 at 07:54.

Bookmarks

Bookmarks

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