Results 1 to 1 of 1

Thread: Canvas section as Component (?)

  1. #1
    Senior Member
    Join Date
    Oct 2012
    Posts
    199

    Question Canvas section as Component (?)

    I've created an App (desktop, Visual FoxPro) with 1 page (blank), 1 section (canvas). I saved as Component ...

    \lianja\library\components\<myappname>\ directory created with 2 files in:
    <componentname>.config
    <componentname>.js

    <myappname> = getpozicio (page name also getpozicio)
    <componentname> = pozicio (section name also pozicio)

    I wanted to try so:
    Code:
    Lianja.showdialog("Pozíciószám","component:/getpozicio.pozicio")
    but I get error messages:
    Code:
    Sze márc. 3 21:59:34 2021
    **** Lianja JavaScript error ****
    Traceback (most recent call last):
    SyntaxError: Parse error
    
    Sze márc. 3 21:59:34 2021
    **** Lianja JavaScript error ****
    Traceback (most recent call last):
    ReferenceError: Can't find variable: getpozicio_pozicio
    Name:  Showdialog.error.png
Views: 63
Size:  5.8 KB

    then an empty window will appear
    Name:  empty_window.png
Views: 62
Size:  2.9 KB

    What do I do wrong?
    Last edited by strato; 2021-03-10 at 04:18.

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