Re: Collision Detection w/o AE

2006-10-05 Thread Malte Brill

Hi Mark,

I hope you understand that I can not share the actual code of AE  
here. :-) However I can share the principle.


Calculate the smallest rectangle of intersection and compare the  
maskdata in that area. basically what you need to do is take the  
maskdata of both portions of the 2 images that lay in the smallest  
rectangle of intersection, add the values and check if it is over a  
certain threshold value. If so you have a collision.


Implementing it did cost quite some of my hair though (and that is  
why I won´t share the code here).


You wrote you need it for a student team. Maybe asking support for an  
edu price for AE might be an option? You would get far more than  
imageCollision detection only. :-)



All the best,

Malte
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Testing for numerics

2006-10-05 Thread Jim Ault
On 10/5/06 4:53 PM, "Robert Sneidar" <[EMAIL PROTECTED]> wrote:
> The benefit would be that I could use the state of the global to
> determine if this was the first time it had been initialized and run
> some setup code. The natural state of certain globals is empty, so I
> couldn't simply test for that. If I were coding from scratch I would
> just work around this, but I am porting business logic from another
> dev environment. They use this extensively.

Try using  >  the globalNames

-script lines --
global gGlobalNameArr

on preopenStack
  
  put the globalNames into listToRegister
  repeat for each item GBLNM in listToRegister
get  GBLNM&"_"
if it is "gGlobalNameArr_" then next repeat

do "global "& GBLNM  --need this to declare for this handler
if char 1 to 4 of it is "gRev" then next repeat
if char 1 of it is "$" then next repeat

do "put "& GBLNM &" into gGlobalNameArr["&it&"]"

  end repeat

end preopenstack

--the gGlobalNameArr  array is a global
--now the keys of the arr = the list of (global names&"_")
--the values = the startup value of the globals, except gGlobalNameArr
--whenever you process a global, compare to gGlobalNameArr[GBLNM&"_"]
--the reason for the "_" is that the 'do' cmd will interpret the global
rather than use its name in the index of the array.
--because gGlobalNameArr is declared in the same script container, it does
not have to be 

May not be what you need, but thought it might help.

Jim Ault
Las Vegas

> 
> On Oct 5, 2006, at 11:20 AM, J. Landman Gay wrote:
> 
>> On the other hand, just declaring a global automatically
>> initializes it to empty, so maybe that's enough for the original
>> poster. I don't see too much difference between empty and NULL;
>> there's a slight difference but probably not one that would matter
>> too much in most cases.
> 
> 
> ___
> use-revolution mailing list
> use-revolution@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution


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


Google Code Search

2006-10-05 Thread Mark Wieder
All-

I just got pointed to Google Code Search today. Looks like a great
online tool. There's no xtalk in their otherwise great selection of
programming languages, but they're open to suggestions (there's a
feedback link)...

http://www.google.com/codesearch

-- 
-Mark Wieder
 [EMAIL PROTECTED]

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


Re: Testing for numerics

2006-10-05 Thread J. Landman Gay

Robert Sneidar wrote:
The benefit would be that I could use the state of the global to 
determine if this was the first time it had been initialized and run 
some setup code. The natural state of certain globals is empty, so I 
couldn't simply test for that. If I were coding from scratch I would 
just work around this, but I am porting business logic from another dev 
environment. They use this extensively.




Maybe you could fudge it by initializing all the globals to the string 
"NULL". Then check for that. Then you'd just have to add quotation marks 
around all the "NULL"s in the existing code.


--
Jacqueline Landman Gay | [EMAIL PROTECTED]
HyperActive Software   | http://www.hyperactivesw.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: find next empty line in a table field

2006-10-05 Thread Jim Ault
Further googlism    try

"Negated Shorthand Character Classes"

which will give the category of regex that will scan until a non-white space
character is found, even across lines (cr's)

Jim Ault
Las Vegas


On 10/5/06 4:57 PM, "Robert Sneidar" <[EMAIL PROTECTED]> wrote:

> Lemme jump in here and say I was searching for a way to use Regular
> Expressions to find White Space, and came to the conclusion that you
> can't. It would be nice to find a series of spaces of variable
> lengths but I am stumped as to how. It wouldn't solve the matter of
> mixed cr's, tabs lf's and spaces.
> 
> Bob Sneidar
> IT Manager
> Logos Management
> Calvary Chapel CM
> 
> On Oct 5, 2006, at 2:42 PM, Jim Ault wrote:
> 
>> On 10/5/06 2:29 PM, "Mark Schonewille" <[EMAIL PROTECTED]
>> talk.com>
>> wrote:
>>> Andrew,
>>> put myWhateverData into line (the number of lines of line 1 to offset
>>> (cr & cr,myData) of myData) of myData
>>> 
>>> where myWhateverData is the text you want to add and myData is the
>>> orignal data or a reference to your tabel field.
>>> 
>> Good solution.
>> The only catch I can think of, Mark, is if tabs are used in an
>> empty line of
>> a table, or (in a weird case) some other char is used as a default
>> column
>> delimiter.
>> 
>> This would happen in the case of a list generator that does
>> put val1 &tab& val2 &tab& val3 & cr after newList
>> --and all the vals are emtpy.
>> 
>> Jim Ault
>> Las Vegas
> 
> 
> ___
> use-revolution mailing list
> use-revolution@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution


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


Re: find next empty line in a table field

2006-10-05 Thread Jim Ault
Try googling " regex white space" and read the many articles.  This should
let to determine the exact syntax that will work in your case.

On of the difficulties of showing a quick answer is that everyone has some
extra condition that needs to be included.

Hope this gives you a start.

Is there something specific you need to get to work?

Jim Ault
Las Vegas

On 10/5/06 4:57 PM, "Robert Sneidar" <[EMAIL PROTECTED]> wrote:

> Lemme jump in here and say I was searching for a way to use Regular
> Expressions to find White Space, and came to the conclusion that you
> can't. It would be nice to find a series of spaces of variable
> lengths but I am stumped as to how. It wouldn't solve the matter of
> mixed cr's, tabs lf's and spaces.
> 
> Bob Sneidar
> IT Manager
> Logos Management
> Calvary Chapel CM
> 
> On Oct 5, 2006, at 2:42 PM, Jim Ault wrote:
> 
>> On 10/5/06 2:29 PM, "Mark Schonewille" <[EMAIL PROTECTED]
>> talk.com>
>> wrote:
>>> Andrew,
>>> put myWhateverData into line (the number of lines of line 1 to offset
>>> (cr & cr,myData) of myData) of myData
>>> 
>>> where myWhateverData is the text you want to add and myData is the
>>> orignal data or a reference to your tabel field.
>>> 
>> Good solution.
>> The only catch I can think of, Mark, is if tabs are used in an
>> empty line of
>> a table, or (in a weird case) some other char is used as a default
>> column
>> delimiter.
>> 
>> This would happen in the case of a list generator that does
>> put val1 &tab& val2 &tab& val3 & cr after newList
>> --and all the vals are emtpy.
>> 
>> Jim Ault
>> Las Vegas
> 
> 
> ___
> use-revolution mailing list
> use-revolution@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution


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


Re: Change Tabs

2006-10-05 Thread Sarah Reichelt

On 10/6/06, Mark Greenberg <[EMAIL PROTECTED]> wrote:

I know I'm missing something obvious, so I'll brace myself for egg on
my face now.

How does one script a change in a tabbed button?  That is, I need it
to change from one tab to another without the user clicking it.



set the menuHistory of btn Tabs" to 3

will effectively click on the 3rd tab. If you have a menuPick handler,
it will be triggered then.

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


Collision Detection w/o AE

2006-10-05 Thread Mark Greenberg
One of my student teams needs an image that has an irregular shape  
and a transparent background to know when it "hits" another such  
image.  Any suggestions?  I already know about Arcade Engine, but was  
hoping for just some code that would do the trick.


Thanks in advance,

Mark Greenberg
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Change Tabs

2006-10-05 Thread Mark Greenberg
I know I'm missing something obvious, so I'll brace myself for egg on  
my face now.


How does one script a change in a tabbed button?  That is, I need it  
to change from one tab to another without the user clicking it.


Thanks in advance,

Mark Greenberg
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: find next empty line in a table field

2006-10-05 Thread Robert Sneidar
Lemme jump in here and say I was searching for a way to use Regular  
Expressions to find White Space, and came to the conclusion that you  
can't. It would be nice to find a series of spaces of variable  
lengths but I am stumped as to how. It wouldn't solve the matter of  
mixed cr's, tabs lf's and spaces.


Bob Sneidar
IT Manager
Logos Management
Calvary Chapel CM

On Oct 5, 2006, at 2:42 PM, Jim Ault wrote:

On 10/5/06 2:29 PM, "Mark Schonewille" <[EMAIL PROTECTED] 
talk.com>

wrote:

Andrew,
put myWhateverData into line (the number of lines of line 1 to offset
(cr & cr,myData) of myData) of myData

where myWhateverData is the text you want to add and myData is the
orignal data or a reference to your tabel field.


Good solution.
The only catch I can think of, Mark, is if tabs are used in an  
empty line of
a table, or (in a weird case) some other char is used as a default  
column

delimiter.

This would happen in the case of a list generator that does
put val1 &tab& val2 &tab& val3 & cr after newList
--and all the vals are emtpy.

Jim Ault
Las Vegas



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


Re: Testing for numerics

2006-10-05 Thread Robert Sneidar
The benefit would be that I could use the state of the global to  
determine if this was the first time it had been initialized and run  
some setup code. The natural state of certain globals is empty, so I  
couldn't simply test for that. If I were coding from scratch I would  
just work around this, but I am porting business logic from another  
dev environment. They use this extensively.


Bob Sneidar
IT Manager
Logos Management
Calvary Chapel CM

On Oct 5, 2006, at 11:20 AM, J. Landman Gay wrote:

On the other hand, just declaring a global automatically  
initializes it to empty, so maybe that's enough for the original  
poster. I don't see too much difference between empty and NULL;  
there's a slight difference but probably not one that would matter  
too much in most cases.



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


Re: Testing for numerics

2006-10-05 Thread J. Landman Gay

Mark Wieder wrote:

Stephen-

Thursday, October 5, 2006, 7:33:54 AM, you wrote:


Hugh, you're pushing it a bit... HC didn't appear until 1987...unless
you're counting MacPaint and MacDraw!


Hugh, of course, has been using Jacque's TimeWarp stack since before
it existed, and is therefore able to make accurate retroactive
predictions. Contradicting him is futile, because he will then go back
and change the timeline, and then where will you be, eh?



I *knew* there was a reason I was having so much trouble debugging that 
stack. Hugh, lay off.


--
Jacqueline Landman Gay | [EMAIL PROTECTED]
HyperActive Software   | http://www.hyperactivesw.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Testing for numerics

2006-10-05 Thread Robert Sneidar

Except that negative and real numbers are numbers too!

Bob Sneidar
IT Manager
Logos Management
Calvary Chapel CM

On Oct 4, 2006, at 7:11 PM, Mark Smith wrote:


I think this can be simpler:

return (pValue is an integer) AND (pValue >= 0)



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


Re: Testing for numerics

2006-10-05 Thread Robert Sneidar
Ah, but would the variable be initialized to that value every time I  
declared it? For Globals this would be a disaster. I will check that  
out.


Bob Sneidar
IT Manager
Logos Management
Calvary Chapel CM

On Oct 4, 2006, at 7:00 PM, Mark Smith wrote:

Robert, though this has nothing to do with type-checking, you can  
initialise variables to whatever you like when you declare them, so


global gAGlobal = empty
local aLocal = null

Best,

Mark



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


Re: Petition Google through Suggestions to add Revolution to Code Search

2006-10-05 Thread J. Landman Gay

Lynn Fredricks wrote:

http://groups.google.com/group/Google-Code-Search/browse_thread/thread/fcdc7
43c2705d11f

Ive started a thread in the google approved suggestion pit of doom (I mean
group box) to add Revolution. If you are interested, please show your
approval and participation :-)
Best regards,


