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

Thread: Modal call a page

  1. #11
    Lianja Team yvonne.milne's Avatar
    Join Date
    Feb 2012
    Location
    Berkshire, UK
    Posts
    1,913
    Hi Cib,

    Yes, this is working for me from the Lianja/VFP Console:

    Code:
    public x1
    x1= Lianja.showdialogpanel("customerlist","customerlist")
    ? x1 // -> 1
    x1 = Lianja.showdialog("customerlist","customerlist",0,0,.t.,.t.,.t.)
    ? x1 // -> 1
    Are you getting any error messages?

    Regards,

    Yvonne

  2. #12
    Junior Member
    Join Date
    Mar 2013
    Location
    Zvolen Slovakia
    Posts
    22
    Quote Originally Posted by yvonne.milne View Post
    Hi Cib,

    Yes, this is working for me from the Lianja/VFP Console:

    Code:
    public x1
    x1= Lianja.showdialogpanel("customerlist","customerlist")
    ? x1 // -> 1
    x1 = Lianja.showdialog("customerlist","customerlist",0,0,.t.,.t.,.t.)
    ? x1 // -> 1
    Yes, your example works well.
    But when I save my own page in library, page can run, but x1 return .t.
    My procedure:
    1. Open app example_catalogview
    2. In Pages: Save in the Page Library
    3. Library: page1.vpx doubleclick open window Catalog View Example
    4. Console: public x1
    x1 = Lianja.showdialog("My caption","page1",0,0,.t.,.t.,.t.)
    ? x1 // -> .f.
    What am I doing wrong?

  3. #13
    Lianja Team yvonne.milne's Avatar
    Join Date
    Feb 2012
    Location
    Berkshire, UK
    Posts
    1,913
    Hi Cib,

    That's just the 'select' statement at the end of catalogview.rsp, which the catalogview section is based on, throwing an error as you return to the Console. If you call it from within an App it will return 1 after the Done button is clicked.

    Regards,

    Yvonne

  4. #14
    Junior Member
    Join Date
    Mar 2013
    Location
    Zvolen Slovakia
    Posts
    22
    Hi Yvonne,

    I tested it, work like you write. Did you get a ticket, or am I? In my opinion it should work well also in Console. May be with low priority.

    Regards,

    Martin Cibulka

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

    Yes, I'll investigate further and submit a ticket.

    Regards,

    Yvonne

Tags for this Thread

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