TextStyle Inheritance

2003-11-21 Thread curry
Dear Revvies, There is currently a question over whether Rev's way of handling text font, size, and style should be changed and whether changing it would be a problem for backward compatibility. If you haven't noticed, text style inheritance in Revolution is not completely intuitive. If you ha

Re: Unicode revisited, this time with htmlText

2003-11-21 Thread Alex Rice
On Nov 21, 2003, at 5:03 PM, tuviah snyder wrote: Well that's the way you specify unicode characters in the HTML spec. Any other way would have byteorder issues, associating with it, and would require binary data be embedded into HTML which is supposed be plain text. Not true in practice. The enc

Re: Issues with Pop-up Button on Windows

2003-11-21 Thread Sannyasin Sivakatirswami
Thanks Ken, for always being there for the rest of us. I'll give it a try... Perhaps if we submit your work around as a tip of the week that will help? ;-) On Nov 21, 2003, at 6:31 PM, Ken Ray wrote: This is a bug I ran into myself, and only happens when you use the popup command in Windows;

Accelerator Keys for Button Menu Items Broken on Panther?

2003-11-21 Thread Sannyasin Sivakatirswami
I have a pulldown button "Find" with two items Find/F Find Again/G If one clicks on the button in Mac OSX 10.3.. the Cmd key symbol and letter "F" and "G" appear as expected on the item list. Trouble is, they don't work. They never did work for years in the IDE... and I recall at one point th

Re: Avoiding the found box

2003-11-21 Thread Sannyasin Sivakatirswami
does this help? global gSearchString on menuPick pWhich switch pWhich case "Find" ask "Find What?" if it is empty then break set cursor to watch put it into gSearchString set the lockmessages to true find string gSearchString in fld "fText" if the result is not emp

RE: Issues with Pop-up Button on Windows

2003-11-21 Thread Ken Ray
This is a bug I ran into myself, and only happens when you use the popup command in Windows; what happens is that instaed of the popup command being modal (i.e. waiting until the mouse is released), it is not, so it immediately continues running the script after the popup command. Here's how I got

Issues with Pop-up Button on Windows

2003-11-21 Thread Sannyasin Sivakatirswami
I am having a problem with Windows standalones with selections from a hidden pop up button. In my "go" menu button we have this: case "Table of Contents" popup btn "Table of Contents" at 10,8 break the "Table of Contents" button (which I have set as invisible) pops up nicely in the uppe

Re: is among - problem

2003-11-21 Thread J. Landman Gay
On 11/21/03 7:49 PM, Thomas J McGrath III wrote: My real problem was that "is among" was not finding sets of groups that were similar but transposed. In my need to find a solution I added the part about converting a line like 123 into 1,2,3 so that "is among" could work. I really want to under

Re: Trap Minimize Message?

2003-11-21 Thread Björnke von Gierke
look for the iconifyStack message On Samstag, Nov 22, 2003, at 03:34 Europe/Zurich, Sannyasin Sivakatirswami wrote: Beta testers for a simple slide show presentation are pointing out to me that if they minimize the window, the entire backdrop I have set covers the screen and they are left with

Trap Minimize Message?

