Tags in dialog boxes and the command: resetAll

Jim Schaubeck jimschaubeck at yahoo.com
Thu Mar 19 21:14:19 EDT 2009


Outstanding Sarah!   The <br> works great!! And I like the "one thing at a time approach" also.  I'll stick with the resetAll where I have it

 Jim..





________________________________
From: Sarah Reichelt <sarah.reichelt at gmail.com>
To: How to use Revolution <use-revolution at lists.runrev.com>
Sent: Thursday, March 19, 2009 6:08:26 PM
Subject: Re: Tags in dialog boxes and the command: resetAll

On Fri, Mar 20, 2009 at 11:02 AM, Jim Schaubeck <jimschaubeck at yahoo.com> wrote:
> I have two questions that I thought i would ask together.  If I should send two emails let me know :)
> The first question: When I use tags in the answer box to bold the text like: ...answer "<b>Hello World</b>... it works great.  However, when I add multiple lines: ...answer "<b>Hello World</b> & cr & cr & "I'm Back"... the cr's do not get recognized in the code.  It's as if they were not entered.  When I take out the tags, everything is good.  Any help would be great!

Becasue the text is now html, not plain text, your CR's have no
effect. You will need to use html line breaks <br> instead..


> Second question: I'm doing a lot of URL ftp stuff and I read that the resetAll command helps during develpoment.  I noticed that if I don't use the resetAll command during develpoment, rev will "go away" for awhile then come back.  Should I leave the resetAll command in the standalone?  The rev dictionary mentions the resetAll command for dev only.

I know the docs say to use resetAll for development testing only, but
I have to confess that I put it in my apps and use it whenever there
is a connection problem as I am then starting again from a clean
slate. The only downside that I can see is that all the connection
settings get reset too, so you need to reset the httpHeaders etc. I
think you have to reset any status or logging messages too.

If you have multiple simultaneous connections, then it would really be
a bad thing as it would close all connections not just the one giving
the problems, but I prefer to get one thing at a time.

Cheers,
Sarah
_______________________________________________
use-revolution mailing list
use-revolution at lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution



More information about the use-livecode mailing list