Reading their article about this, it doesn't seem to be a permissions 
thing, it appears to be a specialized search engine for code snippets 
available on the internet.


If RR would allow google to search the mailing list archives and forums, 
then Rev code would automatically be in there, I think. The more 
publicly available code, the more results the search engine will 
display. Someone has posted after you, indicating this.



--
Jacqueline Landman Gay | [EMAIL PROTECTED]
HyperActive Software   | http://www.hyperactivesw.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: SVG

2006-10-05 Thread Luis

Hiya,

On 6 Oct 2006, at 0:04, Dar Scott wrote:



On Oct 5, 2006, at 3:53 PM, Mark Wieder wrote:


Thursday, October 5, 2006, 2:17:06 AM, you wrote:


Anyone have any idea where to find SVG in Revolution? Nothing in the
docs. I noted this on their site:



http://www.runrev.com/section/features.php



'Beautiful vector graphics engine with SVG operators.
Build powerful vector graphics creation and generation tools.'


Interesting. I wonder how long that text has been in there...

Do you need the actual SVG operators or are you interested in
implementing vector graphics in general?


Do you mean the new ink options using SVG and Porter-Duff names?


Ah, so the inks are SVG?
Porter-Duff... Porter-Duff (sounds dodgy... Let's Google http:// 
www.svgopen.org/2005/papers/abstractsvgopen/)


Well, well well! Still confused tho'... Is SVG rendered on the cards?  
Or is Revolution using SVG commands to replace previous (enhance,  
even) drawing commands? 'A rose is a Rose by any other name'...
Is there an SVG engine under the hood? Which leads me to ask: Are the  
cards XML sheets? If so, I'm getting way too excited for something  
that may not actually be there.


Cheers,

Luis.




Dar



___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your  
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution



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


Re: SVG

2006-10-05 Thread Luis

Hiya,


On 5 Oct 2006, at 22:53, Mark Wieder wrote:


Luis-

Thursday, October 5, 2006, 2:17:06 AM, you wrote:


Anyone have any idea where to find SVG in Revolution? Nothing in the
docs. I noted this on their site:



http://www.runrev.com/section/features.php



'Beautiful vector graphics engine with SVG operators.
Build powerful vector graphics creation and generation tools.'


Interesting. I wonder how long that text has been in there...


Yeah, I'm wondering too (got stung by MIDI 'support'...).



Do you need the actual SVG operators or are you interested in
implementing vector graphics in general? While I've been successful in
shelling out to ImageMagick to do SVG graphics, it's a bit of work and
not a lot of fun.



Well, it depends: If the SVG operators are there (the ones I can't  
find...) I'd use them. If the current 'graphic' operators ('line' and  
the rest of that bunch) are displayed as SVG, then I'd use them. But  
in the last case, is there an SVG engine under the hood (is  
Revolution abstracting out the SVG)? If so, where are the rest of the  
SVG operators?! Maybe they're hidden/abstracted in the other image  
functions.
If SVG is in there then it presents other possibilities I'd like to  
utilise, especially if this could be run as a CGI.
I could hack away at the available drawing commands (hmm, or even  
'translating' the drawing tools to SVG. I'll get sore, but I might  
try it) but SVG presents another facet to developing with Revolution.


Maybe I should present these 'missing' features to Runtime, see what  
they say.



--
-Mark Wieder
 [EMAIL PROTECTED]


Cheers,

Luis.




___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your  
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution



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


Re: SVG

2006-10-05 Thread Dar Scott


On Oct 5, 2006, at 3:53 PM, Mark Wieder wrote:


Thursday, October 5, 2006, 2:17:06 AM, you wrote:


Anyone have any idea where to find SVG in Revolution? Nothing in the
docs. I noted this on their site:



http://www.runrev.com/section/features.php



'Beautiful vector graphics engine with SVG operators.
Build powerful vector graphics creation and generation tools.'


Interesting. I wonder how long that text has been in there...

Do you need the actual SVG operators or are you interested in
implementing vector graphics in general?


Do you mean the new ink options using SVG and Porter-Duff names?

Dar



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


Petition Google through Suggestions to add Revolution to Code Search

2006-10-05 Thread Lynn Fredricks
http://groups.google.com/group/Google-Code-Search/browse_thread/thread/fcdc7
43c2705d11f

Ive started a thread in the google approved suggestion pit of doom (I mean
group box) to add Revolution. If you are interested, please show your
approval and participation :-)
Best regards,


Lynn Fredricks
Worldwide Business Operations
Runtime Revolution, Ltd

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


Re: SVG

2006-10-05 Thread Mark Wieder
Luis-

Thursday, October 5, 2006, 2:17:06 AM, you wrote:

