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

Thread: JS delegates callling VFP server side functions

  1. #11
    Senior Member
    Join Date
    Jan 2014
    Posts
    369
    Hi Barry

    Form sections are fine but none of the canvas sections appear on any of the pages in any preview other than desktop (only used because we wanted a command button and cannot get the Dialog button to appear on a form textbox).

    All presentation rules are ticked.

    Any thoughts?

    Simon

  2. #12
    Lianja Development Team barrymavin's Avatar
    Join Date
    Feb 2012
    Location
    UK, USA, Thailand
    Posts
    7,165
    Blog Entries
    22
    Quote Originally Posted by SpringBox View Post
    Hi Barry

    Form sections are fine but none of the canvas sections appear on any of the pages in any preview other than desktop (only used because we wanted a command button and cannot get the Dialog button to appear on a form textbox).

    All presentation rules are ticked.

    Any thoughts?

    Simon
    Canvas sections are supported in all clients. Look in the JavaScript console of the browser. It should show you any errors.
    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

  3. #13
    Lianja Development Team barrymavin's Avatar
    Join Date
    Feb 2012
    Location
    UK, USA, Thailand
    Posts
    7,165
    Blog Entries
    22
    Canvas sections must have their scripting language set to JavaScript for web/mobile apps otherwise they won't be included in the generated code. VFP doesn't run in the browser client.
    Last edited by barrymavin; 2019-09-10 at 14:49.
    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

  4. #14
    Senior Member
    Join Date
    Jan 2014
    Posts
    369
    Hi Barry

    Even when changed scripting language of canvas sections from inherited to JS, still cannot get them to work so removed them for now.

    Will try some again tomorrow.

    Cheers

    Simon

  5. #15
    Lianja Development Team barrymavin's Avatar
    Join Date
    Feb 2012
    Location
    UK, USA, Thailand
    Posts
    7,165
    Blog Entries
    22
    Try them in web app view. If they work there they will work on mobile devices. There's example mobile apps you can look at to study.
    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

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