PDA

View Full Version : Licence and Scrolling Text Forms - Load text from file


alanK
02-27-2002, 07:37 PM
Add a field to each of these screens, on the Custom tab, to specify a text file which will be loaded into the text portion of the form at build time.

In this way, users can change the text (eg. for a readme screen) in their files, without having to remember to change the screens in SF.

This feature is available in Installshield Express and other installers, and seems like an omission in SF.

FrankLaFond
02-28-2002, 07:29 PM
I had this same request. We have a slightly different license agreement for our Web distributed code vs. our CD distributed code. Being able to copy a file to the "magic" name was fast and easy.

------------------
Frank LaFond
Bioreason, Inc.
www.bioreason.com
lafond@bioreason.com

Brett
03-01-2002, 09:14 AM
Actually, what you can do is use a Read Text File action (on the Startup actions tab) to read the text file to a variable and then just use the variable as the text of your screen. That will do the trick.

- Brett

Lorne
03-01-2002, 09:31 AM
Brett -- they want to do this at design time. Using a variable requires that you also distribute and temporarily install that file (not to mention the time to load it, especially if you're reading it off a CD-ROM).

I would personally just implement some way of loading a text file into a design-time constant...that way it wouldn't just be limited to screens (and would be less work to implement too).