> Anyone have any idea where to find SVG in Revolution? Nothing in the
> docs. I noted this on their site:

> http://www.runrev.com/section/features.php

> 'Beautiful vector graphics engine with SVG operators.
> Build powerful vector graphics creation and generation tools.'

Interesting. I wonder how long that text has been in there...

Do you need the actual SVG operators or are you interested in
implementing vector graphics in general? While I've been successful in
shelling out to ImageMagick to do SVG graphics, it's a bit of work and
not a lot of fun.

-- 
-Mark Wieder
 [EMAIL PROTECTED]

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


Re: shell vs. process

2006-10-05 Thread Mark Wieder
Sarah-

Wednesday, October 4, 2006, 6:05:47 PM, you wrote:

> Getting to this thread a bit late, but here is how I do a ping without
> blocking anything else. It is very quick if the ping is successful,
> but it's the failure delay that has to be allowed for.

Hey! That's cheating! Darn - here I thought you had an example of how
to ping using sockets...

-- 
-Mark Wieder
 [EMAIL PROTECTED]

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


Re: find next empty line in a table field

2006-10-05 Thread Jim Ault


On 10/5/06 2:29 PM, "Mark Schonewille" <[EMAIL PROTECTED]>
wrote:
> Andrew,
> put myWhateverData into line (the number of lines of line 1 to offset
> (cr & cr,myData) of myData) of myData
> 
> where myWhateverData is the text you want to add and myData is the
> orignal data or a reference to your tabel field.
> 
Good solution.
The only catch I can think of, Mark, is if tabs are used in an empty line of
a table, or (in a weird case) some other char is used as a default column
delimiter.

This would happen in the case of a list generator that does
put val1 &tab& val2 &tab& val3 & cr after newList
--and all the vals are emtpy.

Jim Ault
Las Vegas
>
> Op 5-okt-2006, om 16:25 heeft andrew h het volgende geschreven:
> 
>> 
>> I want to add text to the next empt line in a table field, which is
>> in a substack. Find won't work because it's not in the current
>> stack. Can anyone help me.
>> 
>> Thanks
>> 
>> Andrew
> 
> ___
> use-revolution mailing list
> use-revolution@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution


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


Re: find next empty line in a table field

2006-10-05 Thread Mark Schonewille

Andrew,

put myWhateverData into line (the number of lines of line 1 to offset 
(cr & cr,myData) of myData) of myData


where myWhateverData is the text you want to add and myData is the  
orignal data or a reference to your tabel field.


Mark

--

Economy-x-Talk
Consultancy and Software Engineering
http://economy-x-talk.com
http://www.salery.biz

Get your store on-line within minutes with Salery Web Store software.  
Download at http://www.salery.biz


Op 5-okt-2006, om 16:25 heeft andrew h het volgende geschreven:



I want to add text to the next empt line in a table field, which is
in a substack. Find won't work because it's not in the current  
stack. Can anyone help me.


Thanks

Andrew


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


Re: Testing for numerics

2006-10-05 Thread Mark Wieder
Stephen-

Thursday, October 5, 2006, 7:33:54 AM, you wrote:

> Hugh, you're pushing it a bit... HC didn't appear until 1987...unless
> you're counting MacPaint and MacDraw!

Hugh, of course, has been using Jacque's TimeWarp stack since before
it existed, and is therefore able to make accurate retroactive
predictions. Contradicting him is futile, because he will then go back
and change the timeline, and then where will you be, eh?

-- 
-Mark Wieder
 [EMAIL PROTECTED]

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


Re: [REQ] Testers

2006-10-05 Thread Shao Sean

Sorry, my Japanese is a little rusty, but the name is "Shao" not "Yoshi" ;-)
[insert ascii art yoshi, with mario riding him, eating an egg]

_
The next generation of Search—say hello!  
http://imagine-windowslive.com/minisites/searchlaunch/?locale=en-us&FORM=WLMTAG


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


Re: Testing for numerics

2006-10-05 Thread Dar Scott


On Oct 5, 2006, at 11:35 AM, Mark Wieder wrote:


Wednesday, October 4, 2006, 5:47:16 PM, you wrote:


I think this underscores the need for REAL type checking. I was told
that a positive integer would return true if "is a date" is used.


BZ #2783


People have created interesting bugs related to types in languages  
with strong typing.


Many languages have type integer which is not an integer but some  
uniform representation of some subset of integer.


Suppose some number in a program should only be a prime.  Should a  
prime type be invented?


Some languages infer types.

Types are a hint to compilers and in some languages are a ball and  
chain to the compiler.  Types allow a developer to organize thoughts  
and to catch errors.  However, types are part of a more general  
mechanism related to constraints on the ranges and domains functions  
and commands.  This mechanism might involve good comments, runtime  
assertions, assertions for analysis, assertions for compiling, and  
typing.  This can be generalized to I/O and sometimes intermediate  
values.


In this particular case, the common Revolution approaches are 1. to  
comment constraints or 2. to check for value errors and do something  
about those.


In functions I use internally, I usually use comments to describe the  
sets of allowed values for parameters.  In functions made available  
to customers, I use one or both.  Sometimes, I am pretty casual about  
what a parameter might be.


Revolution lends itself to runtime assertions and I expect that many  
folks have rolled their own.


The detailed syntax of Revolution is poorly defined, but I would not  
be surprised if someone someday creates a smart lint that can handle  
simple proofs.  That may be a while.  I would not be surprised if the  
compiler might catch more in the future based on ranges of values.


As far as 'is a date', I tried '"dinner and movie" is a date' in the  
message box and got false, so 'is a date' might be built with an  
assumption of a specific meaning for 'date'.


I have enjoyed strong types in programming, but I don't think typing  
is what is needed here.


Dar
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Threads (was [OT] - REALBasic Claims 100K Users)

2006-10-05 Thread Andrew


On 05/10/2006, at 1:40, Dar Scott wrote:


What kinds of things might be shared among threads?
Should a thread communicate with any threads other than its parent?

What kind of communication?
  "Do this and let me know when you are finished."
  "Do this, show progress, and let me know when you are finished."
  Bidirectional message queue.
  Send messages to a thread in 'send' style.


My initial idea would be that when you send a message you could do so 
indicating it should be run it it's own thread (or in an existing 
thread that you know the name of). By default each object (button, 
field, card etc) would have a mutex that you must hold to update it's 
attributes or to run any of its handlers (this would be acquired 
automatically). It would be possible to do finer grained locking if the 
programmer took the trouble to code it. The automatic acquisition of 
locks would be dependent on some global property (that might also be 
used to permit the creation of threads in the first place) so there 
would be no overhead for non-threaded stacks.


There wouldn't need to be any special methods of communication if it 
was done this way. A thread would terminate when the original handler 
completed.


