Re: A problem with Font Menu in LC Resource Center

2012-04-21 Thread Charles Szasz
Mark, Thanks! I am sorry to be late in replying to your email. Sent from my iPad ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences:

Re: A problem with Font Menu in LC Resource Center

2012-04-21 Thread Charles Szasz
Peter, Thanks! I am sorry to be late in replying to your email. I have been trying to figure a problem I am with using LC's clipboardData in pasting text from a LC created app to a Pages document. Sent from my iPad ___ use-livecode mailing list

Re: A problem with Font Menu in LC Resource Center

2012-04-07 Thread Peter M. Brigham, MD
On Apr 6, 2012, at 10:44 PM, Charles Szasz wrote: on menuPick theMenuItem set the itemDelimiter to | switch item 1 of theMenuItem ---the submenu name case Font set the textFont of field Example Text\ to item 2 of theMenuItem break case Size

Re: A problem with Font Menu in LC Resource Center

2012-04-07 Thread Charles Szasz
Peter, Thanks! But that is how the script is presented in the Resource Center with no breaks before the end of the switch. I did insert a break after the last case statement but the script still does not work. Any other suggestions? Charles Szasz csz...@mac.com

Re: A problem with Font Menu in LC Resource Center

2012-04-07 Thread Peter M. Brigham, MD
On Apr 7, 2012, at 1:38 PM, Charles Szasz wrote: Peter, Thanks! But that is how the script is presented in the Resource Center with no breaks before the end of the switch. I did insert a break after the last case statement but the script still does not work. Any other suggestions? Just a

Re: A problem with Font Menu in LC Resource Center

2012-04-07 Thread Mark Wieder
Charles- As Peter pointed out, the problem is that you have *too many* breaks, not that you need to add one. Remove the breaks after the case Bold and case Italic lines, as these will exit from the switch statement without doing anything. Also, in the Italic case section you're attempting to see

Re: A problem with Font Menu in LC Resource Center

2012-04-06 Thread J. Landman Gay
On 4/6/12 6:09 AM, Charles Szasz wrote: I also entered the script manually line by line to see if there might be some problems with just pasting it. I go the same results - the script did not work. What is the problem? Is this a problem with the Resource Center script? Post the original

Re: A problem with Font Menu in LC Resource Center

2012-04-06 Thread Charles Szasz
Jacque, Here is my script: on menuPick theMenuItem set the itemDelimiter to | switch item 1 of theMenuItem ---the submenu name case Font set the textFont of field Example Text\ to item 2 of theMenuItem break case Size set the textSize