Page 2 of 2 FirstFirst 12
Results 11 to 18 of 18

Thread: What does the form layout option for container do?

  1. #11
    Lianja Development Team barrymavin's Avatar
    Join Date
    Feb 2012
    Location
    UK, USA, Thailand
    Posts
    5,726
    Quote Originally Posted by HankFay View Post
    Hi Barry,

    is this also web/mobile?

    thanks,

    Hank
    Hi Hank,

    Yes it is.
    Principal developer of Lianja, Recital and other products

    Follow me on:

    Twitter: http://twitter.com/lianjaInc
    Facebook: http://www.facebook.com/LianjaInc
    LinkedIn: http://www.linkedin.com/in/barrymavin

  2. #12
    Lianja MVP
    Join Date
    Feb 2012
    Location
    Berea, KY, USA
    Posts
    1,933
    +1

  3. #13
    Senior Member
    Join Date
    Feb 2012
    Location
    Rome - Italy
    Posts
    1,862
    + 2

  4. #14
    Senior Member
    Join Date
    Feb 2012
    Location
    Rome - Italy
    Posts
    1,862
    Hi all,
    I'm tryng to modify the Editor to embed a scrollable containre..
    I've try with:

    [code]
    ////////////////////////////////////////////////////////////////
    // Custom editor for column 'section1.column5'
    function page1_section1_column5_customeditor(controlsource, row,col)
    {
    var employees = Lianja.getCursor("employees");


    scroller = createObject("scrollpanel");
    scroller.resize(200, 200);
    econt = scroller.createObject("econt", "container");
    //econt.resize(800, 600);


    // econt = createObject("econt","container");
    econt.layout = "Form";
    econt.addRow("", "formheading", "label");
    formheading.caption = "EDIT EMPLOYEE DETAILS";
    formheading.fontsize = 12;
    formheading.alignment = "center";
    formheading.backcolor = "lightslategray";
    formheading.forecolor = "white";
    econt.addRow("First Name:", "firstname", "textbox");
    [\code]

    but not work..

  5. #15
    Lianja Team yvonne.milne's Avatar
    Join Date
    Feb 2012
    Location
    Berkshire, UK
    Posts
    1,369
    Hi Fabio,

    Code:
    scroller.addObject("econt","container");
    not

    Code:
    econt = scroller.createObject("econt", "container");
    and uncomment

    Code:
    econt.resize(800, 600);
    Regards,

    Yvonne

  6. #16
    Senior Member
    Join Date
    Feb 2012
    Location
    Rome - Italy
    Posts
    1,862
    Thanks Yvonne,
    it work!

    Only one problem, when I go to "edit" mode, I do not see the data..

    thanks
    Fabio
    Last edited by phabio; 2017-11-27 at 10:37.

  7. #17
    Senior Member
    Join Date
    Feb 2012
    Location
    Rome - Italy
    Posts
    1,862
    And, on Edit mode, If I press "Tab", the editor switch to "Display" mode..

  8. #18
    Lianja Team yvonne.milne's Avatar
    Join Date
    Feb 2012
    Location
    Berkshire, UK
    Posts
    1,369
    Hi Fabio,

    Submit a ticket and give us all the code/details.

    Regards,

    Yvonne

Page 2 of 2 FirstFirst 12

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