This is just my initial thoughts...there may be flaws I haven't thought 
of. There are still details like how to terminate threads on exit, what 
do do on deadlock (or if it's the programmers job to avoid it) etc to 
be considered.


Andrew

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


Paradigma Releases Valentina 2.4.3

2006-10-05 Thread Lynn Fredricks
ADDS NEW SQL COMMANDS, PROTOCOLS

October 06, 2006. Beaverton, Oregon-based Paradigma Software, Inc announces
the immediate availability of Valentina Technology Release 2.4.3 for all
developer and business products. The release provides numerous minor
productivity improvements in addition to new, advanced SQL features and
Universal Binary support for REAL Software's REALbasic development system.

Valentina 2's next generation, object-relational database model builds on
the traditional relational database model much like C++ builds on top of the
C language. All that you know from working with traditional database systems
from IBM, Oracle and Microsoft also apply to Valentina-based development.
This robust technology excels at ultra fast management of millions of
records.

Valentina business products include Valentina Office Server for Windows and
MacOS X (PPC and Intel) and Valentina Studio, a fast and easy to use visual
tool for creating, browsing, querying and administering both local and
server-side Valentina databases. Valentina developer products are the
Valentina 2 Application Developer Kits that allow for royalty free
incorporation into desktop applications. Valentina Developer Network allows
royalty free distribution of Valentina Embedded Server. Developer solutions
are available for every major development system on MacOS X and Windows:
Apple xCode (C++, Cocoa), MS Visual Studio (.net and COM), REALbasic,
Revolution, Delphi and more.

Valentina technology includes support for Valentina XML import/export,
Valentina SQL (SQL 92 + extensions), native Unicode UTF-16 support,
simultaneous data exchange, transparent file formats, and more. Highly
optimized and unique technology allows Valentina database solutions to
operate hundreds to thousands of times faster than competing database
technologies.

General features in all Valentina 2.4.3 ADKS and Valentina Office Server:

COMPACT RECORDS PROTOCOL. A new network protocol to compress transmitted
records by an average of 50%.

PACKET VERSIONING PROTOCOL.  Packets can transmit versioning information
allowing improved communication with older/newer versions of the Valentina
client and Valentina Server components.

SQL: DROP TABLE [IF EXISTS]. If a table exists, it is automatically dropped
without an error message; this speeds rapid modification of table structure
without interactive feedback.

SQL: CREATE TABLE [IF NOT EXISTS]. If a table doesn't already exist, then it
is automatically created without generating an error message.

SQL: CREATE [TEMPORARY] TABLE AS SELECT. This feature allows a new table to
be created with a select statement, allowing very complex behaviors to be
executed on the newly created table. An example is to automatically CLONE an
existing table into a new table.

Features in Valentina Special Releases:

VALENTINA FOR REALBASIC Universal Binary Version. The best selling local and
client-server database solution for REAL Software's REALbasic is now
Universal Binary on MacOS X 10.4 Intel.

VALENTINA STUDIO ENHANCED. The visual database creation, browsing and
administration tool includes over 20 fixes and productivity improvements.

Valentina 2.4.3 is a free upgrade for current users of Valentina 2.x
products. All new features have been documented on the company wiki.
Valentina 2.4.3  ADKs start at $199. Valentina Developer Network, which
allows royalty free distribution of Valentina Embedded Server, starts at
$499.

 For more information, visit the Paradigma Software website at
http://www.paradigmasoft.com.

About Paradigma Software, Inc

Founded in 1998, Beaverton, Oregon-based Paradigma Software, Inc is the
leading provider of incredibly fast and robust database solutions for
business and development. Valentina 2 technology powers solutions as diverse
as graphics applications from major Japanese electronics companies to
solutions supporting US public schools. Paradigma Software solutions are
available for every major development environment on the Windows and
Macintosh platforms.

Contact

Paradigma Software
Ph. (503) 574-2776
http://www.paradigmasoft.com

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


Re: Testing for numerics

2006-10-05 Thread J. Landman Gay

[EMAIL PROTECTED] wrote:
Declaring initialised globals is not supported, so "global gAGlobal" is  
fine, but "global gAGlobal=empty" throws an error.


On the other hand, just declaring a global automatically initializes it 
to empty, so maybe that's enough for the original poster. I don't see 
too much difference between empty and NULL; there's a slight difference 
but probably not one that would matter too much in most cases.


--
Jacqueline Landman Gay | [EMAIL PROTECTED]
HyperActive Software   | http://www.hyperactivesw.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Testing for numerics

2006-10-05 Thread Mark Wieder
Robert-

Wednesday, October 4, 2006, 5:47:16 PM, you wrote:

> I think this underscores the need for REAL type checking. I was told
> that a positive integer would return true if "is a date" is used.

BZ #2783

-- 
-Mark Wieder
 [EMAIL PROTECTED]

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


Re: [REQ] Testers

2006-10-05 Thread ron

Hi Sean,

Thanks for your work on this. Anything that makes implementing multiple 
languages in an application is very welcomed. (You might want to 
correct the Japanese example you have if you mean to say 'hello' it 
should be こんにちは (konnichiha) not こにちは )


Ron

On Oct 5, 2006, at 10:39 AM, Stephen Barncard wrote:


This is BRILLIANT! - Language sets right in the IDE...

(which we're sure is a good point for lots of people).. For those who 
are wondering about it, here are some screenshots so you can see what 
it looks like.. http://shaosean.wehostmacs.com/libLanguages.php


There is also a roadmap done for upgrades to the library, but the 
first priority was getting the main language switching engine 
running.. We honestly believe that once you start working with it 
you'll wonder how you got along without it before ^_^


-Sean


--
stephen barncard
s a n  f r a n c i s c o
- - -  - - - - - - - - -
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your 
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution



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


Re: [OT] smalltalk video

2006-10-05 Thread Luis

StrongTalk has just been Open Sourced by Sun.

There's lots of cool stuff going on, but doesn't get disseminated as 
widely, although Seaside is making waves (ouch!).


Cheers,

Luis.


Dan Shafer wrote:
The Smalltalk world,where i'm modestly active, has a number of 
interesting things going on these days including a brilliant new project 
called Sophie for multi-media "book" thingies (pardon the jargon :-) ). 
It also features what I suspect is the largest non-Java set of available 
llibraries, classes, doodads and plugins of any popularly accessible 
programming language, including Ruby (at least for now) and possibly 
excepting JavaScript (if you consider it popularly accessible, which I do).


There are lots of Smalltalks available, too. A new product called 
Strongtalk is emerging as the new fair-haired entry because of its speed 
but it's pretty new and untested.


Lots and lots of folks still doing Smalltalk, though the crowd seems to 
remain largely confined to educators and those exploring multimedia, 3D, 
etc. It's a surprisingly resilient crowd given the passage of more than 
three decades since its inception.


On 10/5/06, *Luis* <[EMAIL PROTECTED] > 
wrote:


Squeakland (was Etoys) based on Squeak, is a really cool tool for kids
to learn with: http://www.squeakland.org/

And there's Alice too www.alice.org  (although
it looks like they're
moving from Squeak to Java).

Let's not forget Open Croquet: www.opencroquet.org


Cheers,

Luis.


Thomas McCarthy wrote:
 > This is, uhmancient. And yet, it looks very useable even now.
 >
 >

http://video.google.com/videoplay?docid=-4365247885921962429&q=environment&hl=en


 >
 > ___
 > Join Excite! - http://www.excite.com
 > The most personalized portal on the Web!
 >
 >
 > ___
 > use-revolution mailing list
 > use-revolution@lists.runrev.com

 > Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
 > http://lists.runrev.com/mailman/listinfo/use-revolution
 >
 >
___
use-revolution mailing list
use-revolution@lists.runrev.com 
Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution




--
~~
Dan Shafer, Information Product Consultant and Author
http://www.shafermedia.com
Get my book, "Revolution: Software at the Speed of Thought"
 From http://www.shafermediastore.com/tech_main.html

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


Re: Delivering Cross-Platform Solutions (was RE: [OT] - REALBasic Claims 100K Users)

2006-10-05 Thread Dan Shafer

Lynn,

Completely agree. (Wow, with Judy agreeing with ME and me agreeing with YOU,
this place is starting to become all too agreeable, isn't it? )

There are so many pros and cons of every development tool and language on
the planet that I've always maintained it comes down to two issues most of
the time: (1) what are you comfortable with (i.e., used to using); and (2)
personal taste when it's time to add a new tool to your kit.

I'm an object thinker and coder. I love Smalltalk. Given a choice between
Transcript and RB, you'd think I'd opt for RB every time. Nope. I've tried
it several times and although its OO is pretty well implemented, the rest of
the language syntax is, for me, too cumbersome and Java-like. Transcript,
OTOH, is intuitive and well-designed. Do I wish I could do OO in Transcript?
You bet. But the rapid part of RAD is important to me and RB ain't that
rapid, at least in my hands.

On 10/5/06, Lynn Fredricks <[EMAIL PROTECTED]> wrote:




If your affirmed goal is to learn object-oriented
BASIC, Revolution isnt going to be the tool for you. If you need to
deliver
a solution into that space, well, that's where the discussion gets
interesting :-)

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





--
~~
Dan Shafer, Information Product Consultant and Author
http://www.shafermedia.com
Get my book, "Revolution: Software at the Speed of Thought"

From http://www.shafermediastore.com/tech_main.html

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


Re: [OT] smalltalk video

2006-10-05 Thread Dan Shafer

The Smalltalk world,where i'm modestly active, has a number of interesting
things going on these days including a brilliant new project called Sophie
for multi-media "book" thingies (pardon the jargon :-) ). It also features
what I suspect is the largest non-Java set of available llibraries, classes,
doodads and plugins of any popularly accessible programming language,
including Ruby (at least for now) and possibly excepting JavaScript (if you
consider it popularly accessible, which I do).

There are lots of Smalltalks available, too. A new product called Strongtalk
is emerging as the new fair-haired entry because of its speed but it's
pretty new and untested.