2003-11-21 Thread Sannyasin Sivakatirswami
Beta testers for a simple slide show presentation are pointing out to me that if they minimize the window, the entire backdrop I have set covers the screen and they are left without any toolbar or access to their desktop (I set the backdrop to a dark blue which covers the user's desktop e

Re: is among - problem

2003-11-21 Thread Thomas J McGrath III
Class project: A group of three items from the list 1,2,3,4,5,6,7 with no duplicates in any order = 123 but no 213 or 312 or 231 or 321 and no doubles or triples = 111 or 112 or 323 or 322 etc. (WOW my daughter is only 13 and this in my opinion is complex until I figured it out) What follows i

Re: is among - problem

2003-11-21 Thread Rob Cozens
Here it is, folks: Rob's virgin attempt at recursion-- on mouseUp put sansDuplicates(field "My List") into field "My List" end mouseUp function sansDuplicates numberList if the number of lines of numberList < 2 then return numberList put line 1 of numberList into targetLine delete line

Re: is among - problem

2003-11-21 Thread Thomas J McGrath III
Steve, I see the coding bug got you, too. I used to spend nights rewriting scripts with a friend of mine (who's name is steve too) and we would try to get it down to the smallest number of lines. Ahh the good old days. Anyway, the problem called for no duplicate numbers in each group of three

Re: is among - problem

2003-11-21 Thread Steve Laming
Ooops, 222 still gets deleted, so it would be better to explicitly test for duplicates than rely on the addition test therefore: On MouseUp put false into found put "1,2,3" into search$ -- sort field "myList" repeat with x = the number of lines in field "myList" down to 1 put char 1 o

Re: Revolution QuickTime External

2003-11-21 Thread Trevor DeVore
On Friday, November 21, 2003, at 05:21 PM, tuviah snyder wrote: 1) Get and Set LSP Movie Variables 2) Execute Sprite events 3) Monitor the download of a QuickTime movie from an internet location 4) Change the balance, bass and treble of an audio track 5) Remove the volume control or step buttons

Re: is among - problem

2003-11-21 Thread Steve Laming
One last point, I'm not sure if you wanted to include numbers 111, 222,333, 311 etc as duplicates but if you didn't, a simple test to add the numbers and check the total would suffice to ensure that only one of each number was present, so that the code now becomes: On MouseUp put false into f

re: Revolution QuickTime External

2003-11-21 Thread tuviah snyder
>1) Get and Set LSP Movie Variables >2) Execute Sprite events >3) Monitor the download of a QuickTime movie from an internet location >4) Change the balance, bass and treble of an audio track >5) Remove the volume control or step buttons from the QuickTime player >controller Great stuff! Any chance

Re: is among - problem

2003-11-21 Thread Steve Laming
I couldn't resist testing it and here's what I came up with. I created a field "myfield" loaded with test numbers and a Go button with this script: On MouseUp put false into found put "1,2,3" into search$ -- sort field "myList" repeat with x = the number of lines in field "myList" down

Re: Avoiding the found box

2003-11-21 Thread Bill Vlahos
Nope. Even if that worked I believe it behaves like "find empty" which would reset the start point. Bill On Nov 21, 2003, at 3:11 PM, Richard Gaskin wrote: Bill Vlahos wrote: Locking and unlocking the screen still shows the box and has the same problem. Hmmm. "go this card"? -- Richard G

Re: Unicode revisited, this time with htmlText

2003-11-21 Thread tuviah snyder
>I know that I am definitely NOT objective since my programming in >Revolution has to do exclusively with foreign languages and non English >scripts at the moment, but I strongly believe that an application which >claims Unicode support needs to make it equally easy for programmers to >deal with al

Re: Revolution QuickTime External

2003-11-21 Thread Trevor DeVore
On Nov 21, 2003, at 8:33 AM, Ken Norris wrote: Hi Trevor, 4) Change the balance, bass and treble of an audio track --- Wow!! Great! Thanks so much, I've been wishing someone would come up with that for months! Your welcome. By the way, for those interested I just uploaded a new version

Re: is among - problem

2003-11-21 Thread Steve Laming
I'll attempt to correct my own syntax errors: put false into found search$="1,2,3" sort field "myList" repeat with x = 1 to the number of lines in field "myList" If char 1 of line x of mylist is among the items of search$ and char 2 of line x of mylist is among the items of search$ and ch

Re: is among - problem

2003-11-21 Thread Steve Laming
Hi Thomas I don't yet know revolution well enough to check your coding quickly, but it does seem a little long winded. Perhaps you could try something along these lines. found=false sort field "myList" repeat with x = 1 to the number of lines in field "myList" If char 1 of line x of myl

