Re: remove html tags from text

2006-09-10 Thread Ken Ray
On 9/10/06 12:06 AM, Richard Gaskin [EMAIL PROTECTED] wrote: So I have two questions about this sort of parsing as opposed to using a field object to so the same: 1. Which is more fault-tolerant? Good question - one problem with the field object that was identified by Sivakatirswami back in

Re: Date Comparison Problems (was Date)

2006-09-10 Thread Ian McKnight
Thanks Mark I'll do that. -- Regards Ian === Ian McKnight [EMAIL PROTECTED] === ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your

.dmg windows

2006-09-10 Thread Trevor Hopkins
After creating a standalone on the Mac, and in the process of bundling this app up into a .dmg image, does anyone know how to place graphics in the background of the window of that .dmg? I've seen plenty of Mac apps that I've downloaded have fancy images in their .dmg's but I can't see how to

Re: .dmg windows

2006-09-10 Thread Adrian Williams
MacUser (UK) has a Masterclass on 'Creating symbolic links' which displays a background image. Issue: 21 July 2006. Vol 22. No 15. Adrian Williams Surrey, UK On 10 Sep 2006, at 11:07, Trevor Hopkins wrote: After creating a standalone on the Mac, and in the process of bundling this app up

Re: .dmg windows

2006-09-10 Thread sims
At 11:07 AM +0100 9/10/06, Trevor Hopkins wrote: After creating a standalone on the Mac, and in the process of bundling this app up into a .dmg image, does anyone know how to place graphics in the background of the window of that .dmg? I've seen plenty of Mac apps that I've downloaded have

Re: Date Comparison Problems (was Date)

2006-09-10 Thread Rob Cozens
Hi Ian, theDOBA is an array containing a date in the form DD MM - one element per key [snip] put the short date into theDateNow It appears to me that the two dates are in different formats: DOB = DD MM theDateNow = MM DD YY If you computer's date format is set

Re: remove html tags from text

2006-09-10 Thread Richard Gaskin
Ken Ray wrote: So I have two questions about this sort of parsing as opposed to using a field object to so the same: 1. Which is more fault-tolerant? Good question - one problem with the field object that was identified by Sivakatirswami back in August with this was that if you have an html

Re: remove html tags from text

2006-09-10 Thread Mark Smith
On 10 Sep 2006, at 16:26, Richard Gaskin wrote: So until someone can demonstrate otherwise, I'm sticking with using fields to strip tags from text. Though doesn't this approach fail with legitimate characters in code (or other) tags? Of course, that may not be important in your

Field listener

2006-09-10 Thread Trevor Hopkins
I'm trying to build a form whose submit button only becomes enabled after text is present in a specific field (and likewise when that field is blank, the submit button returns to disabled status). Does anyone know of a painless way to do this? I'd also like the user to be able to hit return

Re: remove html tags from text

2006-09-10 Thread Richard Gaskin
Mark Smith wrote: On 10 Sep 2006, at 16:26, Richard Gaskin wrote: So until someone can demonstrate otherwise, I'm sticking with using fields to strip tags from text. Though doesn't this approach fail with legitimate characters in code (or other) tags? Of course, that may not be

Re: remove html tags from text

2006-09-10 Thread Jim Ault
Richard, Is the white space a in the html, or a nbsp; that appears to be a space? pre put 23 | put 2 3| put 2nbsp;3 /pre Jim Ault Las Vagas On 9/10/06 10:55 AM, Richard Gaskin [EMAIL PROTECTED] wrote: Mark Smith wrote: On 10 Sep 2006, at 16:26, Richard Gaskin wrote: So

Re: Field listener

2006-09-10 Thread Jim Ault
Use 'on closefield' handler in the field of the text entry, then have that handler call the 'submit' handler Jim Ault Las Vegas On 9/10/06 9:17 AM, Trevor Hopkins [EMAIL PROTECTED] wrote: I'm trying to build a form whose submit button only becomes enabled after text is present in a specific

Re: Field listener

2006-09-10 Thread Ken Ray
On 9/10/06 11:17 AM, Trevor Hopkins [EMAIL PROTECTED] wrote: I'm trying to build a form whose submit button only becomes enabled after text is present in a specific field (and likewise when that field is blank, the submit button returns to disabled status). Does anyone know of a painless way

Re: Field listener

2006-09-10 Thread Jim Ault
Now that I have time for a more detailed answer, the key lies in how you use the 'closefield' handler of the text entry field. It is possible to : on closefield if me is empty then set a flag 'IamEmpty' to true set the Submit button to diabled state ---or simpler for the

Re: remove html tags from text

2006-09-10 Thread Jim Ault
By the way, which tags are used makes a big difference. Table tags are used frequently for layout. Notice the difference below Depending on the tags used, html considers a run of spaces as one space, but a parser has to accommodate the difference. This means that the source can have extra

Gnome or KDE?

2006-09-10 Thread Ken Ray
Is there any simple way for a Rev stack to know whether the currently running version of Linux uses Gnome or KDE? And if so, what's the best way to determine what version of Gnome or KDE is in use? Thanks, Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: [EMAIL

Characters above ASCII 255

2006-09-10 Thread Adrian Williams
I'm having trouble accessing ASCII characters above 255 in a font that has 1200 characters. I've tried this... put numToChar(1378) into field FontDisplay.txt but get two unwanted characters: a hollow square next to a character. Should I be doing some kind of conversion or calling for a

Re: Date Comparison Problems (was Date)

2006-09-10 Thread Sivakatirswami
Just curious... instead of an array...might the dateitems function (which I use a lot) be more intuitive-helpful? wherein the order of items is fixed unlike the array hash order? After validation, convert tDOB to dateitems # keep it stored as dateitems list # access items as needed for ,