Lots and lots of folks still doing Smalltalk, though the crowd seems to
remain largely confined to educators and those exploring multimedia, 3D,
etc. It's a surprisingly resilient crowd given the passage of more than
three decades since its inception.

On 10/5/06, Luis <[EMAIL PROTECTED]> wrote:


Squeakland (was Etoys) based on Squeak, is a really cool tool for kids
to learn with: http://www.squeakland.org/

And there's Alice too www.alice.org (although it looks like they're
moving from Squeak to Java).

Let's not forget Open Croquet: www.opencroquet.org

Cheers,

Luis.


Thomas McCarthy wrote:
> This is, uhmancient. And yet, it looks very useable even now.
>
>
http://video.google.com/videoplay?docid=-4365247885921962429&q=environment&hl=en
>
> ___
> Join Excite! - http://www.excite.com
> The most personalized portal on the Web!
>
>
> ___
> use-revolution mailing list
> use-revolution@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
>
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution





--
~~
Dan Shafer, Information Product Consultant and Author
http://www.shafermedia.com
Get my book, "Revolution: Software at the Speed of Thought"

From http://www.shafermediastore.com/tech_main.html

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


Delivering Cross-Platform Solutions (was RE: [OT] - REALBasic Claims 100K Users)

2006-10-05 Thread Lynn Fredricks
> By that measure, RB is vastly more popular than RunRev. It 
> has four books published, quite a few magazine articles and a 
> healthy number of Web sites devoted to teaching it and 
> providing sample and reusable code (classes) for it.

A combination of thrust and timing also help. There really wasnt a good RAD
BASIC on the Mac when it appeared - and really there isnt one now. There is
FutureBasic which has been around a very long time, but its approach is less
RAD and more like "Codewarrior BASIC".

And all of these things didn't magically happen overnight. In fact, there
were books out on REALbasic in Japan well before the O'Reilly book (which
hasn't been updated and likely will not be - Matt N. has moved on to xCode).

I sell Revolution (had years of experience selling RB as well as hundreds of
software products outside of the developer space - and still do!) but
recognize that solution providers need a toolbox, not just one tool. There
are lots of Rev users who also use REALbasic or Director. 

On the other hand, we all serve the "multi-platform delivery space" - while
we all serve Thanksgiving dinner, the ingredients, recipes and processes are
all radically different. If your affirmed goal is to learn object-oriented
BASIC, Revolution isnt going to be the tool for you. If you need to deliver
a solution into that space, well, that's where the discussion gets
interesting :-)

Best regards,


Lynn Fredricks
Worldwide Business Operations
Runtime Revolution, Ltd




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


Re: How to start this project...

2006-10-05 Thread Adrian Williams

Jim,
Thanks for your words of encouragement...

On 5 Oct 2006, at 15:40, Jim Ault wrote:

Event looping and interactions with users has been discussed many 
times on

the list over the years.  You should try searching for words like
'keyboard', 'trap', 'rawkeydown' 'focus'  'Mac vs Windows vs Linux' 
and read

through the many techniques (and limitations)

I've researched all these and understand the concept, but it seems many,
many actions must be stitched together to provide seamless functioning.


Don't rule out the use of a 'dialog box' to limit user interactivity, 
if

that can fit into your scheme.  This option could provide event/message
simplicity you need.

I'd want to avoid that at all costs (at the moment).


Also, study the way messages work in Rev.  There may be messages sent 
by Rev
that will surprise you, but they will be one of the keys to harnessing 
user
actions. (closefield, enterinfield, keydown, rawkeydown, selection, 
etc)


There may be some example stacks that show these interactions and you 
can

see some of the gotchas and limitations.

I've scoured archives for relevant examples - none describes suitably.


This is not an area I spend any time working on, since all of my apps 
are

for me, or quite simplistic.

Many thanks again.
Adrian

Hope you find all that you are looking for.

Jim Ault
Las Vegas


On 10/5/06 3:38 AM, "Adrian Williams" <[EMAIL PROTECTED]> wrote:


Just to clarify to everyone what I'm trying to do.
Please look at a graphic explanation here...
http://www.clubtype.co.uk/revDev-abc/abc-rev.jpg

Tried Jim Ault's solution, but it works only on existing text
already placed in the field. Any key pressed result in a message.
I need a function that triggers at each keyDown.

I will try Jacqueline/Martin's solution now, with a keyDown
in the editedText field and a lookupchar function in the card.

After this is achieved, at some point I then need to deal with the
keyDown event when the User places the insertion point arbitrarily
in the text to revise a word.

Still plugging away...
Adrian


On 4 Oct 2006, at 00:53, Martin Blackman wrote:


Sounds like there is an error 'cos there is no selected text.  Try
putting a keydown handler similar to my/Jacque's recommendation into
the editedtext field script, and the lookupchar function into the 
card

or stack script (you can remove the button). Then chars should be
replaced as you type in editedtext. Keep on plugging away..
experimentation and the dictionary are helpful when things don't seem
to work.




So... I made a new main Stack: lookup.rev,
created three fields: editedText, input, output,
and a button to run the script.

ABC is first line of 'input' field.
123 is first line of output filed.
in field editedText, ABC is entered.
Button is pressed.
Result: "Error in handler"
Hint: function.

This function should work in its own right - yes?
Adrian


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




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


Re: XML error/question

2006-10-05 Thread Klaus Major

Hi Ton,

I doubt it... I did a uniEncode/uniDecode on the data before I  
tried to get the ID... The decoding part should only take place on  
the actual text...

Just a stupid mistake, nobody will learn anything from this ;-)


Ah, well in that case... :-)


Warm regards,

Ton Kuypers
Digital Media Partners bvba
Tel. +32 (0)477 / 739 530
Fax +32 (0)14 / 71 03 04
http://www.dmp-int.com


Regards

Klaus Major
[EMAIL PROTECTED]
http://www.major-k.de

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


RE: [OT] - REALBasic Claims 100K Users

2006-10-05 Thread Lynn Fredricks
> > Some versions check to see if your subscription is still active or 
> > not.
> 
> This isn't true, REALbasic does not phone home.  On Windows,  
> REALbasic uses IPC sockets to communicate with a debug application.   
> Depending on what Firewall software a Windows user is using 
> and how they have it configured, this inter-process 
> communication can trigger a warning.  Unfortunately the 
> warning message is somewhat misleading.

Just a word of introduction - Dave Grogono has been with REAL's technical
group for many years so he knows his stuff. Its nice to know REAL is keeping
an eye on us still ;-)

I bow to Dave's wisdom on this in this case; however some versions do
indicate how long your subscription is good for. Dave, during the upgrade
process (when you enter an upgrade key), is there any communication with the
home server or is the entire process handled locally?


> Lynn's reply also implies that when a "subscription" runs out 
> you can no longer use your current version of REALbasic.  
> This isn't the case.  When you purchase REALbasic you get 
> both the current release and 6 months of updates (at least 
> two more releases).  You can continue using these versions 
> even if you choose not to renew your update plan.

I know you just love the word "subscription" Dave :-) But I did not imply
this - you can continue to get upgrades to REALbasic as long as your
subscription plan is active, but your old version stays useful forever. That
is also the case with Revolution.

On the other hand, although it comes with 6 months of subscription updates
that doesn't mean you'll necessarily get two more versions except in theory
that they are delivered in that time period (or unless there has been a
policy change I havent heard of recently). REAL has a published plan to
deliver two updates in that time (once every 90 days I believe). This has
positives and negatives, clearly. Sometimes that means some features that
get worked and tested in one update cycle don't get shipped until a
following one. On the other hand, you do know that you are, at most, about
90 days away from an update of some kind.

Best regards,


Lynn Fredricks
Worldwide Business Operations
Runtime Revolution, Ltd

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


Re: [REQ] Testers

2006-10-05 Thread Stephen Barncard

This is BRILLIANT! - Language sets right in the IDE...

