List Field and Ask Dialog

2002-04-06 Thread Magnus von Brömsen

Hello

I have a List Field with some lines of text. When clicking a line I want 
the Ask dialog shown, fill in a number and have that number put in (with 
a tab) after the last word of the line.

1. This script in the Text Field works:

on mouseUp
   put tab  1 after the last word of the selectedText -- the number 
1 is an test
end mouseUp


2. But if I add the Ask-dialog:

on mouseUp
   ask How many?
   put tab  it after the last word of the selectedText
end mouseUp

I have this error:

Chunk: no target found

put tab  it after the last word of the selectedText

Value: mouseUp

I have tried a lot of different ways (clickText, clickLine, 
selectedLine...) but always the same error: Chunk: no target found

Anyone having a solution? An idea? All help will be appreciated!

Thanks.
Magnus von Brömsen

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution



Re: List Field and Ask Dialog

2002-04-06 Thread David Vaughan

Magnus

Without giving you the text of the answer, your problem is that in your 
test case you have already selected a line in the field so the chunk 
(selectedText) is valid. After the ask dialog that field is no longer 
selected so any chunk address fails.

You need to note the line you selected before the ask dialog and then 
reselect it before doing the put statement.

regards
David

On Saturday, April 6, 2002, at 06:41 , Magnus von Brömsen wrote:

 Hello

 I have a List Field with some lines of text. When clicking a line I 
 want the Ask dialog shown, fill in a number and have that number put in 
 (with a tab) after the last word of the line.

 1. This script in the Text Field works:

 on mouseUp
   put tab  1 after the last word of the selectedText -- the number 
 1 is an test
 end mouseUp


 2. But if I add the Ask-dialog:

 on mouseUp
   ask How many?
   put tab  it after the last word of the selectedText
 end mouseUp

 I have this error:

 Chunk: no target found
 
 put tab  it after the last word of the selectedText
 
 Value: mouseUp

 I have tried a lot of different ways (clickText, clickLine, 
 selectedLine...) but always the same error: Chunk: no target found

 Anyone having a solution? An idea? All help will be appreciated!

 Thanks.
 Magnus von Brömsen

 ___
 use-revolution mailing list
 [EMAIL PROTECTED]
 http://lists.runrev.com/mailman/listinfo/use-revolution


___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution



Re: rev conference

2002-04-06 Thread Sjoerd Op 't Land

Devin Asay wrote/ schreef:

 snip
 To get an idea 
 of your level of interest, tick one of the items below:
 
 ( ) I will definitely come to a Revolution workshop at Macworld NY.
 
 ( ) I would consider coming to a Revolution workshop at Macworld NY.
 
 (x) Other:
I won't come because NY is too far (read: too expensive) for student like
me. Are there any people interested in attending such a conference in
Europe? I'd be willing to organise this if there is enough support to do
this in Holland.

 Thanks. I think this could be a great thing for the Rev community if
 it comes off.
 
 Devin
Regards, / Groeten,
Sjoerd

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution



Re: List Field and Ask Dialog

2002-04-06 Thread Jeanne A. E. DeVoto

At 2:39 AM -0800 4/6/2002, Magnus von Brömsen wrote:
I get the old error (Chunk: no target found) when trying this:

  on mouseUp
 ask How many?
 if it is not empty then put tab  it after the selectedLine
   end mouseUp

You may need to set the button's traversalOn to false. (This avoids losing
the selection when you click the button.)

--
Jeanne A. E. DeVoto ~ [EMAIL PROTECTED]
Runtime Revolution Limited - The Solution for Software Development
http://www.runrev.com/


___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution



a supplemental newbies forum area

2002-04-06 Thread BCE

Hey everyone, I created a YaBB board here for your use:

http://www.mailping.net/cgi-bin/yabb/YaBB.cgi

If it gets used I'll maintain it and possibly move it to it's own domain.
You'll need to register to post, but you can browse as a guest.  It's brand
new, just launched today, so please visit and post!  Hope you enjoy!

Mark


___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution



Re: MOD function does not work! So be warned!

2002-04-06 Thread Rob Cozens

One problem is what is an integer?


I would define an integer as any non-decimal number within the range 
of numbers supported by the interpreter.

http://groups.yahoo.com/group/xtalks/

Thank you, Michael.  I'm waiting confirmation of my subscription as I 
write this.
-- 

Rob Cozens
CCW, Serendipity Software Company
http://www.oenolog.com/who.htm

And I, which was two fooles, do so grow three;
Who are a little wise, the best fooles bee.

from The Triple Foole by John Donne (1572-1631)
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution



Re: How use shell on MacOS X ?

2002-04-06 Thread Dar Scott


On Saturday, April 6, 2002, at 04:00 AM, Ludovic Thébault wrote:

 Why the shell command doesn't works with MacOS X ?

I don't know why.  I hope it will soon.

In the mean time you might want to try this function that uses 
AppleScript.  I mentioned it on the list a couple weeks ago.  I 
have only used it a few times.

 I know nothing about AppleScript, but with a tiny bit of fooling 
 around I came up with this:

 function shellSH cmd
   -- Sorry, no quote marks in cmd in this version
   -- And shellCommand is ignored
   put do shell script  quote  cmd  quote into s
   do s as AppleScript
   put result() into r
   replace numToChar(13) with linefeed in r
   return r
 end shellSH

 This uses sh and not tcsh that the Terminal program uses.

With out the replace command, the end-of-line sequence in returned 
text would be a single carriage return character.  This function 
replaces it with linefeed, the standard Revolution end-of-line 
symbol.

I had to use full paths when I used this.

Since I have hardly used this, I don't know all the problems 
involved with using this function.  Perhaps others have found some.

Dar Scott


___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution



[OT humor] Learning Revolution Skills

2002-04-06 Thread Dar Scott

My children have caught the Revolution bug.  I have told them that 
if they work on their Revolution skills I'll contract some stack 
design to them.

Even so, I was caught off-guard.

My wife and the kids were making a lot of noise in the kitchen.  I 
asked what was going on.  My wife turned to me me and said loudly 
in her best tough-girl French-Russian accent, We are working on 
their revolution skills!  And then turned to her crowd thrust 
her fist into the air and shouted, Brothers and sisters, unite!

Dar Scott

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution



Re: Bad Chars in Rev Docs (was 'Re: Jeanne...revAppVersiondoesn't work?')

2002-04-06 Thread Ken Norris (dialup)

on 4/6/02 10:12 AM, Ken Ray at [EMAIL PROTECTED] wrote:

 There's also option-= as well, which doesn't display properly. But you CAN
 display them under Windows by using the Symbol font:
 
 option- is numToChar(163)
 option- is numToChar(179)
 option-= is numToChar(185)
 option-L is numToChar(216)
 
 I know it's a pain to switch fonts for certain characters, but its the only
 way I can see it being done.
--
Thanks people. I am still working (as Ihave time) on my virtual keyboard
(for the disabled). The thing will do many actions, have many adjustable
features and feedback, and be shareware.

Font manipulation, in the case of onscreen keyboards especially, is an issue
in a cross-platform situation. Although I've been told that a piece of
software should be identical in all platforms, I'm beginning to see that may
not be what I should be doing, i.e., I should take advantage of whatever
will help the user on whatever platform they use. I intend to offer
distribution on all platforms available on the same CD ROM. I don't see a
way to make them all identical in operation and still take advantage of the
uniqueness of each os.

From a professional outlook, does anyone have any philosophical thoughts
which pertain to public release of shareware on this point? It may make for
more work, but I think it will be worthwhile.

Thanks, 
Ken N.

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution



Re: [OT humor] Learning Revolution Skills

2002-04-06 Thread William T. Simmons

Great story!
Tommy Simmons
Employment Law Advisory Network
www.employmentlawadvisors.com

- Original Message - 
From: Dar Scott [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, April 06, 2002 12:39 PM
Subject: [OT humor] Learning Revolution Skills


 My children have caught the Revolution bug.  I have told them that 
 if they work on their Revolution skills I'll contract some stack 
 design to them.
 
 Even so, I was caught off-guard.
 
 My wife and the kids were making a lot of noise in the kitchen.  I 
 asked what was going on.  My wife turned to me me and said loudly 
 in her best tough-girl French-Russian accent, We are working on 
 their revolution skills!  And then turned to her crowd thrust 
 her fist into the air and shouted, Brothers and sisters, unite!
 
 Dar Scott

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution



mainstack and substack

2002-04-06 Thread yves COPPE

Hello,

I have a mainstack with many substacks.
I'd like to change making one of the substacks the main stack and the 
actually main a substack.
How to proceed ?
-- 
Greetings.

Yves COPPE

Email : [EMAIL PROTECTED]
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution



RE: Jeanne...revAppVersion doesn't work?

2002-04-06 Thread Chipp Walters


 Also, I hate to be a crab about it...but the help files still have the
 problem with apostrophe's on Windows. I know it's created for Macs, but
 can't someone figure out how to automatically convert the apostrophe's for
 windows? It kills all the links to help troubleshooter files.


Jeanne,

I checked out the latest version, and you are indeed correct. The apostrophe
problem is not there. It appears even though I installed the RR1.1.1 do a
different folder, it still used the help files (and the IDE?) from the older
installation (probably a registy thing). In any case, I updated my RevCorral
plugin (http://www.altuit.com/webs/altuit2/RunRev/Plugins.htm) to now
display RevAppVersion(),Version(), and BuildNumber() on startup so I'll know
what I'm working with!

BTW, do you know why you can't set the loc of the answer? In SC you used to
be able to:

answer Thank-you at screenloc()

but it doens't work that way in RR. Just wondering.

-Chipp

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution



Re: Jeanne...revAppVersion doesn't work?

2002-04-06 Thread Ken Norris (dialup)

on 4/6/02 3:41 PM, Chipp Walters at [EMAIL PROTECTED] wrote:

 I checked out the latest version, and you are indeed correct. The apostrophe
 problem is not there. It appears even though I installed the RR1.1.1 do a
 different folder, it still used the help files (and the IDE?) from the older
 installation (probably a registy thing). In any case, I updated my RevCorral
 plugin (http://www.altuit.com/webs/altuit2/RunRev/Plugins.htm) to now
 display RevAppVersion(),Version(), and BuildNumber() on startup so I'll know
 what I'm working with!
--
Since all my Rev stack files are outside the main Rev folder, would it be
recommended to trash the folder before I DL the new version (my poor little
drive is getting very full)?

BTW, I added a new SanDisk reader and a 128 mb flash card to use as Virtual
Memory in my PB 1400. I can't get the Memory control panel to show anything
but the HD, but yet it appears to be being used as such anyway. Any thoughts
what might be happening with that?

Thanks,
Ken N.

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution



Image still cut off/menubar problem

2002-04-06 Thread Ken Norris (dialup)

Hi there,

Mac PB 1400c, 133mhz, 48 mb, OS 8.6, SanDisk Flash memory 128 mb with 120 mb
available for additional virtual RAM, RR 1.1b1

Three problems:

1) The full screen image I put in is still cut off at the top where the task
buttons are. The image is mostly there, but it's pushed down. I've never
seen anything like this before.

When I push it back up into position, more of the top gets cut off. I tried
sizing it's rect to the screen size (0,0,600,800 in this case) this way:

on preOpenStack
 set the rect of image VirtualKeyboard to 0,0,600,800
end preOpenStack

...because I understood that's how to do it, but it doesn't work. Should I
quote the rect dim's (the docs say not)?

2) I'm still having some kind of mental hangup with understanding the
conceptual difference between HC's 'Background' and Rev's 'Groups' (might
there be a way to plot this graphically so I can see what's actually
happening?). If I want the image to appear throughout the main stack, i.e.,
on all the cards, how do I implement that? How will that affect the problem
with it getting cut off at the top?

3) What do I do to hide the menubarin Rev (I looked for a solution and
couldn't find anything in the docs)? I couldn't use the trusty manual method
used by most Mac apps either (cmd/space).

Thanks,
Ken N.

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution



Re: RR now charging royalities for runtimes?

2002-04-06 Thread Ken Norris (dialup)

Just a note, my .02 worth:

Note: I didn't read every single post on this thread, so if anyone else
already stated the obvious, I apologise.

I wouldn't think, in Scotland or anywhere else in the UK, or the U.S., or
any European countries, that anyone can legally overwrite a previous
agreement. I reread my agreement, the one I got my license with, and there
is no wording that looks even remotely like RR Ltd has the right to change
it without permission, any more than I can change it without permission.

They can issue a new agreement for licensees _after_ the current agreement
runs out, one year from the date of the agreement, but they cannot enforce
any changes to the current one without _both_ parties agreeing to do so. I
believe that would be illegal and unenforceable anywhere in the world.

So, the conclusion must be that none of the changes matter at all to
previous licensees _until_ their licenses run out.

Sincerely,
Ken N.

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution



Re: List Field and Ask Dialog

2002-04-06 Thread Magnus von Brömsen

Many thanks David
I did the same test as you -- and that works fine!?!. Then I went back 
to my original text field to find what is wrong.

For some reason I had deselect Can Recive Keyboard focus. I dont now 
why...

Thanks for all help.

/magnus


On lördag, april 6, 2002, at 01:37 , David Vaughan wrote:

 Magnus

 I checked this and it worked on a List field with LockText true

 on mouseUp
   put the selectedLine into sLine
   ask how many with 1
   select sLine
   put tab  it after the selectedLine
 end mouseUp

 regards
 David


___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution