PDA

View Full Version : HTML and SUF70


csd214
10-08-2004, 12:27 AM
The screen "Scrolling HTML" is great, but are you aware of the possibility to use HTML in "Scrolling Text" (and " License Agreement")? Just choose Text Type = HTML. And you have the Screen Text options "Load from file" and "Specify now"!!!!

I should like to bring forward what Intrigued told us in the Computer Chat Forum:

<pre> <!-- By using this tag (pre), all of the spacing will stay when the
HTML document is viewed! -->

This section of information is
for what ever you want it to be about.

All of this data is contained inside the the
opening and closing pre tags!

</pre>
In addition, try this:
Add as first line:
<fieldset><legend>Personal Information</legend>
Add as last line:
</fieldset>

csd214
10-18-2004, 02:48 PM
The "Load from file" option: GREAT. Then I could use my favourite HTML editor to create a separate file. When finished, link to the file from SUF7. It worked fine; on my design machine. Think what happened when I tested the app on another machine? Right, "The page could not be displayed".

Either you have to include the file as an "External File", or you should cut 'n paste the finished page into the SUF6 window ("Specify now"). I had a link to a small image. Remember to include the image as a primer file and adjust the link. I love the Insert|File Reference; a great feature!

jassing
02-06-2005, 11:10 AM
The "Load from file" option: GREAT. Then I could use my favourite HTML editor to create a separate file. When finished, link to the file from SUF7. It worked fine; on my design machine. Think what happened when I tested the app on another machine? Right, "The page could not be displayed".

Either you have to include the file as an "External File", or you should cut 'n paste the finished page into the SUF6 window ("Specify now"). I had a link to a small image. Remember to include the image as a primer file and adjust the link. I love the Insert|File Reference; a great feature!

From the Help file:
Load from file
Load the license agreement text from a file at runtime. You can click the browse button ( ) to select a file from your system. This file will automatically be included as a resource in your install.

So it seems something is amiss, or am being "brain dead"? Seems that it should be included. I haven't figured out how to make it work. I'd rather use external files just for ease of editing them....

csd214
02-06-2005, 02:55 PM
Oops, you have read the help doc more thoroughly than I have. It seems that the map is not fitting the terrain.

What I did:
I added Licence.htm as a Primer file.

Screen:
A short (abbreviated) license agreement to be displayed (Settings | HTML | Specify now) with reference to the button 'Agreement' (renamed 'Help' button). Button action: I used the action wizard for File.Open() and was given help to select a Primer File (filename = File.Open(SessionVar.Expand("%TempLaunchFolder%\\License.htm"), "", SW_SHOWNORMAL);)

What you could do:
Settings | Load from file: %TempLaunchFolder%\License.htm

%TempLaunchFolder% is *NOT* in the variable list??

*NOT*: "This file will automatically be included as a resource in your install."

jassing
02-06-2005, 05:42 PM
Yea weird all around.

It's odd that a "browse" brings up local files, the help says it includes it; but yet you ahve to add it & reference it oddly.... so you can't use "preview"....

oh well; i'm sure it's "as designed" I just wish I understood it better.