(which we're sure is a good point for lots of people).. For those 
who are wondering about it, here are some screenshots so you can see 
what it looks like.. http://shaosean.wehostmacs.com/libLanguages.php


There is also a roadmap done for upgrades to the library, but the 
first priority was getting the main language switching engine 
running.. We honestly believe that once you start working with it 
you'll wonder how you got along without it before ^_^


-Sean


--
stephen barncard
s a n  f r a n c i s c o
- - -  - - - - - - - - -
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: How to start this project...

2006-10-05 Thread Jim Ault
Event looping and interactions with users has been discussed many times on
the list over the years.  You should try searching for words like
'keyboard', 'trap', 'rawkeydown' 'focus'  'Mac vs Windows vs Linux' and read
through the many techniques (and limitations)

Don't rule out the use of a 'dialog box' to limit user interactivity, if
that can fit into your scheme.  This option could provide event/message
simplicity you need.

Also, study the way messages work in Rev.  There may be messages sent by Rev
that will surprise you, but they will be one of the keys to harnessing user
actions. (closefield, enterinfield, keydown, rawkeydown, selection, etc)

There may be some example stacks that show these interactions and you can
see some of the gotchas and limitations.

This is not an area I spend any time working on, since all of my apps are
for me, or quite simplistic.

Hope you find all that you are looking for.

Jim Ault
Las Vegas




On 10/5/06 3:38 AM, "Adrian Williams" <[EMAIL PROTECTED]> wrote:

> Just to clarify to everyone what I'm trying to do.
> Please look at a graphic explanation here...
> http://www.clubtype.co.uk/revDev-abc/abc-rev.jpg
> 
> Tried Jim Ault's solution, but it works only on existing text
> already placed in the field. Any key pressed result in a message.
> I need a function that triggers at each keyDown.
> 
> I will try Jacqueline/Martin's solution now, with a keyDown
> in the editedText field and a lookupchar function in the card.
> 
> After this is achieved, at some point I then need to deal with the
> keyDown event when the User places the insertion point arbitrarily
> in the text to revise a word.
> 
> Still plugging away...
> Adrian
> 
> 
> On 4 Oct 2006, at 00:53, Martin Blackman wrote:
> 
>> Sounds like there is an error 'cos there is no selected text.  Try
>> putting a keydown handler similar to my/Jacque's recommendation into
>> the editedtext field script, and the lookupchar function into the card
>> or stack script (you can remove the button). Then chars should be
>> replaced as you type in editedtext. Keep on plugging away..
>> experimentation and the dictionary are helpful when things don't seem
>> to work.
>> 
 
>>> So... I made a new main Stack: lookup.rev,
>>> created three fields: editedText, input, output,
>>> and a button to run the script.
>>> 
>>> ABC is first line of 'input' field.
>>> 123 is first line of output filed.
>>> in field editedText, ABC is entered.
>>> Button is pressed.
>>> Result: "Error in handler"
>>> Hint: function.
>>> 
>>> This function should work in its own right - yes?
>>> Adrian
>>> 
>> ___
>> use-revolution mailing list
>> use-revolution@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-revolution
>> 
>> 
> ___
> Adrian Williams Design Ltd (trading as Club Type),
> 44 Mill Lane,
> Merstham,
> Redhill,
> Surrey RH1 3HQ, UK
> 
> Telephone/Facsimile: 01737 643300
> dFax (computer reception): 0870 0515681
> 
> International tel/fax (UK)+44 1737 643300
> International dFax:  (UK)+44 870 0515681
> 
> Email: [EMAIL PROTECTED]
> Website: http://www.clubtype.co.uk
> 
> ___
> use-revolution mailing list
> use-revolution@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution


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


Re: Testing for numerics

2006-10-05 Thread Stephen Barncard
Hugh, you're pushing it a bit... HC didn't appear until 1987...unless 
you're counting MacPaint and MacDraw!



Moi? Unknown? This indicates I should be posting more  frequently!

/H
aka Hugh Senior, developer in HC, then SC, then MC  and Rev, since 1984 (now
feeling old)



--
stephen barncard
s a n  f r a n c i s c o
- - -  - - - - - - - - -
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: XML error/question

2006-10-05 Thread Ton Kuypers
I doubt it... I did a uniEncode/uniDecode on the data before I tried  
to get the ID... The decoding part should only take place on the  
actual text...

Just a stupid mistake, nobody will learn anything from this ;-)

Warm regards,

Ton Kuypers
Digital Media Partners bvba
Tel. +32 (0)477 / 739 530
Fax +32 (0)14 / 71 03 04
http://www.dmp-int.com



On 5-okt-06, at 15:43, Klaus Major wrote:


Dag Ton,


never mind, already found the error...


and what was it?
Might be useful for others, too.


Warm regards,

Ton Kuypers
Digital Media Partners bvba
Tel. +32 (0)477 / 739 530
Fax +32 (0)14 / 71 03 04
http://www.dmp-int.com


Groetjes

Klaus Major
[EMAIL PROTECTED]
http://www.major-k.de

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your  
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution



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


find next empty line in a table field

2006-10-05 Thread andrew h

I want to add text to the next empt line in a table field, which is 
in a substack. Find won't work because it's not in the current stack. Can 
anyone help me.

Thanks

Andrew




___
Join Excite! - http://www.excite.com
The most personalized portal on the Web!


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


Re: XML error/question

2006-10-05 Thread Klaus Major

Dag Ton,


never mind, already found the error...


and what was it?
Might be useful for others, too.


Warm regards,

Ton Kuypers
Digital Media Partners bvba
Tel. +32 (0)477 / 739 530
Fax +32 (0)14 / 71 03 04
http://www.dmp-int.com


Groetjes

Klaus Major
[EMAIL PROTECTED]
http://www.major-k.de

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


Re: XML error/question

2006-10-05 Thread Ton Kuypers

never mind, already found the error...

Warm regards,

Ton Kuypers
Digital Media Partners bvba
Tel. +32 (0)477 / 739 530
Fax +32 (0)14 / 71 03 04
http://www.dmp-int.com



On 5-okt-06, at 15:29, Ton Kuypers wrote:


Hi,

I have a question on using XML files in Revolution, when they are  
saved as UTF8 files.


The file I try to parse:


ind001767CA
50μg/0.5ml


The XML is saved as UTF8 because of the "strange" characters (like  
the "μ" in the concentration-node).


When I use "put revCreateXMLTree(vData,true,true,false) into  
vXMLid" I get the error "xmlerr, can't parse xml. Extra content at  
the end of the document"

When I use revCreateXMLTreeFromFile the same result...
Only when I save the file as a plain text file, I get the expected  
ID, but then I loose the correct info in the XML file...


Anyone any suggestions?

I'm using RR 2.7.2 on OS X 10.4.8.


Warm regards,

Ton Kuypers
Digital Media Partners bvba
Tel. +32 (0)477 / 739 530
Fax +32 (0)14 / 71 03 04
http://www.dmp-int.com



___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your  
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution



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


XML error/question

2006-10-05 Thread Ton Kuypers

Hi,

I have a question on using XML files in Revolution, when they are  
saved as UTF8 files.


The file I try to parse:


ind001767CA
50μg/0.5ml


The XML is saved as UTF8 because of the "strange" characters (like  
the "μ" in the concentration-node).


When I use "put revCreateXMLTree(vData,true,true,false) into vXMLid"  
I get the error "xmlerr, can't parse xml. Extra content at the end of  
the document"

When I use revCreateXMLTreeFromFile the same result...
Only when I save the file as a plain text file, I get the expected  
ID, but then I loose the correct info in the XML file...


Anyone any suggestions?

I'm using RR 2.7.2 on OS X 10.4.8.


Warm regards,

Ton Kuypers
Digital Media Partners bvba
Tel. +32 (0)477 / 739 530
Fax +32 (0)14 / 71 03 04
http://www.dmp-int.com



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


Re: [REQ] Testers

2006-10-05 Thread Shao Sean
Sorry for the confusion.. We're not looking at how to do it, we're looking 
for people who are interested in how to do it in their own application 
without having to script anything extra..


We were going to keep quiet about it, but we're excited about all the hard 
work put into it and to get it to merge into the Rev IDE _without_ modifying 
the IDE (which we're sure is a good point for lots of people).. For those 
who are wondering about it, here are some screenshots so you can see what it 
looks like.. http://shaosean.wehostmacs.com/libLanguages.php


There is also a roadmap done for upgrades to the library, but the first 
priority was getting the main language switching engine running.. We 
honestly believe that once you start working with it you'll wonder how you 
got along without it before ^_^


-Sean

_
Get today's hot entertainment gossip  http://movies.msn.com/movies/hotgossip

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


Re: Testing for numerics

2006-10-05 Thread Mark Smith
You're right. I hadn't ever tried this, so assumed that you could  
initialise on declaration like you can with script locals...seems a  
bit inconsistent.


Best,

Mark

On 5 Oct 2006, at 17:42, [EMAIL PROTECTED] wrote:

Declaring initialised globals is not supported, so "global  
gAGlobal" is

fine, but "global gAGlobal=empty" throws an error.


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


Re: [REQ] Testers

2006-10-05 Thread Klaus Major

Bonjour Eric,


Hi Klaus,

Your are right.
As usual ;-)