Re: Avoiding the found box

2003-11-21 Thread Richard Gaskin
Bill Vlahos wrote: > Locking and unlocking the screen still shows the box and has the same > problem. Hmmm. "go this card"? -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge: Publish any database on any Web site _

Re: is among - problem

2003-11-21 Thread jbv
Mark, Try the following script (it's not very elegant, but it works - haven't tested it thoroughly though) : Hope that helps, JB on mouseUp set cursor to watch put fld "myList" into L put "" into S put 0 into n repeat with j=1 to (number of lines of L)-1 get line j of L put

Re: Avoiding the found box

2003-11-21 Thread Bill Vlahos
Locking and unlocking the screen still shows the box and has the same problem. Bill On Nov 21, 2003, at 1:18 PM, Richard Gaskin wrote: Bill Vlahos wrote: I'm implementing a simple find text in a field feature. When I do a find it puts a box around the found text. What I do is get the foundline

Re: Avoiding the found box

2003-11-21 Thread Richard Gaskin
Bill Vlahos wrote: > I'm implementing a simple find text in a field feature. When I do a > find it puts a box around the found text. What I do is get the > foundline and then hilite the foundline. This works OK except on > Windows it looks like the last letter of the found text is blacked out. >

Avoiding the found box

2003-11-21 Thread Bill Vlahos
I'm implementing a simple find text in a field feature. When I do a find it puts a box around the found text. What I do is get the foundline and then hilite the foundline. This works OK except on Windows it looks like the last letter of the found text is blacked out. I do want to be able to "fi

No bold in Windows standalone fields?

2003-11-21 Thread Andrew Duncan
1. Create a new stack in OS X. 2. Add two Label fields, set one bold and leave the other non-bold. 3. Build standalones for Mac OS X and Windows. Leave "Apply default font settings" unchecked. 3. On both Mac and Windows standalone, the non-bold label has larger text. On Windows, the bold Labe

Re: Rev and MySQL under MacOSX

2003-11-21 Thread Gordon Tillman
Very cool Alex! Thanks for the info. --g On Nov 21, 2003, at 10:01 AM, Alex Rice wrote: You can. I am running a standalone on OS X and I have an external.bundle in the Contents/MacOS folder inside the bundle as well as bunches of other files and resources. That's what bundles are for :-) ___

Re: Rev and MySQL under MacOSX

2003-11-21 Thread Alex Rice
On Nov 21, 2003, at 8:06 AM, Gordon Tillman wrote: I had not tried to build a standalone that uses a database yet and had no idea the distribution builder created those extra folders that are external to the application bundle folder. It would be cool if it was possible to move those folders i

Re: Revolution QuickTime External

2003-11-21 Thread Ken Norris
Hi Trevor, > Date: Thu, 20 Nov 2003 21:22:14 -0700 > From: Trevor DeVore <[EMAIL PROTECTED]> > Subject: Revolution QuickTime External > 4) Change the balance, bass and treble of an audio track --- Wow!! Great! Thanks so much, I've been wishing someone would come up with that for months!

Re: Rev and MySQL under MacOSX

2003-11-21 Thread Gordon Tillman
Hi Joël,! Glad you got it working. About this... On Nov 21, 2003, at 6:27 AM, Joël Guillod wrote: When building the standalone for MacOSX, Revolution create a folder containing 3 elements: the application bundle folder (with application name) and two folders "database_drivers" and "revdb.bundl

is among - problem

2003-11-21 Thread Thomas J McGrath III
Hello to all of you wonderful REV developers.. :-) I have a problem where I have a field filled with 3 single digit numbers per line (210 lines). I wanted to find and delete any lines that had ALL of the same numbers in it but in any order - so 123 and 213 and 321 and 312 would be duplicates a

Re: Import Full Formated Text

2003-11-21 Thread Thomas J McGrath III
I just looked at all of the responses to my issue with not enough formatting for text within REV and have come to a conclusion: FORMATTING TEXT IN REV IS IMPORTANT TO REV DEVELOPERS Hooray!!! tom - feeling not at all like a square peg in this round hole

Re: Import Full Formated Text

2003-11-21 Thread Thomas J McGrath III
Mark, Do you have a sample stack of how you implemented this? I would love to learn more of REVs html abilities and what you can do with it. Tom On Nov 20, 2003, at 5:49 PM, Mark Brownell wrote: On Friday, November 21, 2003, at 04:34 AM, tuviah snyder wrote: My wish list to add to REVs built i

Import Full Formated Text

2003-11-21 Thread Chris Condit
another much needed component to add to REVs built in formatting would be decimal tabs -- Dr. Christopher D. Condit, Associate Prof., Dept. of Geosciences Univ. Massachusetts, 611 North Pleasant St., Amherst, MA, 01003-9297 [EMAIL PROTECTED] 413-545-0272 My Web Page: http://www.geo.umass.edu/

Re: Rev and MySQL under MacOSX

2003-11-21 Thread Joël Guillod
Thanks Gordon! You gave me some clues. For those who will encounter the same problem here is the fix: When building the standalone for MacOSX, Revolution create a folder containing 3 elements: the application bundle folder (with application name) and two folders "database_drivers" and "revdb.bund

Re: Database - functionality for front end application

2003-11-21 Thread Jan Schenkel
--- Melvin Cox <[EMAIL PROTECTED]> wrote: > Jan: > > I have successfully implemented each of your > suggestions. > > The only change I have made is in the script of the > field "Affilitation" > (all caps, length limited to 10 characters). > > The closeField handler will not work when the script

Re: Unicode revisited, this time with htmlText

2003-11-21 Thread Toma Tasovac
Thanks for the explanation, Tuviah. I know now how to do it, but I still think this is horrendously impractical. As I said, if I'm getting Unicode strings from mySQL and want to display them as htmlText -- I would have to convert every single character to its charToNum: that's not very effici

RE: Checkmarks in option button

2003-11-21 Thread Michael J. Lew
Thanks Sarah and Ken, those workarounds will be fine for my purpose. It is a bug though? Regards, Michael -- Michael J. Lew Senior Lecturer Department of Pharmacology The University of Melbourne Parkville 3010 Victoria Australia Phone +613 8344 8304 ** New email address: [EMAIL PROTECTED] ** ___

Re: BackgroundColor strangeness

2003-11-21 Thread Graham Samuel
On Fri, 21 Nov 2003 00:22:41 +0100, Wilhelm Sanke <[EMAIL PROTECTED] wrote: Question is, if there are so many problems with the Distribution Builder, why don't you use the Metacard Standalone Builder? Because I didn't know it existed! Like (I suspect) the majority of people on this list, I joi

Re: Database - functionality for front end application

2003-11-21 Thread Melvin Cox
Jan: I have successfully implemented each of your suggestions. The only change I have made is in the script of the field "Affilitation" (all caps, length limited to 10 characters). The closeField handler will not work when the script includes the keyDown and Capitalize handlers. The Capitaliz

Re: corrupted stack

2003-11-21 Thread Alex Rice
On Nov 21, 2003, at 12:43 AM, Frans Schoffelen wrote: Hi Alex, I may have missed the original posting here but the word "corrupted" anywhere within a mile of "project" or "stack" brings back nightmare nights of yonder SC and HC years. If you have already covered this could you please let me know

Re: corrupted stack

2003-11-21 Thread Frans Schoffelen
>Date: Thu, 20 Nov 2003 10:49:31 -0700 >From: Alex Rice <[EMAIL PROTECTED]> >Subject: Re: corrupted stack > I've run into a couple more instances of my project getting corrupted > recently. Hi Alex, I may have missed the original posting here but the word "corrupted" anywhere within a mile of "