I want to experiment with my own HTML forms. Using the Language and Programming guides, and not being a programmer, I got very confused on creating an HTML dialog. Using the code example from “Creating HTML Dialogs”, I successfully created an applet that does nothing, but works well. When I add the HTML code to the line aDlg.HTMLCode = <supply HTML code here>
I substituted some simple HTML..ie <html><body>test</body></html>
and I get a syntax error at the start of the code. If I substitute a string , “test”, it works fine. If I put the entire html string in quotes, that seems to work also, but how do I pass more than one line of HTML at a time? I also tried creating an applet using the “Display existing data in an HTML dialog” and passing a local HTML file in (I thought)…again, the applet runs, but nothing inside.Just an embedded box, with a close and cancel at the top. As this is newbie stuff, if you can point me to an example of a working HTML applet/dialog, I would greatly appreciate it!
- You must be logged in to reply to this topic.