:-)


But you should know that I don't speak English (only Transcript ;-)


Aha?

So you "portray" the english words directly from the dictionary to your
posts to this list? :-D


Le 5 oct. 06 à 12:42, Klaus Major a écrit :


Bonjour mes amis francaises,

Hi Shao,
If you plan to use Unicode, I can't help you but if your goal is  
limited to Roman languages, I use a very simple and reliable  
method I can tell you.
if you read this post again, you might notice that Sean is NOT  
looking for help with
making multilingual apps, but looking for testers for his solution  
to this problem!

For me this was non-ambiguous immediately ;-)

Le 5 oct. 06 à 09:57, Shao Sean a écrit :
Do you make programs in multiple language? Looking for a quick  
and simple way to do it within Rev? Contact me directly to sign-up.


Best Regards from Paris,
Eric Chatonet


Best

Klaus Major
[EMAIL PROTECTED]
http://www.major-k.de

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


Re: [REQ] Testers

2006-10-05 Thread Eric Chatonet

Hi Klaus,

Your are right.
As usual ;-)
But you should know that I don't speak English (only Transcript ;-)

Le 5 oct. 06 à 12:42, Klaus Major a écrit :


Bonjour mes amis francaises,


Hi Shao,

If you plan to use Unicode, I can't help you but if your goal is  
limited to Roman languages, I use a very simple and reliable  
method I can tell you.


if you read this post again, you might notice that Sean is NOT  
looking for help with
making multilingual apps, but looking for testers for his solution  
to this problem!


For me this was non-ambiguous immediately ;-)


Le 5 oct. 06 à 09:57, Shao Sean a écrit :
Do you make programs in multiple language? Looking for a quick  
and simple way to do it within Rev? Contact me directly to sign-up.


Best Regards from Paris,
Eric Chatonet
- 
-

http://www.sosmartsoftware.com/[EMAIL PROTECTED]/


Regards

Klaus Major
[EMAIL PROTECTED]
http://www.major-k.de

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your  
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution




Best Regards from Paris,
Eric Chatonet
 
--

http://www.sosmartsoftware.com/[EMAIL PROTECTED]/


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


Re: [REQ] Testers

2006-10-05 Thread Klaus Major

Bonjour mes amis francaises,


Hi Shao,

If you plan to use Unicode, I can't help you but if your goal is  
limited to Roman languages, I use a very simple and reliable method  
I can tell you.


if you read this post again, you might notice that Sean is NOT  
looking for help with
making multilingual apps, but looking for testers for his solution to  
this problem!


For me this was non-ambiguous immediately ;-)


Le 5 oct. 06 à 09:57, Shao Sean a écrit :
Do you make programs in multiple language? Looking for a quick and  
simple way to do it within Rev? Contact me directly to sign-up.


Best Regards from Paris,
Eric Chatonet
-- 


http://www.sosmartsoftware.com/[EMAIL PROTECTED]/


Regards

Klaus Major
[EMAIL PROTECTED]
http://www.major-k.de

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


Re: How to start this project...

2006-10-05 Thread Adrian Williams

Just to clarify to everyone what I'm trying to do.
Please look at a graphic explanation here...
http://www.clubtype.co.uk/revDev-abc/abc-rev.jpg

Tried Jim Ault's solution, but it works only on existing text
already placed in the field. Any key pressed result in a message.
I need a function that triggers at each keyDown.

I will try Jacqueline/Martin's solution now, with a keyDown
in the editedText field and a lookupchar function in the card.

After this is achieved, at some point I then need to deal with the
keyDown event when the User places the insertion point arbitrarily
in the text to revise a word.

Still plugging away...
Adrian


On 4 Oct 2006, at 00:53, Martin Blackman wrote:


Sounds like there is an error 'cos there is no selected text.  Try
putting a keydown handler similar to my/Jacque's recommendation into
the editedtext field script, and the lookupchar function into the card
or stack script (you can remove the button). Then chars should be
replaced as you type in editedtext. Keep on plugging away..
experimentation and the dictionary are helpful when things don't seem
to work.


>
So... I made a new main Stack: lookup.rev,
created three fields: editedText, input, output,
and a button to run the script.

ABC is first line of 'input' field.
123 is first line of output filed.
in field editedText, ABC is entered.
Button is pressed.
Result: "Error in handler"
Hint: function.

This function should work in its own right - yes?
Adrian


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your 
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution



___
Adrian Williams Design Ltd (trading as Club Type),
44 Mill Lane,
Merstham,
Redhill,
Surrey RH1 3HQ, UK

Telephone/Facsimile: 01737 643300
dFax (computer reception): 0870 0515681

International tel/fax (UK)+44 1737 643300
International dFax:  (UK)+44 870 0515681

Email: [EMAIL PROTECTED]
Website: http://www.clubtype.co.uk

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


Re: [REQ] Testers

2006-10-05 Thread Eric Chatonet

Hi Shao,

If you plan to use Unicode, I can't help you but if your goal is  
limited to Roman languages, I use a very simple and reliable method I  
can tell you.


Le 5 oct. 06 à 09:57, Shao Sean a écrit :

Do you make programs in multiple language? Looking for a quick and  
simple way to do it within Rev? Contact me directly to sign-up.



Best Regards from Paris,
Eric Chatonet
 
--

http://www.sosmartsoftware.com/[EMAIL PROTECTED]/


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


Re: [OT] smalltalk video

2006-10-05 Thread Luis
Squeakland (was Etoys) based on Squeak, is a really cool tool for kids 
to learn with: http://www.squeakland.org/


And there's Alice too www.alice.org (although it looks like they're 
moving from Squeak to Java).


Let's not forget Open Croquet: www.opencroquet.org

Cheers,

Luis.


Thomas McCarthy wrote:

This is, uhmancient. And yet, it looks very useable even now.

http://video.google.com/videoplay?docid=-4365247885921962429&q=environment&hl=en

___
Join Excite! - http://www.excite.com
The most personalized portal on the Web!


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



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


[OT] smalltalk video

2006-10-05 Thread Thomas McCarthy

This is, uhmancient. And yet, it looks very useable even now.

http://video.google.com/videoplay?docid=-4365247885921962429&q=environment&hl=en

___
Join Excite! - http://www.excite.com
The most personalized portal on the Web!


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


Re: Testing for numerics

2006-10-05 Thread FlexibleLearning
Declaring initialised globals is not supported, so "global gAGlobal" is  
fine, but "global gAGlobal=empty" throws an error.
 
I can think of three ways to accomplish this:
 
Test against prior usage...
  if "gAGlobal" is not among the items of the globals then
global gAGlobal
put 10 into gAGlobal
  end if
 
Test against contents...
  global gAGlobal
  if gAGlobal <>"" then put 10 into gAGlobal
 
ReInitialize...
  delete global gAGlobal
  global gAGlobal
 
 
/H
 

> Robert, though this has nothing to do with type-checking, you  can  
> initialise variables to whatever you like when you declare  them, so
>
> global gAGlobal = empty


>>I for one would like to be able to have the  
>>  option of having new global variables initialized with NULL or   
>> UNDEFINED or something, so that I can check for the first  time  
>> initialization of said  variables.
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


SVG

2006-10-05 Thread Luis

Hiya,

Anyone have any idea where to find SVG in Revolution? Nothing in the 
docs. I noted this on their site:


http://www.runrev.com/section/features.php

'Beautiful vector graphics engine with SVG operators.
Build powerful vector graphics creation and generation tools.'

Do they mean that the current vector image features are actually based 
on SVG 'in the engine'? I can't see anything resembling the actual SVG 
operators (according to the official SVG spec) in the docs.


Cheers,

Luis.


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


Re: Help with table fields and cell editing

2006-10-05 Thread André.Bisseret

Hello !
I am interested in using table fields but I tried twice spending  
hours to find how to use them and twice I gave up !
I think I wanted too much, given the poor current state of this type  
of fields.