Is it possible to set just one word of a text to bold ?

2006-09-10 Thread William de Smet
Hi there, How do I set just one word to bold? So far I use the following code: on mouseUp if the highlite of me is true then put Mondelinge Taal - Communicatieve voorwaarden - Niveau 2 cr into tData then put - Zit vijf minuten stil op een stoel bij een één-op-één gesprek cr after tData then

Printing from Revolution

2006-09-10 Thread Alvaro Abril - Tecnologia
Dear Sirs: How I can to print reports using Revolution .. I work with .exe (executables) We have any command for print reports? Cordialmente, Alvaro Abril Tecnología Divertia S.A. www.fantasticguatemala.com Tel. 502 2410 4600 Fax.502 2410 4646 Guatemala -Mensaje original- De: [EMAIL

Re: Is it possible to set just one word of a text to bold ?

2006-09-10 Thread jbv
William, Here's a suggestion that is worth trying : get wordoffset(Taal,tData) put BTaal/B into word it of tData set the htmlText of fld 1 to tData JB Hi there, How do I set just one word to bold? So far I use the following code: on mouseUp if the highlite of me is true then put

Re: .dmg windows

2006-09-10 Thread Scott Morrow
Trevor, sims has already mentioned dropDMG, which I use as well. The manual method is to place the image you want to use in the .dmg window. Then choose Show View Options from under the View menu in the Finder. You can set the background picture from there. To tidy up, I make the image

Re: Field listener

2006-09-10 Thread Sarah Reichelt
On 9/11/06, Trevor Hopkins [EMAIL PROTECTED] wrote: I'm trying to build a form whose submit button only becomes enabled after text is present in a specific field (and likewise when that field is blank, the submit button returns to disabled status). Does anyone know of a painless way to do this?

Re: Printing from Revolution

2006-09-10 Thread Sarah Reichelt
On 9/11/06, Alvaro Abril - Tecnologia [EMAIL PROTECTED] wrote: Dear Sirs: How I can to print reports using Revolution .. I work with .exe (executables) We have any command for print reports? Check out the revPrintText and revPrintField commands in the Revolution dictionary. I usually build

Re: Is it possible to set just one word of a text to bold ?

2006-09-10 Thread Ken Ray
On 9/10/06 3:20 PM, jbv [EMAIL PROTECTED] wrote: William, Here's a suggestion that is worth trying : get wordoffset(Taal,tData) put BTaal/B into word it of tData set the htmlText of fld 1 to tData An alternative (without HTML) is : get wordoffset(Taal,tData) set the textStyle of

Re: Characters above ASCII 255

2006-09-10 Thread Phil Davis
Hi Adrian, Take a look in the docs at the UseUnicode property. It enables numToChar() to process values higher than 255. Phil Davis Adrian Williams wrote: I'm having trouble accessing ASCII characters above 255 in a font that has 1200 characters. I've tried this... put numToChar(1378)

Re: Date Comparison Problems (was Date)

2006-09-10 Thread Ian McKnight
On 10/09/06, Sivakatirswami [EMAIL PROTECTED] wrote: Just curious... instead of an array...might the dateitems function (which I use a lot) be more intuitive-helpful? wherein the order of items is fixed unlike the array hash order? After validation, convert tDOB to dateitems # keep it stored

Re: Date Comparison Problems (was Date)

2006-09-10 Thread Ian McKnight
Hi Rob Yes with further investigation that seems to be my problem. My system date is DD/MM/ as is my preferred format for the input date - Rev seems to prefer MM/DD/ and this is where my error was occurring. Thanks for the advice. ___

Re: .dmg windows

2006-09-10 Thread Andre Garzia
Trevor, it's pretty simple to do it by hand. Steps: 1) First on that DMG create a folder and put your background image inside that folder. 2) Hide that folder. 3) Show the view options (Command+J) and select the background option. 4) Now is the trick, since you made that little folder

Re: closeField

2006-09-10 Thread Mark Wieder
Chipp- Saturday, September 9, 2006, 8:33:07 PM, you wrote: What's this + symbol thing and how does it relate to Revolution? I don't think I'm using it properly. Am I missing something? Thank God for this list, without I'd surely be lost! Fear not, Chipp. The + symbol divides the universe

runrev player, stackrunner in windows xp home

2006-09-10 Thread rand valentine
Hi. Are there any documented limitations of the Revolution Player or StackRunner not running in certain versions of Windows? I have a student who is running Windows XP Home on a Sony Vaio, and who tells me he cannot run my stacks through either the player or stackrunner -- the problem involves

Re: Characters above ASCII 255

2006-09-10 Thread Phil Davis
Actually my response may have been premature. What I said earlier is true, but it may not give you the outcome you're looking for. Here's another approach that might give you the desired outcome (or at least it will be a learning experience): - copy the text from a word processor that

Re: runrev player, stackrunner in windows xp home

2006-09-10 Thread Scott Rossi
Recently, rand valentine wrote: Hi. Are there any documented limitations of the Revolution Player or StackRunner not running in certain versions of Windows? I have a student who is running Windows XP Home on a Sony Vaio, and who tells me he cannot run my stacks through either the player or

Re: Characters above ASCII 255

2006-09-10 Thread Dar Scott
On Sep 10, 2006, at 1:08 PM, Adrian Williams wrote: I'm having trouble accessing ASCII characters above 255 in a font that has 1200 characters. I've tried this... put numToChar(1378) into field FontDisplay.txt but get two unwanted characters: a hollow square next to a character. Should I