Monday, January 5, 2009

v7.90.0029 - 2009-01-05 19:46

  • * SC html is now a function.
      Name: html
      Action: Displays an HTML formatted string.
      Syntax: html([html], [width=600], [height=400], _
          [caption=XYplorer])
        return: A special hypertext reference when a link starting with
                "xys:" was clicked (see example).
                On Close button or ESC, an empty string is returned.
      Examples:
        // shows a message box "Yes!" or "No!" depending on the link
        // you click:
          ::echo(html('<html><body><a href="xys:Yes!">Say "Yes!"</a> _
            <br><a href="xys:No!">Say "No!"</a></body></html>'));
        // the other examples now need parentheses:
          ::html("<html><body>Hi!</body></html>");
          ::html("http://www.xyplorer.com/", 800);
          ::html("<xypath>\XYplorer.pdf");