But I never observe what you describe
So I just tried to replicate  what you are going through.
On a Mac Pro Intel OS X 10.4.8 and Runrev  2.7.4 (build 291).

Le 4 oct. 06 à 18:29, Walton Sumner a écrit :


Help!

I have a Rev 2.7.4 (build 291) PC interface for database editing  
that is in
great shape except for one feature, directly editing a list of  
points. It
seems to me that this should be a natural table field & cell  
editing task,

but I can not see how to make it work.

I have a group that contains a table field. The table field is not  
locked,
the "Table object" setting is checked, the "cREVTable(celle" box is  
checked
(cell editing), and the maximum editable column is set to 2. The  
tab stop is
less than half the width of the field, after subtracting the width  
of the
vertical scroll bar. Problems persist with or without a horizontal  
scroll

bar.

I created a new stack with this same settings


The field has the following odd behaviors when it is populated with  
data:
1. A mouseup event within a cell temporarily erases the data in the  
cell

rather than selecting the data in the cell,

not here for me : the data are not erased , they are selected

even if I drag over the cell
contents and manage to select them before releasing the mouse. If the
mouseup occurs outside of the cell, the contents of the cell remain
selected.

Yes I get the same, but is it a real problem ?


Clicking in a cell also causes the erasing mouseup event.
I don't see what you mean exactly here ? what's "the erasing mouseup  
event" ?

These
are incorrect behaviors, IMO - the end user should be able to click  
or drag

in the cell and insert or change one or a few digits.

I am able to click, drag, insert or change one or a few digits

After clicking in a cell in the first column, clicking a different  
cell in

the first column causes the first cell's contents to reappear (correct
behavior)

well, here it did not disappear


2. Clicking any cell in the second column erases the entire field's
contents. The field does not recover when the cell is deselected.

this does not happen here; the entire field's contents remain unaffected


3. Clicking any cell in the second column selects the cell, but  
scrolls the
field horizontally so that the cell's left edge abuts the left edge  
of the
field, displaying the out-of-bounds third column and totally  
obscuring the

first column.

does not happen here


This is also incorrect behavior, IMO. The selected cell will
accept new text, let's say "ABC", after turning off the keydown  
handler that

screened for digits.

4. Tabbing from cell to cell has the same effect as clicking on a  
cell in

the second column.

here tabbing from cell to cell selects each cell successively, normally


5. After reloading the table contents from the database, clicking  
on any
cell in the second column erases everything but restores the "ABC"  
that I

entered in #3.


I only populated the table manually ; so I can't say anything here




So, I'm guessing that the table field is not updating its global  
descriptors
correctly, as reported in the archives from 2003 and 2004, but I  
can't see
that anyone else has these problems currently. In fact, there are  
messages
that talk about letting Rev handle tabs and arrows and the like, as  
if my
current problems are not reproducible at all. Also, I thought until  
now that

Rev's field issues had been resolved.

So is there some special combination of settings that makes the  
table work?
I don't understand the difference between our respective results ? I  
had the same settings you described.


One strange behaviour here :  it is working when the table is set to  
"lock text" or "unlock text" as well !


Waiting for much better table fields, I am using  adjacent fields  
that work as columns ;  the script of the last one coordinates the  
behavior of the all including a handler on mouseWithin set the  
vScroll of fld "suchfld" to the vScroll of me.


Best regards from Grenoble
André

Meanwhile, I'll be scripting a redundant interface to achieve point  
editing

with tab keys and no mouseclicks.

I can post to bugzilla if this the problem is not unique to me.

Thanks in advance.

Walton Sumner



___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your  
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution



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


Re: Help with table fields and cell editing

2006-10-05 Thread Viktoras Didziulis
Indeed, the only workaround is to uncheck and forget the "Table object". You
have to "roll your own" table. Gridlines, tab spacings are independent of
the table object anyway, so the visual impression will not change. I am also
adding a few scripts to my tables to capture keyboard events so it would
behave like an elementary table rather than an ordinary text field: 
 
#This prevents deletion of neighbour cell with delete 
on deleteKey 
if the selectedText is not empty then 
pass deleteKey 
else 
answer "Select text to delete" 
exit deleteKey 
end if 
end deleteKey 
 
#This prevents deletion of neighbour cell with backspace 
on backspaceKey 
if the selectedText is not empty then 
pass backspaceKey 
else 
answer "Select text to delete" 
exit backspaceKey 
end if 
end backspaceKey 
 
#These 2 prevent insertion of a new line into field with return/enter 
on returnInField 
exit returnInField 
end returnInField 
 
on enterInField 
exit enterInField 
end enterInField 
 
This may be the simpliest way to get a functional usable table. 
 
Best regards 
Viktoras 
---Original Message--- 
 
From: Walton Sumner 
Date: 10/04/06 19:32:21 
To: use-revolution@lists.runrev.com 
Subject: Help with table fields and cell editing 
 
Help! 
 
I have a Rev 2.7.4 (build 291) PC interface for database editing that is in 
great shape except for one feature, directly editing a list of points. It 
seems to me that this should be a natural table field & cell editing task, 
but I can not see how to make it work. 
 
I have a group that contains a table field. The table field is not locked, 
the "Table object" setting is checked, the "cREVTable(celle" box is checked 
(cell editing), and the maximum editable column is set to 2. The tab stop is

less than half the width of the field, after subtracting the width of the 
vertical scroll bar. Problems persist with or without a horizontal scroll 
bar. 
 
The field has the following odd behaviors when it is populated with data: 
1. A mouseup event within a cell temporarily erases the data in the cell 
rather than selecting the data in the cell, even if I drag over the cell 
contents and manage to select them before releasing the mouse. If the 
mouseup occurs outside of the cell, the contents of the cell remain 
selected. Clicking in a cell also causes the erasing mouseup event. These 
are incorrect behaviors, IMO - the end user should be able to click or drag 
in the cell and insert or change one or a few digits. 
After clicking in a cell in the first column, clicking a different cell in 
the first column causes the first cell's contents to reappear (correct 
behavior) 
 
2. Clicking any cell in the second column erases the entire field's 
contents. The field does not recover when the cell is deselected. 
 
3. Clicking any cell in the second column selects the cell, but scrolls the 
field horizontally so that the cell's left edge abuts the left edge of the 
field, displaying the out-of-bounds third column and totally obscuring the 
first column. This is also incorrect behavior, IMO. The selected cell will 
accept new text, let's say "ABC", after turning off the keydown handler that

screened for digits. 
 
4. Tabbing from cell to cell has the same effect as clicking on a cell in 
the second column. 
 
5. After reloading the table contents from the database, clicking on any 
cell in the second column erases everything but restores the "ABC" that I 
entered in #3. 
 
So, I'm guessing that the table field is not updating its global descriptors

correctly, as reported in the archives from 2003 and 2004, but I can't see 
that anyone else has these problems currently. In fact, there are messages 
that talk about letting Rev handle tabs and arrows and the like, as if my 
current problems are not reproducible at all. Also, I thought until now that

Rev's field issues had been resolved. 
 
So is there some special combination of settings that makes the table work? 
Meanwhile, I'll be scripting a redundant interface to achieve point editing 
with tab keys and no mouseclicks. 
 
I can post to bugzilla if this the problem is not unique to me. 
 
Thanks in advance. 
 
Walton Sumner 
 
 
 
___ 
use-revolution mailing list 
use-revolution@lists.runrev.com 
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences: 
http://lists.runrev.com/mailman/listinfo/use-revolution
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: [REQ] Testers

2006-10-05 Thread Yves COPPE


Le 5 oct. 06 à 09:57, Shao Sean a écrit :

Do you make programs in multiple language? Looking for a quick and  
simple way to do it within Rev? Contact me directly to sign-up.




Ask Rob Cozens. He made a multi language database with rev.

Greetings.

Yves COPPE
[EMAIL PROTECTED]

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


[REQ] Testers

2006-10-05 Thread Shao Sean
Do you make programs in multiple language? Looking for a quick and simple 
way to do it within Rev? Contact me directly to sign-up.


_
Be seen and heard with Windows Live Messenger and Microsoft LifeCams 
http://clk.atdmt.com/MSN/go/msnnkwme002001msn/direct/01/?href=http://www.microsoft.com/hardware/digitalcommunication/default.mspx?locale=en-us&source=hmtagline


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