Re: Galaga 1990

2010-05-26 Thread Geoff Canyon Rev
You definitely don't want to do this by positioning everything every
time you update. Instead, the move command is your special friend
here. For the enemy, you can plot out a randomized course from the top
to the bottom, and then tell it to follow that path in a set amount of
time. The bullets are even easier since they just have to go from
bottom to top. I did a quick hack job, cutting the code about in half
and speeding it up significantly. It now handles three enemies and 11
bullets without breaking a sweat on my macbook. Here's the stack:
http://snurl.com/wsclc and here's the article I posted with some
comments: http://gcanyon.posterous.com/a-blast-from-my-programming-past
___
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: revWeb - revlet - examples please

2010-05-26 Thread Robert Mann

Two sites of french revlets in the education field :

http://pagesperso-orange.fr/dep23/revolution/revolution/Bienvenue.html

http://ludovic.thebault.free.fr/accueilonline.php?rub=jerange
-- 
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/revWeb-revlet-examples-please-tp2227516p2231132.html
Sent from the Revolution - User mailing list archive at Nabble.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: Datagrid border colour setting?

2010-05-26 Thread zryip theSlug
2010/5/26 Terry Judd 

> Does anyone know if there is a setting to change the border colour (both
> the
> header and the 'body') of a datagrid? Trevor?
>
> Terry...
>
> ___
> 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
>

Hi Terry,

A Data Grid is a group, so you can change its color like other group.

Example:
set the borderColor of grp "myDataGrid" to red


Regards,
-- 
-Zryip TheSlug- wish you the best! 8)
http://www.aslugontheroad.co.cc
___
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: revWeb - revlet - examples please

2010-05-26 Thread René Micout
Thank you Rich !

Le 26 mai 2010 à 05:30, Richard K. Herz a écrit :

> A few days ago I asked for links to web pages with revlets - here is my list 
> so far:
> 
> # Link 4 Game  by John Dixon
> # Guess game  by Jacqueline 
> Landman Gay
> # Chance lab and physics impulse lab 
>  by George 
> Brackett
> # Color puzzle  by Bernd 
> Niggemann
> # K12 educational example  
> by Judy Perry
> # Language and History  educational 
> revlets by L. Kirk Hagen
> # RGB Music RENGA  by Kenji Kojima
> # University staff database  by Rolf 
> Kocherhans, - click "allow once" to allow network communication to database, 
> then revlet opens as iPhone emulator, click on slider button (don't drag), 
> type rolf without return, etc.
> # Developer's examples 
>  by Sarah Reichelt
> # Chemical reactors  by Rich Herz
> 
> Thanks to everyone who sent their own links, or recommendations. One thing I 
> learned is that my graphics aren't up to par - the others are beautiful!
> 
> The speed at which graphics are updated in a revlet, as displayed in a 
> browser, is slower than in a desktop app, not surprisingly. But that is the 
> only limitation I have encountered so far in converting stacks to revlets, 
> and that may only affect a relatively large number of objects updating 
> rapidly.
> 
> I hope that the number of web pages with revlets grows fast. Revlets seem to 
> have a lot of potential.
> 
> Rich Herz
> 
> 
> 
> 
> 
> 
> ___
> 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: revWeb - revlet - examples please

2010-05-26 Thread René Micout
All work well on iMac Mac OS X 10.6.3 Safari

Le 26 mai 2010 à 08:45, Robert Mann a écrit :

> 
> nice initiative! I really wonder how large is revTalk community... Anyway
> good opportunity to be able to test what actually work and what does not. 
> 
> 1) audio on revlet seems to be problematic :
> # RGB Music RENGA  by Kenji
> Kojima : no sound (macBook mac os x 10.5 / on safari and firefox)
> -- 
> View this message in context: 
> http://runtime-revolution.278305.n4.nabble.com/revWeb-revlet-examples-please-tp2227516p223.html
> Sent from the Revolution - User mailing list archive at Nabble.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


RunRev on iPad (New)

2010-05-26 Thread René Micout
I think I find how use my RunRev applications on my iPad (only in my home... 
but for me it is wonderfull...)
I have not yet my iPad but in few days... I try it...
http://avatron.com/apps/air-display/
Bons souvenirs de Paris
René___
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: Datagrid border colour setting?

2010-05-26 Thread Terry Judd
On 26/05/10 6:08 PM, "zryip theSlug"  wrote:

> 2010/5/26 Terry Judd 
> 
>> Does anyone know if there is a setting to change the border colour (both
>> the
>> header and the 'body') of a datagrid? Trevor?
> 
> Hi Terry,
> 
> A Data Grid is a group, so you can change its color like other group.
> 
> Example:
> set the borderColor of grp "myDataGrid" to red
> 
Hey thanks - that's a good start but doesn't pickup the bottom border of the
header.

Terry...

___
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: [data grid] can't hide one of the scrollbar

2010-05-26 Thread Andre.Bisseret


Le 25 mai 10 à 22:37, Trevor DeVore a écrit :


On May 13, 2010, at 10:45 AM, Andre.Bisseret wrote:


-
on mouseUp
 local DGRef,
 ---
 copy group "DataGrid" of group "Templates" of stack  
"revDataGridLibrary" to this card

 put it into DGRef
 set the dgProp["show hScrollBar"] of DGRef to "false"
 set the dgProp["show vScrollBar"] of DGRef to "false"
end mouseUp
-
then, the V scroll bar remains visible

If I invert the order of the 2 last lines then it is the H scroll  
bar which remains visible


In other words, the last line is not executed

What am I doing wrong?


Nothing. There was an unbalanced "lock messages" call in one of the  
handlers that repositioned columns. I've fixed this for the next  
release. If you want to fix it in your own copy of the library find  
the ned of the handler _table.RepositionColumns and add 'set the  
lockmessages to msgsAreLocked' above the unlock screen call.


===
  ...

  set the lockmessages to msgsAreLocked
  unlock screen
end _table.RepositionColumns



Bonjour Trevor,
Thank you very much for that (also for your other answers for "text  
color" and "dimmed hilite color"


Your additions to the library are much appreciated ;-)

Best regards from Grenoble

André



___
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: Datagrid border colour setting?

2010-05-26 Thread zryip theSlug
2010/5/26 Terry Judd 

> On 26/05/10 6:08 PM, "zryip theSlug"  wrote:
>
> > 2010/5/26 Terry Judd 
> >
> >> Does anyone know if there is a setting to change the border colour (both
> >> the
> >> header and the 'body') of a datagrid? Trevor?
> >
> > Hi Terry,
> >
> > A Data Grid is a group, so you can change its color like other group.
> >
> > Example:
> > set the borderColor of grp "myDataGrid" to red
> >
> Hey thanks - that's a good start but doesn't pickup the bottom border of
> the
> header.
>
> Terry...
>
> ___
> 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
>

Ok, as far as I know there is no standard function for doing that in the
Data Grid.

So a solution consists to set the object color directly by code.
The name of the bottom header of a data grid is: "dgHeaderBottomBorder"

   put "red" into tTheColor

   set the bordercolor of grp "myDataGrid" to tTheColor
   put the long id of group "dgHeaderMask" of group "dgHeaderComponents" of
grp "myDataGrid" into theHeaderGroup
   set the foregroundColor of grc "dgHeaderBottomBorder" of theHeaderGroup
to tTheColor

Regards,
-- 
-Zryip TheSlug- wish you the best! 8)
http://www.aslugontheroad.co.cc
___
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: Galaga 1990

2010-05-26 Thread Scott Rossi
Nice Geoff -- the use of the move command cuts down significantly on
processor use.  And your stack reinforces the benefits of avoiding a bunch
of stacked "send" messages.

Regards,

Scott Rossi
Creative Director
Tactile Media, UX Design



Recently, Geoff Canyon Rev wrote:

> You definitely don't want to do this by positioning everything every
> time you update. Instead, the move command is your special friend
> here. For the enemy, you can plot out a randomized course from the top
> to the bottom, and then tell it to follow that path in a set amount of
> time. The bullets are even easier since they just have to go from
> bottom to top. I did a quick hack job, cutting the code about in half
> and speeding it up significantly. It now handles three enemies and 11
> bullets without breaking a sweat on my macbook. Here's the stack:
> http://snurl.com/wsclc and here's the article I posted with some
> comments: http://gcanyon.posterous.com/a-blast-from-my-programming-past


___
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: revWeb - revlet - examples please

2010-05-26 Thread Robert Mann

Sorry folks : .. my sound sticks were unplugged for some strange reason.. so
yes it all works fine... !
-- 
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/revWeb-revlet-examples-please-tp2227516p2231385.html
Sent from the Revolution - User mailing list archive at Nabble.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: Galaga 1990

2010-05-26 Thread Generic Email
Geoff,

Amazing. Much better. Thanks so much for your attention!

Now I am off to try and detect collisions

Much gratitude!


On May 26, 2010, at 3:03 AM, Geoff Canyon Rev wrote:

> You definitely don't want to do this by positioning everything every
> time you update. Instead, the move command is your special friend
> here. For the enemy, you can plot out a randomized course from the top
> to the bottom, and then tell it to follow that path in a set amount of
> time. The bullets are even easier since they just have to go from
> bottom to top. I did a quick hack job, cutting the code about in half
> and speeding it up significantly. It now handles three enemies and 11
> bullets without breaking a sweat on my macbook. Here's the stack:
> http://snurl.com/wsclc and here's the article I posted with some
> comments: http://gcanyon.posterous.com/a-blast-from-my-programming-past
> ___
> 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: Galaga 1990

2010-05-26 Thread Geoff Canyon Rev
Since the enemies' paths are pre-determined in this method, you can
determine whether a particular shot will hit an enemy at the time the
shot is fired. And vice versa, whether an enemy that you are planning
the route for will intersect any of the current shots on the screen.
It requires a bit of work, but it's (much) better than checking each
time you move the ship to see whether any of the shots have hit any of
the enemies.
___
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: Implementing a library of behavior buttons across multiple applications

2010-05-26 Thread Richard Gaskin

Peter Haworth wrote:

Thanks Richard.  So the SB pulls in ALL the stack files defined to it
int the application and I don;t have to send any of them out with the
app, right?


I don't use that feature of Rev myself, but yes, I believe that's what 
it's designed to do.


--
 Richard Gaskin
 Fourth World
 Rev training and consulting: http://www.fourthworld.com
 Webzine for Rev developers: http://www.revjournal.com
 revJournal blog: http://revjournal.com/blog.irv
___
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: RunRev on iPad (New)

2010-05-26 Thread Mark Talluto
This is amazing.  I think I have a use for that.  One could right an app in Rev 
and run it on the iPad.  We could possibly use this technology to run our 
remote control software that we had recently ove to tablet PCs.  I will get a 
copy of this software when they release it and report back.  Thanks for posting 
this.

Best regards,

Mark Talluto
http://www.canelasoftware.com



On May 26, 2010, at 1:57 AM, René Micout wrote:

> I think I find how use my RunRev applications on my iPad (only in my home... 
> but for me it is wonderfull...)
> I have not yet my iPad but in few days... I try it...
> http://avatron.com/apps/air-display/
> Bons souvenirs de Paris
> René___
> 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: RunRev on iPad (New)

2010-05-26 Thread Roger . E . Eller
On 05/26/2010 at 09:39 AM, Mark Talluto wrote:
> This is amazing.  I think I have a use for that.  One could right an
> app in Rev and run it on the iPad.  We could possibly use this technology
> to run our remote control software that we had recently ove to tablet
PCs.
> I will get a copy of this software when they release it and report back.
> Thanks for posting this.
>
> Best regards,
>
> Mark Talluto
> http://www.canelasoftware.com
>
>
> On May 26, 2010, at 1:57 AM, René Micout wrote:
>
>> I think I find how use my RunRev applications on my iPad (only in my
home... but for me it is wonderfull...)
>> I have not yet my iPad but in few days... I try it...
>> http://avatron.com/apps/air-display/
>> Bons souvenirs de Paris
>> René

I believe this is just a repackaged VNC client (which is free). You can get
free VNC clients for every OS including Android based phones, iPhone/iPod
Touch, Mac, Win, Lin, and all types of *nix. It can be useful as long as
your virtual keyboard is supported. Don't expect to be steaming video
however, because it is not designed for that. It should be fine for basic
interaction with a desktop 2D OS.

~Roger Eller


___
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: RunRev on iPad (New)

2010-05-26 Thread Mark Talluto

On May 26, 2010, at 6:52 AM, roger.e.el...@sealedair.com wrote:
>>> René
> 
> I believe this is just a repackaged VNC client (which is free). You can get
> free VNC clients for every OS including Android based phones, iPhone/iPod
> Touch, Mac, Win, Lin, and all types of *nix. It can be useful as long as
> your virtual keyboard is supported. Don't expect to be steaming video
> however, because it is not designed for that. It should be fine for basic
> interaction with a desktop 2D OS.

I bought it and it works great!  It probably is using VNC under the hood.  The 
speed is great.  I have not tried video yet.  But the screen refresh is very 
quick and usable.  The mouse moves like if it was connected via wire as a 
second monitor.  There is no pinching as in VNC.  There is no virtual keyboard. 
 For our use we could create one through the software we intend to run on the 
device.  It does what it says it is supposed to do.  It turns your iPad into a 
second monitor.  It costs $9.99.


Best regards,

Mark Talluto
http://www.canelasoftware.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: RunRev on iPad (New)

2010-05-26 Thread Richard Gaskin

Mark Talluto wrote:

> On May 26, 2010, at 6:52 AM, Roger.E.Eller at sealedair.com wrote:
 René
>>
>> I believe this is just a repackaged VNC client (which is free).
>> You can get free VNC clients for every OS including Android
>> based phones, iPhone/iPod Touch, Mac, Win, Lin, and all types
>> of *nix. It can be useful as long as your virtual keyboard is
>> supported. Don't expect to be steaming video however, because
>> it is not designed for that. It should be fine for basic
>> interaction with a desktop 2D OS.
>
> I bought it and it works great!  It probably is using VNC under
> the hood.  The speed is great.  I have not tried video yet.  But
> the screen refresh is very quick and usable.  The mouse moves like
> if it was connected via wire as a second monitor.  There is no
> pinching as in VNC.  There is no virtual keyboard.  For our use
> we could create one through the software we intend to run on the
> device.  It does what it says it is supposed to do.  It turns your
> iPad into a second monitor.  It costs $9.99.

That, and a second computer. :)

--
 Richard Gaskin
 Fourth World
 Rev training and consulting: http://www.fourthworld.com
 Webzine for Rev developers: http://www.revjournal.com
 revJournal blog: http://revjournal.com/blog.irv
___
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: revWeb - revlet - examples please

2010-05-26 Thread Richard K. Herz

Robert Mann wrote:

nice initiative! I really wonder how large is revTalk community... Anyway
good opportunity to be able to test what actually work and what does not.

1) audio on revlet seems to be problematic :
# RGB Music RENGA  by Kenji
Kojima : no sound (macBook mac os x 10.5 / on safari and firefox)
   


Click on the image on the right side of the link above - or go directly to
http://www.kenjikojima.com/999ViewsRenga/index.html
and click "Allow Once" in the security notice. Then, on the lower right 
of the window, there is set of Play, Pause, Stop buttons - click the 
Play button - I hear music on Mac on Firefox OK.


___
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: revWeb - revlet - examples please

2010-05-26 Thread Richard Gaskin

Richard K. Herz wrote:


Robert Mann wrote:

nice initiative! I really wonder how large is revTalk community... Anyway
good opportunity to be able to test what actually work and what does not.

1) audio on revlet seems to be problematic :
# RGB Music RENGA  by Kenji
Kojima : no sound (macBook mac os x 10.5 / on safari and firefox)


Click on the image on the right side of the link above - or go directly to
http://www.kenjikojima.com/999ViewsRenga/index.html
and click "Allow Once" in the security notice. Then, on the lower right
of the window, there is set of Play, Pause, Stop buttons - click the
Play button - I hear music on Mac on Firefox OK.



Mr. Kojima normally does very excellent work, so my experience is 
probably more reflective of the beta state of the plugin than his 
coding, but FWIW under the latest version of Firefox I heard squelches 
when I clicked the Play button, then I got the Beach Ball of Death and 
suddenly most other apps weren't working normally either; had to restart 
my Mac for the first time in more than a week.



As a side note, it would be nice if the plugin could ask for user 
permissions when they're needed rather than before the stack loads.


Before the stack loads the user has no way to know why the stack would 
need access to their drive, but once the stack is running the user can 
see that they have options to save files locally.


Another option might be to allow the stack to respond to the user's 
response to that security prompt, so that it could load a version 
without the security-risking features which, in my experience, are 
usually peripheral to a stack's main functionality.



As it is, with so many people requiring their site visitors to give them 
unbridled access to everything on their hard drive, Rev developers are 
giving the RevWeb plugin a reputation of being The Scariest Plugin on 
the Internet.



RevWeb security warnings: use sparingly



--
 Richard Gaskin
 Fourth World
 Rev training and consulting: http://www.fourthworld.com
 Webzine for Rev developers: http://www.revjournal.com
 revJournal blog: http://revjournal.com/blog.irv
___
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: revWeb - revlet - examples please

2010-05-26 Thread Klaus on-rev

Am 26.05.2010 um 16:49 schrieb Richard K. Herz:

> Robert Mann wrote:
>> nice initiative! I really wonder how large is revTalk community... Anyway
>> good opportunity to be able to test what actually work and what does not.
>> 
>> 1) audio on revlet seems to be problematic :
>> # RGB Music RENGA  by Kenji
>> Kojima : no sound (macBook mac os x 10.5 / on safari and firefox)
>>   
> 
> Click on the image on the right side of the link above - or go directly to
> http://www.kenjikojima.com/999ViewsRenga/index.html
> and click "Allow Once" in the security notice. Then, on the lower right of 
> the window, there is set of Play, Pause, Stop buttons - click the Play button 
> - I hear music on Mac on Firefox OK.

Also works fine in Safari for me!


Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major.on-rev.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: GLX Application Framework: difference between a resource and a stack

2010-05-26 Thread Trevor DeVore

On May 25, 2010, at 7:26 PM, David Bovill wrote:


On 25 May 2010 20:59, Trevor DeVore  wrote:

Standalone Resources are files that need to be included when  
building the
app but which aren't explicitly loaded when you open the  
application in Rev.


http://revolution.screenstepslive.com/spaces/revolution/manuals/glxapp/lessons/5558-How-Do-I-Include-Supporting-Files-Folders-When-I-Build-My-Application-



So why do you add the Datagrid library as a Resource in the other  
tutorial?


Because you don't want to load the data grid library in the IDE (the  
IDE already does that). This is explained in the lesson on including  
the data grid library.


http://revolution.screenstepslive.com/spaces/revolution/manuals/glxapp/lessons/6887-What-is-the-Best-Way-To-Include-the-Data-Grid-Library-


NB - how do I check that I have the latest version?


The official build is listed on the web page:

http://www.bluemangolearning.com/revolution/software/libraries/glx-application-framework/

This is the build that is documented. I have posted newer builds for  
some folks though and you may have one of those.


--
Trevor DeVore
Blue Mango Learning Systems
ScreenSteps: http://www.screensteps.com
Releasable Revolution Resources for Developers: 
http://revolution.bluemangolearning.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: Script Reporter v1.1 crashes

2010-05-26 Thread Andrew Kluthe

Most of the script i need to re-write is just in card scripts of my stacks.
The re-write is just a new user interface with some extreme code
refactoring. Its probably like 4 stacks with a couple of cards each. Its not
super big deal, but it would be very helpful because the stacks I need to
re-write won't even load correctly in the IDE.
-- 
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Script-Reporter-v1-1-crashes-tp2228724p2231900.html
Sent from the Revolution - User mailing list archive at Nabble.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: RunRev on iPad (New)

2010-05-26 Thread Mark Talluto
On May 26, 2010, at 7:36 AM, Richard Gaskin wrote:

> > I bought it and it works great!  It probably is using VNC under
> > the hood.  The speed is great.  I have not tried video yet.  But
> > the screen refresh is very quick and usable.  The mouse moves like
> > if it was connected via wire as a second monitor.  There is no
> > pinching as in VNC.  There is no virtual keyboard.  For our use
> > we could create one through the software we intend to run on the
> > device.  It does what it says it is supposed to do.  It turns your
> > iPad into a second monitor.  It costs $9.99.
> 
> That, and a second computer. :)


Our software is sold on a iMac as it is.  So the secondary app we develop would 
run on that computer.  The app we made is a remote control for our vision 
testing software.  The cool part is that a doctor's office of 6 exam rooms 
would install the software on only one computer.  The doctor would be able to 
control all the exam rooms with a single device do to our pairing feature and 
using a network.  It does everything as well as our netbook solution minus the 
video.  The video comes over at about 5-10 frames a second.  This was tested 
with a 720p animation from apples website.  We can still have our product auto 
update since it is a normal app running on a standard computer.  

This solution is not going to be for everyone.  It will only be useful to those 
that were going to need LAN connectivity anyways.  Apps that were designed to 
run in the field will still need a true iApp.  The other option is to go with 
Rodeo if you have WAN connectivity.

Citrix is coming out with a solution that lets one use a Win server to run apps 
on iPads.  The AirDisplay solution is a much more affordable, albeit simplified 
solution that will only work for certain apps.  I am sure the author of the app 
did not intend it to be used this way.  Maybe they will improve on it or make a 
new app that makes it do more of what the Citrix solution offers.


Best regards,

Mark Talluto
http://www.canelasoftware.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: Script Reporter v1.1 crashes

2010-05-26 Thread Richard Gaskin

Andrew Kluthe wrote:

Most of the script i need to re-write is just in card scripts of my stacks.
The re-write is just a new user interface with some extreme code
refactoring. Its probably like 4 stacks with a couple of cards each. Its not
super big deal, but it would be very helpful because the stacks I need to
re-write won't even load correctly in the IDE.


How did that happen?

Never seen that before

--
 Richard Gaskin
 Fourth World
 Rev training and consulting: http://www.fourthworld.com
 Webzine for Rev developers: http://www.revjournal.com
 revJournal blog: http://revjournal.com/blog.irv
___
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: Script Reporter v1.1 crashes

2010-05-26 Thread Andrew Kluthe

The thing is, I am not sure. I started building this application while
learning runRev a few months back. I started it as just research into a
project I was hired to work on. The client wanted me to continue work after
seeing such results in days rather than weeks. At this point I decided to
use the GLX Framework. I was bothered by the fact that I didn't fully
understand rev let alone the GLX framework so two weeks later I removed it.
This is when it started that most of my time programming turned into
cleaning up the problems that the nasty research codebase that was
definitely not any good and fixing problems that ripping GLX out had caused.
My program was nearing completion and suddenly I couldn't track down a
localhost DB connection my application was trying to make that didn't exist
anymore (from before I started using SQL Yoga). 

There were other more serious problems that I posted about here:
http://runtime-revolution.278305.n4.nabble.com/Strange-behavior-in-the-IDE-td2223808.html#a2223808

It won't take me long to re-write and it would be a serious benefit to my
finished product if I did. 
-- 
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Script-Reporter-v1-1-crashes-tp2228724p2231930.html
Sent from the Revolution - User mailing list archive at Nabble.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: RunRev on iPad (New)

2010-05-26 Thread Bob Sneidar
Interesting, but that's not Revolution stacks on an iPad. That's Revolution 
stacks on a second monitor! :-)

Bob


On May 26, 2010, at 1:57 AM, René Micout wrote:

> I think I find how use my RunRev applications on my iPad (only in my home... 
> but for me it is wonderfull...)
> I have not yet my iPad but in few days... I try it...
> http://avatron.com/apps/air-display/
> Bons souvenirs de Paris
> René___
> 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: RunRev on iPad (New)

2010-05-26 Thread René Micout
Yes, but a "touch" second screen.
Actually I work on a Wacom Cintiq, but with stylet, and for futures project I 
need my fingers...
I know there is restrictions but it is my own application, for me only.
I'll try it as soon as I received my iPad...

Le 26 mai 2010 à 18:12, Bob Sneidar a écrit :

> Interesting, but that's not Revolution stacks on an iPad. That's Revolution 
> stacks on a second monitor! :-)
> 
> Bob
> 
> 
> On May 26, 2010, at 1:57 AM, René Micout wrote:
> 
>> I think I find how use my RunRev applications on my iPad (only in my home... 
>> but for me it is wonderfull...)
>> I have not yet my iPad but in few days... I try it...
>> http://avatron.com/apps/air-display/
>> Bons souvenirs de Paris
>> René___
>> 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

___
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: RunRev on iPad (New)

2010-05-26 Thread Mark Talluto
You are right.  If your interest is to make an app to be sold in the iApp 
marketplace, then this is not for you.  

We just wanted to use the iPad hardware to run a product that does not rely on 
Apple to sell it for us.  It is an add-on to an already well established 
product in its marketplace.  It may be that this solution is helpful to a very 
small amount of developers.  If you are one of those that planned to develop on 
the iPad, be LAN connected, and did not need to sell through iTunes, then this 
may be good for you too.

We are situated in an environment where 99% of our users run our software on 
iMacs.  Our user base has strongly requested the software to run on the iPad.  
The software requires the vision testing system to be installed.  Our setup is 
such that this solution really works well for us.  We still have our netbook 
solution selling today and are interested in how the Android platform develops. 
 

Best regards,

Mark Talluto
http://www.canelasoftware.com


On May 26, 2010, at 9:12 AM, Bob Sneidar wrote:

> Interesting, but that's not Revolution stacks on an iPad. That's Revolution 
> stacks on a second monitor! :-)
> 
> Bob
> 
> 
> On May 26, 2010, at 1:57 AM, René Micout wrote:
> 
>> I think I find how use my RunRev applications on my iPad (only in my home... 
>> but for me it is wonderfull...)
>> I have not yet my iPad but in few days... I try it...
>> http://avatron.com/apps/air-display/
>> Bons souvenirs de Paris
>> René___
>> 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

___
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


How to hide scroll if field does not require it

2010-05-26 Thread Sivakatirswami
Anyone else wish that fields has a property by which you could turn off 
the appears of the vertical scroll bar, if the field actually did not 
have enough text to require it?


In the absence of that feature, what is the best way to program this?

I have a field that is dynamically filled with a listing from folders on 
the server on the LAN. Sometimes there may only be 1-2 files i the list, 
other times there are many. I would like the field not to have a 
vertical scroll bar if there it only has 1-7 lines of text and then if 
it fills with 8, suddenly the scroll bar appears.


I can think of ways to do this, but How are others doing this?

Thanks
Sivakatirswami
___
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 hide scroll if field does not require it

2010-05-26 Thread Devin Asay

On May 26, 2010, at 10:37 AM, Sivakatirswami wrote:

> Anyone else wish that fields has a property by which you could turn off 
> the appears of the vertical scroll bar, if the field actually did not 
> have enough text to require it?
> 
> In the absence of that feature, what is the best way to program this?
> 
> I have a field that is dynamically filled with a listing from folders on 
> the server on the LAN. Sometimes there may only be 1-2 files i the list, 
> other times there are many. I would like the field not to have a 
> vertical scroll bar if there it only has 1-7 lines of text and then if 
> it fills with 8, suddenly the scroll bar appears.
> 
> I can think of ways to do this, but How are others doing this?

This handler is in my standard library stack used by most of my projects:

command enableScrollbarIfNeeded pFldName
  if the formattedHeight of fld pFldName > the height of fld pFldName then
set the vScrollbar of fld pFldName to true
  else
set the vScrollbar of fld pFldName to false
  end if
end enableScrollbarIfNeeded

It's worked well for me.

Devin


Devin Asay
Humanities Technology and Research Support Center
Brigham Young University

___
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 hide scroll if field does not require it

2010-05-26 Thread DunbarX
Hi.

Set the vScrollBar property based on the formattedHeight.

Craig Newman
___
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 hide scroll if field does not require it

2010-05-26 Thread Mark Schonewille

Sivakatirswami,

Do you mean that you would like fields to do this automatically? The  
following works for a simple editable field:


on rawKeyUp
 set the vScrollbar of me to (the formattedHeight of me > the  
height of me)

 pass rawKeyUp
end rawKeyUp

It is easy to add a similar feature to your own script. What is your  
own solution?


--
Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer

Economy-x-Talk is always looking for new projects. Contact me for a  
quote http://economy-x-talk.com/contact.html
Download Clipboard Link http://clipboardlink.economy-x-talk.com and  
share the clipboard of your computer over the local network.


On 26 mei 2010, at 18:37, Sivakatirswami wrote:

Anyone else wish that fields has a property by which you could turn  
off the appears of the vertical scroll bar, if the field actually  
did not have enough text to require it?


In the absence of that feature, what is the best way to program this?

I have a field that is dynamically filled with a listing from  
folders on the server on the LAN. Sometimes there may only be 1-2  
files i the list, other times there are many. I would like the field  
not to have a vertical scroll bar if there it only has 1-7 lines of  
text and then if it fills with 8, suddenly the scroll bar appears.


I can think of ways to do this, but How are others doing this?

Thanks
Sivakatirswami



___
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


Testing a DB connection

2010-05-26 Thread Alex Adams
Does anyone have a simple technique for testing to see if a DB connection is
still functioning before trying to use it to execute some SQL?

I have an app that accesses hosted databases directly (postgres).  Users
logon at app startup.  If they let the app sit for long enough, the
connection to the DB server is dropped.  This is reasonable, but I want a
simple way of testing to see if the connection has been dropped and if it
has to reestablish the connection transparently before executing SQL
statements.

I need a simple isDBStillThere handler.  Is anyone doing anything similar?

Thanks,
-- 
Alex Adams

hawkVision ‹ tools for solving Wicked Problems

(a)2 Technology Partners, Inc.
831-726-8013
a...@a2technology.com
hawkVisionInfo.wordpress.com
universalConnector.wordpress.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: How to hide scroll if field does not require it

2010-05-26 Thread Jeff Massung
Just wondering... does the formattedHeight take O(N) time to compute or does
the field know it in O(1) time? If O(N), then this solution sucks for fields
of any appreciable size (say 1,000+ lines).

Jeff M.
___
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 hide scroll if field does not require it

2010-05-26 Thread Web Admin Himalayan Academy
Formatted width was the obviously way to go, but as with some many xTalk 
things: how best to implement?  attached it to the field (as you have 
done) put it in the stack script and call it when the card is opened, 
what if you have a menu that is loading the field by chosing a folder...


I don't do enough professional apps to always know what is the best way 
to do things, I pretty much hack my way through to something that just 
works. I'll use Devin's little handler.


I'm creating right now a fairly sophisticated little app for revision 
control of InDesign Files  for  a team of editors (since Adobe saw fit 
to drop it's Version Cue product, which was badly broken anyway) has 
more code than anything I have done in the past (nearly 400 lines now in 
the stack script)... I'm already in trouble trying to use "private 
command preopencard" to prevent things from happening when substacks are 
opened, but if you privatize commands, sometimes they just don't work 
and I don't understand why.  I got a lot of globals going and sometimes 
they just turn up emptyat least from a handler's point of view, but 
if I check them in the msg box, they have values! dunno why, nothing is 
resetting them, so I started setting up custom props on the fly as these 
seem to be less volatile...  I'm starting to wish I had a better grip on 
"best practices"  Hence I always run to this list for help from the pros.


command enableScrollbarIfNeeded pFldName
  if the formattedHeight of fld pFldName>  the height of fld pFldName then
set the vScrollbar of fld pFldName to true
  else
set the vScrollbar of fld pFldName to false
  end if
end enableScrollbarIfNeeded

Thanks Devin!







On 5/26/10 6:45 AM, Mark Schonewille wrote:

Sivakatirswami,

Do you mean that you would like fields to do this automatically? The 
following works for a simple editable field:


on rawKeyUp
 set the vScrollbar of me to (the formattedHeight of me > the 
height of me)

 pass rawKeyUp
end rawKeyUp

It is easy to add a similar feature to your own script. What is your 
own solution?


--
Best regards,

Mark Schonewille



___
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 deal with unplug from the LAN

2010-05-26 Thread Web Admin Himalayan Academy
With a tip from Andre, we solved this problem... it's really pretty 
neat. Perhaps someone else may need this.


Mac Only

This queries the hardware-network interface and give you and instant 
response... if the users just unplugs from the network or turns of her 
airport, with a remote volume mounted... you want to be sure you don't 
try to interact with the server...otherwise you will get a 2 minute time 
out waiting before the system gives back the CPU to RunRev


Do this first: (disclaimer, any code I offer probably could be highly 
optimized)


function connectionStatus

   put shell("ifconfig") into tStatus

   # Parse for ethernet status
   put lineOffset ("en0:",tStatus) into tTarget
   put line ((lineOffset ("Status:",tStatus,tTarget))+tTarget) of 
tStatus into tEN0status

   set the itemdel to ":"
   if (item -1 of tEN0status) = " active" then
  return "true"
   else
  return "false"
   end if

   # Check Airport-Wireless status
   put lineOffset ("en1:",tStatus) into tTarget
   put line ((lineOffset ("Status",tStatus,tTarget))+tTarget) of 
tStatus into tEN1status

   set the itemdel to ":"
   if item -1of tEN1status = " active" then
  return "true"
   end if
end connectionstatus

Then all other places you need to interact with the server:

command CheckVarunaIsMounted
   if connectionStatus() <> "True" then
  answer "You appear to be offline line. Connect to the network by 
ethernet or airport. Then try again." with "OK"

  exit to top
   else
  put URL 
"file:/Volumes/Varuna/WWW/*Sites/varuna.hindu.org/ping.txt" into 
gControlFile

  if gControlFile = "true" then
 set the icon of btn "Connected" to 1097
 put "true" into gVarunaMounted
 set the uVarunaMounted of this stack to "true"
  else
 put "false" into gVarunaMounted
 set the uVarunaMounted of this stack to "False"
 set the icon of btn "Connected" to 1098
 answer "Varuna is not mounted. Shall I mount it for you?" with 
"OK"

 mountVaruna
 exit to top
  end if
   end if

end CheckVarunaIsMounted

command Checkin pFileName

   CheckVarunaIsMounted

   if the uVarunaMounted of this stack <> "true" then
  answer  "Sorry, Varuna is not mounted, you cannot check in 
files." with "OK"

  exit to top
   end if

   # increment revision number; change co to CI; retain user initials; 
rename local file

   put pFileName into tNewFileName

etc...

end checkIn

Then I always run this every time I set the default folder to the 
server, when done getting the file listing:


command unTetherStackFromServer
   set the defaultFolder to ($Home&"/Documents/")
end unTetherStackFromServer

and then the user gets no msg saying he can't unmount the volume because 
it is in use by RunRev.


HTH somebody...


Sivakatirswami



___
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


Detecting which column was clicked in a Table field

2010-05-26 Thread Mark Stuart
Hi All,
How do I return the column number that the user clicked in?
I know how to get the selectedLine of a Table field, but I'd like to
know which column of the selectedLine the user clicked into.

Thanx in advance,
Mark Stuart
___
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 a DB connection

2010-05-26 Thread stephen barncard
SELECT "any text"

if you don't get a revDB error, it's there.  But I've found there is
surprisingly little overhead in just opening and closing the database for
every query, unless one needs a rapid-fire sequence of queries. Then one
could program the open and close for the burst.

On 26 May 2010 09:50, Alex Adams  wrote:

> Does anyone have a simple technique for testing to see if a DB connection
> is
> still functioning before trying to use it to execute some SQL?
>
> I have an app that accesses hosted databases directly (postgres).  Users
> logon at app startup.  If they let the app sit for long enough, the
> connection to the DB server is dropped.  This is reasonable, but I want a
> simple way of testing to see if the connection has been dropped and if it
> has to reestablish the connection transparently before executing SQL
> statements.
>
> I need a simple isDBStillThere handler.  Is anyone doing anything similar?
>
> Thanks,
> --
> Alex Adams
>
> hawkVision ‹ tools for solving Wicked Problems
>
> (a)2 Technology Partners, Inc.
> 831-726-8013
> a...@a2technology.com
> hawkVisionInfo.wordpress.com
> universalConnector.wordpress.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
>



-- 
-
Stephen Barncard
San Francisco
___
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


Datagrid for tree view?

2010-05-26 Thread Jeff Massung
Anyone have an example of this? Conversely, I know there's an external or
other 3rd party stack which does this but I don't remember the name if
someone can point me at it.

Thanks!

Jeff M.
___
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 a DB connection

2010-05-26 Thread Andre Garzia
Alex,

I know sqlYoga does that and if the connection died, it tries to reopen it
but I don't know the implementation details.

Andre

On Wed, May 26, 2010 at 1:50 PM, Alex Adams  wrote:

> Does anyone have a simple technique for testing to see if a DB connection
> is
> still functioning before trying to use it to execute some SQL?
>
> I have an app that accesses hosted databases directly (postgres).  Users
> logon at app startup.  If they let the app sit for long enough, the
> connection to the DB server is dropped.  This is reasonable, but I want a
> simple way of testing to see if the connection has been dropped and if it
> has to reestablish the connection transparently before executing SQL
> statements.
>
> I need a simple isDBStillThere handler.  Is anyone doing anything similar?
>
> Thanks,
> --
> Alex Adams
>
> hawkVision ‹ tools for solving Wicked Problems
>
> (a)2 Technology Partners, Inc.
> 831-726-8013
> a...@a2technology.com
> hawkVisionInfo.wordpress.com
> universalConnector.wordpress.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
>



-- 
http://www.andregarzia.com All We Do Is Code.
___
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 a DB connection

2010-05-26 Thread stephen barncard
I might add that in a situation with many users the server will be much
happier if one opens and closes the db  more often than less.

On 26 May 2010 10:27, stephen barncard wrote:

> SELECT "any text"
>
> if you don't get a revDB error, it's there.  But I've found there is
> surprisingly little overhead in just opening and closing the database for
> every query, unless one needs a rapid-fire sequence of queries. Then one
> could program the open and close for the burst.
>
>
> On 26 May 2010 09:50, Alex Adams  wrote:
>
>> Does anyone have a simple technique for testing to see if a DB connection
>> is
>> still functioning before trying to use it to execute some SQL?
>>
>> I have an app that accesses hosted databases directly (postgres).  Users
>> logon at app startup.  If they let the app sit for long enough, the
>> connection to the DB server is dropped.  This is reasonable, but I want a
>> simple way of testing to see if the connection has been dropped and if it
>> has to reestablish the connection transparently before executing SQL
>> statements.
>>
>> I need a simple isDBStillThere handler.  Is anyone doing anything similar?
>>
>> Thanks,
>> --
>> Alex Adams
>>
>> hawkVision ‹ tools for solving Wicked Problems
>>
>> (a)2 Technology Partners, Inc.
>> 831-726-8013
>> a...@a2technology.com
>> hawkVisionInfo.wordpress.com
>> universalConnector.wordpress.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
>>
>
>
>
> --
> -
> Stephen Barncard
> San Francisco
>
>


-- 
-
Stephen Barncard
San Francisco
___
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


Hard CASE: cracking the nut?

2010-05-26 Thread Richmond Mathewson

 A while back Scott Rossi wrote:

"Maybe because standalones have an (editable) script limit of 10 lines,
meaning you can't build scripts dynamically in standalones that exceed
10 lines.  There is no such limit in the IDE."

seems not to, directly refer to my script problem;

EXCEPT; my problematic script (that works in a stack, but not in a 
standalone)
thread through a variety of scripts that exceed 10 lines and reside in 
fields.


Does anybody know if reffing scripts infields is interpreted as building
scripts dynamically as they are not directly entered in the 'script space'
of a particular object ?

If the above is so; would I be able to circumvent the need to store 
socking-great
scripts many times over in each object by stroing a script as a custom 
prop in
an object than can be reffed from other objects (why do I get a funny 
feeling
that scripts stored in custom props can only be accessed by that 
particular object???)?


How about storing the script in the stack / card script and calling it

How about running down the main street with a plastic bag on my head 
shouting

"noodly, noodly, noodly, pip, pip, pip, poop" ?

sincerely, Richmond Mathewson.
___
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 a DB connection

2010-05-26 Thread Trevor DeVore

On May 26, 2010, at 1:23 PM, Andre Garzia wrote:

I know sqlYoga does that and if the connection died, it tries to  
reopen it

but I don't know the implementation details.


All SQL Yoga queries go through a central handler that checks for a  
particular error message from RevDB. If the error is known to be  
caused by the server disappearing then SQL Yoga tries to reconnect  
once and run the query again.


I currently have code in place for MySQL and SQLite (SQLite can  
sometimes has issues if running over a network drive).


--
Trevor DeVore
Blue Mango Learning Systems
ScreenSteps: http://www.screensteps.com
Releasable Revolution Resources for Developers: 
http://revolution.bluemangolearning.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: Hard CASE: cracking the nut?

2010-05-26 Thread stephen barncard
One cannot 'set the script of' inside a standalone. But perhaps a script of
a stack outside the app could be written to by a SA. ( Richmond: please let
us know..)

 I know in HC I would 'point' to various fields and get past the 30k limit
of their field system. However, I don't remember how I put them in the path.
I think I had some kind of handler switching system. That was over 20 years
ago.

Is script swapping really necessary? We've got so many ways to do things,
substacks, etc without the workarounds we had to do in HC. Is there really a
reason to 'do' more than a few lines?

I'm sure that "do'ing" runs slower, too, so not good for repetitive tasks.

On 26 May 2010 10:29, Richmond Mathewson wrote:

>  A while back Scott Rossi wrote:
>
> "Maybe because standalones have an (editable) script limit of 10 lines,
> meaning you can't build scripts dynamically in standalones that exceed
> 10 lines.  There is no such limit in the IDE."
>
> seems not to, directly refer to my script problem;
>
> EXCEPT; my problematic script (that works in a stack, but not in a
> standalone)
> thread through a variety of scripts that exceed 10 lines and reside in
> fields.
>
> Does anybody know if reffing scripts infields is interpreted as building
> scripts dynamically as they are not directly entered in the 'script space'
> of a particular object ?
>
> If the above is so; would I be able to circumvent the need to store
> socking-great
> scripts many times over in each object by stroing a script as a custom prop
> in
> an object than can be reffed from other objects (why do I get a funny
> feeling
> that scripts stored in custom props can only be accessed by that particular
> object???)?
>
> How about storing the script in the stack / card script and calling it
>
> How about running down the main street with a plastic bag on my head
> shouting
> "noodly, noodly, noodly, pip, pip, pip, poop" ?
>
> sincerely, Richmond Mathewson.
> ___
> 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
>



-- 
-
Stephen Barncard
San Francisco
___
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: Datagrid for tree view?

2010-05-26 Thread Malte Pfaff-Brill
I can wholeheartedly recommend the data tree control on revSelect:

http://runrev.com/products/related-software/data-tree/

I like it very much. :-)

Cheers,

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: Hard CASE: cracking the nut?

2010-05-26 Thread Malte Pfaff-Brill
> "noodly, noodly, noodly, pip, pip, pip, poop" ?
Sounds like a great start to me. Must try that :-)

If you are using do field "xyz", then indeed you are running into the script 
limits. Write handlers at stack or library level and execute those.

example at stack level

on noodly
  answer "pip"
end noodly

now you can call noodly from any control in your stack. Example for a button:

on mouseUp
  noodly
end mouseUp

Cheers,

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: Hard CASE: cracking the nut?

2010-05-26 Thread J. Landman Gay

Richmond Mathewson wrote:

 A while back Scott Rossi wrote:

"Maybe because standalones have an (editable) script limit of 10 lines,
meaning you can't build scripts dynamically in standalones that exceed
10 lines.  There is no such limit in the IDE."

seems not to, directly refer to my script problem;


I'm pretty sure that's the problem, and was going to mention it except 
Scott beat me to it.




EXCEPT; my problematic script (that works in a stack, but not in a 
standalone)
thread through a variety of scripts that exceed 10 lines and reside in 
fields.


Does anybody know if reffing scripts infields is interpreted as building
scripts dynamically as they are not directly entered in the 'script space'
of a particular object ?


They are. Any script that isn't pre-compiled in the script editor is 
"dynamic".




If the above is so; would I be able to circumvent the need to store 
socking-great
scripts many times over in each object by stroing a script as a custom 
prop in
an object than can be reffed from other objects (why do I get a funny 
feeling
that scripts stored in custom props can only be accessed by that 
particular object???)?


You can access custom properties of an object from anywhere, even 
another stack, but even so it will be a dynamic script. So that won't 
work for you either. Any script that needs "do" in order to execute is 
dynamic.




How about storing the script in the stack / card script and calling it


That will work, and is what you should do. But note that you can't set 
the script of an object to more than 10 lines in a standalone either, so 
the script has to be static. Any script longer than that has to be 
pre-written and compiled in the IDE.


Since you need the script for several objects, have you considered using 
behaviors instead? Compile the script in a button, and then assign that 
button as the behavior for all the objects that need to use it.




How about running down the main street with a plastic bag on my head 
shouting

"noodly, noodly, noodly, pip, pip, pip, poop" ?


If you decide to do that, take videos, please. :)

--
Jacqueline Landman Gay | jac...@hyperactivesw.com
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: revWeb - revlet - examples please

2010-05-26 Thread Pierre Sahores
Hi Richard,

Here is one more, a simple secret sentence game. The revlet is getting its 
contents from an on-rev mysql db.



Best,

Pierre


Le 26 mai 2010 à 05:30, Richard K. Herz a écrit :

> A few days ago I asked for links to web pages with revlets - here is my list 
> so far:
> 
> # Link 4 Game  by John Dixon
> # Guess game  by Jacqueline 
> Landman Gay
> # Chance lab and physics impulse lab 
>  by George 
> Brackett
> # Color puzzle  by Bernd 
> Niggemann
> # K12 educational example  
> by Judy Perry
> # Language and History  educational 
> revlets by L. Kirk Hagen
> # RGB Music RENGA  by Kenji Kojima
> # University staff database  by Rolf 
> Kocherhans, - click "allow once" to allow network communication to database, 
> then revlet opens as iPhone emulator, click on slider button (don't drag), 
> type rolf without return, etc.
> # Developer's examples 
>  by Sarah Reichelt
> # Chemical reactors  by Rich Herz
> 
> Thanks to everyone who sent their own links, or recommendations. One thing I 
> learned is that my graphics aren't up to par - the others are beautiful!
> 
> The speed at which graphics are updated in a revlet, as displayed in a 
> browser, is slower than in a desktop app, not surprisingly. But that is the 
> only limitation I have encountered so far in converting stacks to revlets, 
> and that may only affect a relatively large number of objects updating 
> rapidly.
> 
> I hope that the number of web pages with revlets grows fast. Revlets seem to 
> have a lot of potential.
> 
> Rich Herz
> 
> 
> 
> 
> 
> 
> ___
> 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
> 

--
Pierre Sahores
mobile : (33) 6 03 95 77 70

www.wrds.com
www.sahores-conseil.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: Hard CASE: cracking the nut?

2010-05-26 Thread Richmond Mathewson

 Thank you for all the good advice: especially the last bit: -


How about running down the main street with a plastic bag on my head 
shouting

"noodly, noodly, noodly, pip, pip, pip, poop" ?


If you decide to do that, take videos, please. :)



However; being a bit of a slob, I have taken the easy route: instead of 
having 19 faux buttons (images)
reffing a script stored in a field I have copied the offending script 
into each button.


Oddly enough, considering the offending script is somewhere near 2000 
lines (serious stuff),
it doesn't seem to slow things down noticeably: compiles and builds as a 
standalone that WORKS.


---

is " Any script that needs "do" in order to execute is dynamic."
adequately documented in the documentation ?

"When using a standalone application created by Revolution, you can 
include up to ten statements in the statementList. This limit is set by 
line 2 of the scriptLimits function. This limitation does not apply when 
using the development environment."


Um . . . not terribly clear (well, at least not to the likes of me); how 
do sillybillies like me
understand that a statementList ( a what ??) refers to a field or 
some other sort of container?


---

Peter Sarstedt is singing

"I am balanced well, you see,
I am a Cathedral locked in stain glass windows,
I am a Cathedral dimly lit.

and hemmed in solitude, and yet,
I see a shangri-la,
whenever the mountain wind blows,
I see shangri-la and I touch it.

And will you share,
your crust of bread with me,
and will you dare,
to trust your head and see."

and I know the feeling right now . . . :)

--

relieved to have jumped that hurdle . . . !
___
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 a DB connection

2010-05-26 Thread Bob Sneidar
Yes just check the result after making a call to the DB. I have found it useful 
to set up my data before opening a connection to a database, and then once I 
open it, I update all my data and close it right away. This way I know I have 
to open a connection just before updating any data, and I usually have a 
command or function I call that exit's to top after popping a dialog for the 
user's sake. 

As others have posted, sqlYoga also has a method of reconnecting, but of course 
if the database is gone, it will still return an error, so you still have to 
handle it. 

Bob


On May 26, 2010, at 9:50 AM, Alex Adams wrote:

> Does anyone have a simple technique for testing to see if a DB connection is
> still functioning before trying to use it to execute some SQL?
> 
> I have an app that accesses hosted databases directly (postgres).  Users
> logon at app startup.  If they let the app sit for long enough, the
> connection to the DB server is dropped.  This is reasonable, but I want a
> simple way of testing to see if the connection has been dropped and if it
> has to reestablish the connection transparently before executing SQL
> statements.
> 
> I need a simple isDBStillThere handler.  Is anyone doing anything similar?
> 
> Thanks,
> -- 
> Alex Adams
> 
> hawkVision — tools for solving Wicked Problems
> 
> (a)2 Technology Partners, Inc.
> 831-726-8013
> a...@a2technology.com
> hawkVisionInfo.wordpress.com
> universalConnector.wordpress.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


Re: Detecting which column was clicked in a Table field

2010-05-26 Thread J. Landman Gay

Mark Stuart wrote:

Hi All,
How do I return the column number that the user clicked in?
I know how to get the selectedLine of a Table field, but I'd like to
know which column of the selectedLine the user clicked into.


Something like this:

 put word 4 of the clickchunk into tCharNum
 subtract (the number of chars in line 1 to \
(word 2 of the clickline)-1 of me) +1 from tCharNum
 set the itemdel to tab
 put the number of items in char 1 to tCharNum of the value of the 
clickLine


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
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: revWeb - revlet - examples please

2010-05-26 Thread Pierre Sahores

Le 26 mai 2010 à 17:10, Richard Gaskin a écrit :

> As a side note, it would be nice if the plugin could ask for user permissions 
> when they're needed rather than before the stack loads.
> 
> Before the stack loads the user has no way to know why the stack would need 
> access to their drive, but once the stack is running the user can see that 
> they have options to save files locally.
> 
> Another option might be to allow the stack to respond to the user's response 
> to that security prompt, so that it could load a version without the 
> security-risking features which, in my experience, are usually peripheral to 
> a stack's main functionality.

Please, add my vote to this proposal :-)

--
Pierre Sahores
mobile : (33) 6 03 95 77 70

www.wrds.com
www.sahores-conseil.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: [data grid] can't hide one of the scrollbar

2010-05-26 Thread zryip theSlug
2010/5/25 Trevor DeVore 

> On May 13, 2010, at 10:45 AM, Andre.Bisseret wrote:
>
>  -
>> on mouseUp
>>  local DGRef,
>>  ---
>>  copy group "DataGrid" of group "Templates" of stack "revDataGridLibrary"
>> to this card
>>  put it into DGRef
>>  set the dgProp["show hScrollBar"] of DGRef to "false"
>>  set the dgProp["show vScrollBar"] of DGRef to "false"
>> end mouseUp
>> -
>> then, the V scroll bar remains visible
>>
>> If I invert the order of the 2 last lines then it is the H scroll bar
>> which remains visible
>>
>> In other words, the last line is not executed
>>
>> What am I doing wrong?
>>
>
> Nothing. There was an unbalanced "lock messages" call in one of the
> handlers that repositioned columns. I've fixed this for the next release. If
> you want to fix it in your own copy of the library find the ned of the
> handler _table.RepositionColumns and add 'set the lockmessages to
> msgsAreLocked' above the unlock screen call.
>
> ===
>   ...
>
>   set the lockmessages to msgsAreLocked
>   unlock screen
> end _table.RepositionColumns
> 
>

I have just updated my copy of the Data Grid Lib with all your recent posts,
thanks Trevor ;)

-- 
-Zryip TheSlug- wish you the best! 8)
http://www.aslugontheroad.co.cc
___
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: Hard CASE: cracking the nut?

2010-05-26 Thread J. Landman Gay

Richmond Mathewson wrote:


is " Any script that needs "do" in order to execute is dynamic."
adequately documented in the documentation ?

"When using a standalone application created by Revolution, you can 
include up to ten statements in the statementList. This limit is set by 
line 2 of the scriptLimits function. This limitation does not apply when 
using the development environment."


Um . . . not terribly clear (well, at least not to the likes of me); how 
do sillybillies like me
understand that a statementList ( a what ??) refers to a field or 
some other sort of container?


The term "statementlist" here is in italics, which means it's a variable 
name. That's the convention for all syntax descriptions in the docs. The 
variable in this case consists of a list of statements or a series of 
commands (which can be stored anywhere.) The example section on the page 
show several types of "statementlists".


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
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: Hard CASE: cracking the nut?

2010-05-26 Thread Marty Knapp
I've been running into the 10-statement script limit issue myself. Is 
there a way to put a script into a field or custom property and execute 
it without a "do" command? If so, could someone offer an example? In my 
current scenario, speed is not a big issue.


Thanks,
Marty

Richmond Mathewson wrote:


is " Any script that needs "do" in order to execute is dynamic."
adequately documented in the documentation ?

"When using a standalone application created by Revolution, you can 
include up to ten statements in the statementList. This limit is set 
by line 2 of the scriptLimits function. This limitation does not 
apply when using the development environment."


Um . . . not terribly clear (well, at least not to the likes of me); 
how do sillybillies like me
understand that a statementList ( a what ??) refers to a field or 
some other sort of container?


The term "statementlist" here is in italics, which means it's a 
variable name. That's the convention for all syntax descriptions in 
the docs. The variable in this case consists of a list of statements 
or a series of commands (which can be stored anywhere.) The example 
section on the page show several types of "statementlists".




___
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


Phantom Table field

2010-05-26 Thread DunbarX
I have played around with table fields, but wonder where any information 
about them exists. The user manual barely mentions them. I see it is a single, 
(sort of) list field with management to permit text entry into "cells".

I cannot for the life of me trap any of the keyup/down or rawKeyup/down 
messages. These work as advertised in ordinary fields.

Since it acts sort of like a 2D list field, if I write a mouseUp handler to 
get info on the selectedChunk, say, I get an expression referring to a 
field number greater than the number of fields on the card. In other words, the 
number of the table field is 5, and I get a chunk expression like "char 1 to 
4 of field 6". Where is this phantom field?

Craig Newman
___
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: Phantom Table field

2010-05-26 Thread Colin Holgate
I wonder if the bit on managing table fields here would help?:

http://www.sosmartsoftware.com/?r=revolution_didacticiels&l=en



___
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: Phantom Table field

2010-05-26 Thread DunbarX
Hi, Colin.

Help? If only this site covered every topic I wouldn't miss Mr. Goodman so 
much.

Thank you.

Craig

In a message dated 5/26/10 3:25:50 PM, co...@verizon.net writes:


> http://www.sosmartsoftware.com/?r=revolution_didacticiels&l=en
> 
___
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: Datagrid border colour setting?

2010-05-26 Thread Terry Judd
On 26/05/10 8:18 PM, "zryip theSlug"  wrote:

> 2010/5/26 Terry Judd 
> 
>> On 26/05/10 6:08 PM, "zryip theSlug"  wrote:
>> 
>>> 2010/5/26 Terry Judd 
>>> 
 Does anyone know if there is a setting to change the border colour (both
 the
 header and the 'body') of a datagrid? Trevor?
>>> 
>>> Hi Terry,
>>> 
>>> A Data Grid is a group, so you can change its color like other group.
>>> 
>>> Example:
>>> set the borderColor of grp "myDataGrid" to red
>>> 
>> Hey thanks - that's a good start but doesn't pickup the bottom border of
>> the
>> header.
>> 
>> Terry...
> 
> Ok, as far as I know there is no standard function for doing that in the
> Data Grid.
> 
> So a solution consists to set the object color directly by code.
> The name of the bottom header of a data grid is: "dgHeaderBottomBorder"
> 
>put "red" into tTheColor
> 
>set the bordercolor of grp "myDataGrid" to tTheColor
>put the long id of group "dgHeaderMask" of group "dgHeaderComponents" of
> grp "myDataGrid" into theHeaderGroup
>set the foregroundColor of grc "dgHeaderBottomBorder" of theHeaderGroup
> to tTheColor
> 
> Regards,

OK, thanks for sniffing out the relevant object for me. Might be nice to
have to be able to set this via the property inspector along with all the
other datagrid colour properties.

Cheers,

Terry...

___
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: Phantom Table field

2010-05-26 Thread DunbarX
Still not sure about that phantom field, though.
___
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: revWeb - revlet - examples please

2010-05-26 Thread Alejandro Tejada

Hi Rick,

These are links to the revlets that i have published
in these mail list:

http://www.capellan2000.000space.com/test01.html
http://www.capellan2000.000space.com/test02.html
http://www.capellan2000.000space.com/test03.html
http://www.capellan2000.000space.com/test04.html
http://www.capellan2000.000space.com/test05.html

You could present them as part of "works in progress"
:-D

Revlets test01 and test02 ask for permission to 
use your disk, because they save or export 
a pdf, svg or adobe ilustrator file. 
(currently, these plain simple svg files open 
using Inkscape, not Firefox). 

I used the following stack in my design classes to teach
about RGB and CMYK:

http://capellan2000.000space.com/RGB_CMYK/test.html

This is a test in spanish created by a friend of mine 
(using a template that i give him) for his computer 
classes. 

http://capellan2000.000space.com/examen.html

He told me that this test is largely unfinished and 
needs to correct ortography and wording of selection
items. I believe that he had to change his images
to reduce the stack size and check in detail the
importance of every question. 

But the point, about this exam is that when you 
enter the page, it ask for permissions to use the 
network and write files to your disk. 

Effectively, when you finish this (still incomplete) 
exam, the stack ask you to save the results in 
your hard disk.

I have two more visually rich stacks that i plan
to convert to revlets: Japanese Syllabaries
and Qubic. You should check Scott Rossi's
messages in this list, because he posted
some really cool revlets.

Rick, if you need to check the stacks from which
these revlets where made i could post links in
the list.

Alejandro
-- 
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/revWeb-revlet-examples-please-tp2227516p2232252.html
Sent from the Revolution - User mailing list archive at Nabble.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: Datagrid border colour setting?

2010-05-26 Thread Trevor DeVore

On May 25, 2010, at 8:38 PM, Terry Judd wrote:

Does anyone know if there is a setting to change the border colour  
(both the

header and the 'body') of a datagrid? Trevor?


set the dgProps["border color"] of the data grid to a color. This  
property isn't in the docs but I will add it in. The getProp isn't  
hooked up for it either but I've addressed that for 4.5.


--
Trevor DeVore
Blue Mango Learning Systems
ScreenSteps: http://www.screensteps.com
Releasable Revolution Resources for Developers: 
http://revolution.bluemangolearning.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: Galaga 1990

2010-05-26 Thread Alejandro Tejada

This is a really interesting topic because this is similar to my
first question to Scott Raney after i bought Metacard...


Geoff Canyon Rev wrote:
> 
> Since the enemies' paths are pre-determined in this method, you can
> determine whether a particular shot will hit an enemy at the time the
> shot is fired. And vice versa, whether an enemy that you are planning
> the route for will intersect any of the current shots on the screen.
> It requires a bit of work, but it's (much) better than checking each
> time you move the ship to see whether any of the shots have hit any of
> the enemies.
> 

How could you change the image of the
ship while executing a move command
to reflect that the ship received a hit
from the player?

After the player hit the ship, Could you
delete this ship while executing this
move command?

Thanks in advance!

Alejandro
-- 
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Galaga-1990-tp2230572p2232288.html
Sent from the Revolution - User mailing list archive at Nabble.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: Phantom Table field

2010-05-26 Thread J. Landman Gay

dunb...@aol.com wrote:
I have played around with table fields, but wonder where any information 
about them exists. The user manual barely mentions them. I see it is a single, 
(sort of) list field with management to permit text entry into "cells".


I cannot for the life of me trap any of the keyup/down or rawKeyup/down 
messages. These work as advertised in ordinary fields.


Since it acts sort of like a 2D list field, if I write a mouseUp handler to 
get info on the selectedChunk, say, I get an expression referring to a 
field number greater than the number of fields on the card. In other words, the 
number of the table field is 5, and I get a chunk expression like "char 1 to 
4 of field 6". Where is this phantom field?


Rev puts up a cell-sized field over the clicked "cell" so that you can 
edit the contents. When you are done editing, Rev puts the new content 
back into the relevant item chunk in the field and removes its own 
field. The field is temporary. The reason you can't retrieve any 
click/selected/text chunking info is because Rev is trapping all that in 
order to process the text and pop it into its editing field.


If you don't use the cRevTable cells option in the inspector, none of 
that will happen and you can manage the field text and trap selections 
normally.


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
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: Hard CASE: cracking the nut?

2010-05-26 Thread J. Landman Gay

Marty Knapp wrote:
I've been running into the 10-statement script limit issue myself. Is 
there a way to put a script into a field or custom property and execute 
it without a "do" command? If so, could someone offer an example? In my 
current scenario, speed is not a big issue.


That depends on what you need to do. If you need to create new scripts 
with new functionality on the fly then you'll need to stay within the 10 
line limit. But most of the time, you can substitute backscripts, 
behaviors, or custom functions and handlers that accept passed 
parameters to do whatever you need.


If you can say a little more about what you need to accomplish we can 
probably help better. There's not much that really requires dynamic 
scripting.


Post your dynamic script for us to look at, maybe?

--
Jacqueline Landman Gay | jac...@hyperactivesw.com
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: Galaga 1990

2010-05-26 Thread Scott Rossi
Recently, Alejandro Tejada wrote:

> How could you change the image of the
> ship while executing a move command
> to reflect that the ship received a hit
> from the player?

If you're using an image, set the text of the moving image to the text of
your "exploding" image or similar.


> After the player hit the ship, Could you
> delete this ship while executing this
> move command?

Yes.

Just tried both actions on an image moving across a card and they appear to
work as expected (Rev 4 OS X).

Regards,

Scott Rossi
Creative Director
Tactile Media, UX Design


___
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: revLet: dynamic resizing when browser window resizes

2010-05-26 Thread Alejandro Tejada

Hi David,


David Bovill-5 wrote:
> 
> 
>> Have you created such handlers to manage
>> proportionally position and dimensions of
>> controls in a card?
> 
> Yes - I totally obsessive about it. Pretty well all the prototyping I do
> is
> with views that scale to the view port. I've always hated fixed width
> views
> and web sites - for completely unreasonable reasons. So all my groups have
> resize handlers and I can script the equivalent of "put that group in that
> rectangle of that card or group" - with a resize handler on preopencard
> you
> get what you are describing.
> 

Did you think to publish them in a stack or as a library?

I believe that the keyword that made possible this kind
of code is: "view port".

Thinking of the Graphic User interface as a viewport
is conceptually the opposite of the usual method of
working in this platform.

Alejandro
-- 
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/revLet-dynamic-resizing-when-browser-window-resizes-tp2225370p2232322.html
Sent from the Revolution - User mailing list archive at Nabble.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: Datagrid border colour setting?

2010-05-26 Thread zryip theSlug
2010/5/26 Trevor DeVore 

> On May 25, 2010, at 8:38 PM, Terry Judd wrote:
>
>  Does anyone know if there is a setting to change the border colour (both
>> the
>> header and the 'body') of a datagrid? Trevor?
>>
>
> set the dgProps["border color"] of the data grid to a color. This property
> isn't in the docs but I will add it in. The getProp isn't hooked up for it
> either but I've addressed that for 4.5.



Hum, I missed this one, thanks Trevor ;)
To a complement to the column divider color can you add also the header
divider color, please?


TIA
-- 
-Zryip TheSlug- wish you the best! 8)
http://www.aslugontheroad.co.cc
___
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: Datagrid border colour setting?

2010-05-26 Thread Trevor DeVore

On May 26, 2010, at 5:00 PM, zryip theSlug wrote:

To a complement to the column divider color can you add also the  
header

divider color, please?


I don't know if this is in the 4.0 release but the 4.5 version has  
"header divider color" and "header divider threed color".


--
Trevor DeVore
Blue Mango Learning Systems
ScreenSteps: http://www.screensteps.com
Releasable Revolution Resources for Developers: 
http://revolution.bluemangolearning.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: Datagrid border colour setting?

2010-05-26 Thread zryip theSlug
2010/5/26 Trevor DeVore 

> On May 26, 2010, at 5:00 PM, zryip theSlug wrote:
>
>  To a complement to the column divider color can you add also the header
>> divider color, please?
>>
>
> I don't know if this is in the 4.0 release but the 4.5 version has "header
> divider color" and "header divider threed color".


This property is also in the 4.0 release. I'm using actually it with the 4.5
dp2.

But if I not missed something in the doc, this property is not referenced.
May be it's time, as the "border color" property, to give it a place in the
doc, no? 8-)



-- 
-Zryip TheSlug- wish you the best! 8)
http://www.aslugontheroad.co.cc
___
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: Datagrid border colour setting?

2010-05-26 Thread Terry Judd
On 27/05/10 6:03 AM, "Trevor DeVore"  wrote:

> On May 25, 2010, at 8:38 PM, Terry Judd wrote:
> 
>> Does anyone know if there is a setting to change the border colour
>> (both the
>> header and the 'body') of a datagrid? Trevor?
> 
> set the dgProps["border color"] of the data grid to a color. This
> property isn't in the docs but I will add it in. The getProp isn't
> hooked up for it either but I've addressed that for 4.5.

Excellent!

Terry...

___
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


Detecting which column was clicked in a Table field

2010-05-26 Thread Mark Stuart
on 5/26/2010, Jacqueline wrote:
>>
Something like this:
  put word 4 of the clickchunk into tCharNum
  subtract (the number of chars in line 1 to \
 (word 2 of the clickline)-1 of me) +1 from tCharNum
  set the itemdel to tab
  put the number of items in char 1 to tCharNum of the value of the
clickLine
<<

Hi,
I tried your script and it worked as is, but not as planned.
When clicking in the white space of a column, it returns the number 4.
When clicking on the text of a column, a number is returned.
But when clicking in the far left column, it returns 0 (zero).

So I changed the clickChunk to mouseCharChunk and that worked better. It
returned a value when clicking in the white space 'inside' the values in
the row. Clicking to the far left or far right of the row value text
returns nothing.

I did notice that So Smart Software has a tutorial on Table fields,
which shows how to get the row number and column number from the field
custom props. But the table field's lockText property has to be false,
allowing editing. Having it set to true does not return a value :(

So far I haven't found a bullet proof solution, but will continue to
work on it and let you know.

Anybody else got ideas on this?

Regards,
Mark Stuart
___
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: Detecting which column was clicked in a Table field

2010-05-26 Thread J. Landman Gay

Mark Stuart wrote:

on 5/26/2010, Jacqueline wrote:
Something like this:
  put word 4 of the clickchunk into tCharNum
  subtract (the number of chars in line 1 to \
 (word 2 of the clickline)-1 of me) +1 from tCharNum
  set the itemdel to tab
  put the number of items in char 1 to tCharNum of the value of the
clickLine
<<

Hi,
I tried your script and it worked as is, but not as planned.
When clicking in the white space of a column, it returns the number 4.
When clicking on the text of a column, a number is returned.
But when clicking in the far left column, it returns 0 (zero).


That's technically correct because there aren't any items before the 
text starts. You could put in a single exception for that special case: 
if tNumber < 1 then put 1 into tNumber.


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
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: Detecting which column was clicked in a Table field

2010-05-26 Thread -= JB =-

Dynamic Table Field will tell you where you clicked.  It is posted
in the old section of On-Rev under the user sundown.

-=>JB<=-



On May 26, 2010, at 3:43 PM, Mark Stuart wrote:


on 5/26/2010, Jacqueline wrote:



Something like this:
  put word 4 of the clickchunk into tCharNum
  subtract (the number of chars in line 1 to \
 (word 2 of the clickline)-1 of me) +1 from tCharNum
  set the itemdel to tab
  put the number of items in char 1 to tCharNum of the value of the
clickLine
<<

Hi,
I tried your script and it worked as is, but not as planned.
When clicking in the white space of a column, it returns the number 4.
When clicking on the text of a column, a number is returned.
But when clicking in the far left column, it returns 0 (zero).

So I changed the clickChunk to mouseCharChunk and that worked  
better. It
returned a value when clicking in the white space 'inside' the  
values in

the row. Clicking to the far left or far right of the row value text
returns nothing.

I did notice that So Smart Software has a tutorial on Table fields,
which shows how to get the row number and column number from the field
custom props. But the table field's lockText property has to be false,
allowing editing. Having it set to true does not return a value :(

So far I haven't found a bullet proof solution, but will continue to
work on it and let you know.

Anybody else got ideas on this?

Regards,
Mark Stuart
___
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: revWeb - revlet - examples please

2010-05-26 Thread Richard K. Herz

Thank you Pierre - I've added your link to my list.

Pierre Sahores wrote:

Here is one more, a simple secret sentence game. The revlet is getting its 
contents from an on-rev mysql db.



Best,

Pierre
   

___
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: Detecting which column was clicked in a Table field

2010-05-26 Thread -= JB =-

I haven't really been following this thread and read it quick before
sending a reply.  After reading it seems you want to be able to
click on white space and get the column.

To click on white space and get the column number you can use
Dynamic Table Field and then COMAND CLICK.  This will show
a dialog that provides row and item numbers.  The item number
will be the column.  It you click on text without holding down the
command key it will provide you with the row and item numbers.

All of the code is in the field.

-=>JB<=-



On May 26, 2010, at 3:56 PM, -= JB =- wrote:


Dynamic Table Field will tell you where you clicked.  It is posted
in the old section of On-Rev under the user sundown.

-=>JB<=-



On May 26, 2010, at 3:43 PM, Mark Stuart wrote:


on 5/26/2010, Jacqueline wrote:



Something like this:
  put word 4 of the clickchunk into tCharNum
  subtract (the number of chars in line 1 to \
 (word 2 of the clickline)-1 of me) +1 from tCharNum
  set the itemdel to tab
  put the number of items in char 1 to tCharNum of the value of the
clickLine
<<

Hi,
I tried your script and it worked as is, but not as planned.
When clicking in the white space of a column, it returns the  
number 4.

When clicking on the text of a column, a number is returned.
But when clicking in the far left column, it returns 0 (zero).

So I changed the clickChunk to mouseCharChunk and that worked  
better. It
returned a value when clicking in the white space 'inside' the  
values in

the row. Clicking to the far left or far right of the row value text
returns nothing.

I did notice that So Smart Software has a tutorial on Table fields,
which shows how to get the row number and column number from the  
field
custom props. But the table field's lockText property has to be  
false,

allowing editing. Having it set to true does not return a value :(

So far I haven't found a bullet proof solution, but will continue to
work on it and let you know.

Anybody else got ideas on this?

Regards,
Mark Stuart
___
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



___
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 deal with unplug from the LAN

2010-05-26 Thread Alex Tweedly
Hmmm ... looks like you may have a problem with copy/paste in creating 
this email. in "connectionStatus" the first if ...then...else cluae will 
*always* cause a return, so the check for Airport never gets used. I 
suspect the original code did the Airport check first, then the Ethernet 
one - that would have been OK.


In general, can there not be more than one ethernet interface installed 
- so why not check if *any* interface of the form"enx" ihas status active.


e.g. (typed direct into email - beware typos) ...

set the itemdel to ":"
repeat for each line L in tStatus
  if char 1 to 2 of L = "en" & char 3 to -1 of (item 1 of L) is a 
number then

  put lineOffset (L,tStatus) into tTarget
  put line ((lineOffset ("Status:",tStatus,tTarget))+tTarget) of 
tStatus into tENstatus

   if (item -1 of tENstatus) = " active" then
  return "true"
   end if
end repeat
return 'false'

-- Alex.

On 26/05/2010 18:16, Web Admin Himalayan Academy wrote:
With a tip from Andre, we solved this problem... it's really pretty 
neat. Perhaps someone else may need this.


Mac Only

This queries the hardware-network interface and give you and instant 
response... if the users just unplugs from the network or turns of her 
airport, with a remote volume mounted... you want to be sure you don't 
try to interact with the server...otherwise you will get a 2 minute 
time out waiting before the system gives back the CPU to RunRev


Do this first: (disclaimer, any code I offer probably could be highly 
optimized)


function connectionStatus

   put shell("ifconfig") into tStatus

   # Parse for ethernet status
   put lineOffset ("en0:",tStatus) into tTarget
   put line ((lineOffset ("Status:",tStatus,tTarget))+tTarget) of 
tStatus into tEN0status

   set the itemdel to ":"
   if (item -1 of tEN0status) = " active" then
  return "true"
   else
  return "false"
   end if

   # Check Airport-Wireless status
   put lineOffset ("en1:",tStatus) into tTarget
   put line ((lineOffset ("Status",tStatus,tTarget))+tTarget) of 
tStatus into tEN1status

   set the itemdel to ":"
   if item -1of tEN1status = " active" then
  return "true"
   end if
end connectionstatus

Then all other places you need to interact with the server:

command CheckVarunaIsMounted
   if connectionStatus() <> "True" then
  answer "You appear to be offline line. Connect to the network by 
ethernet or airport. Then try again." with "OK"

  exit to top
   else
  put URL 
"file:/Volumes/Varuna/WWW/*Sites/varuna.hindu.org/ping.txt" into 
gControlFile

  if gControlFile = "true" then
 set the icon of btn "Connected" to 1097
 put "true" into gVarunaMounted
 set the uVarunaMounted of this stack to "true"
  else
 put "false" into gVarunaMounted
 set the uVarunaMounted of this stack to "False"
 set the icon of btn "Connected" to 1098
 answer "Varuna is not mounted. Shall I mount it for you?" 
with "OK"

 mountVaruna
 exit to top
  end if
   end if

end CheckVarunaIsMounted

command Checkin pFileName

   CheckVarunaIsMounted

   if the uVarunaMounted of this stack <> "true" then
  answer  "Sorry, Varuna is not mounted, you cannot check in 
files." with "OK"

  exit to top
   end if

   # increment revision number; change co to CI; retain user initials; 
rename local file

   put pFileName into tNewFileName

etc...

end checkIn

Then I always run this every time I set the default folder to the 
server, when done getting the file listing:


command unTetherStackFromServer
   set the defaultFolder to ($Home&"/Documents/")
end unTetherStackFromServer

and then the user gets no msg saying he can't unmount the volume 
because it is in use by RunRev.


HTH somebody...


Sivakatirswami



___
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


never ending scroll?

2010-05-26 Thread Nicolas Cueto
Hello,

I'm trying to simulate the iphone's scroll-wheel, and am wondering how
to recreate its never-endingness effect (i.e., the vertical list of
items returns to its first item when its last item is reached).

All I could think of so far is to use a scrollable field, but whose
scroll action is handled by button script rather than directly through
the field's scrollbar.

Any ideas?

Thanks.

--
Nicolas Cueto
___
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: Hard CASE: cracking the nut?

2010-05-26 Thread Marty Knapp
What I have is a standalone that contains template stacks from which a 
user creates their own stacks. These stacks are saved outside of the 
standalone. I wanted to institute an updating feature, where the user's 
stack version is compared to the template (which may have had revisions 
from being updated) on launch and if needed to have the standalone copy 
the scripts from the template into the user stack, rather than making 
them create a new stack. But if any of these scripts exceed the 10 
statement limit it will not work. So I stripped the template stack of as 
much code as I could, which also minimizes the need for updating in the 
first place :)


But this user stack needs access to the standalone stacks and scripts to 
function properly, so now I've found that if the user launches the 
standalone by double-clicking their stack, that once in a while the 
stacks/scripts it needs are not available and I get errors when the user 
stack loads. Not always, but probably 1 in 10 times. I've tried a number 
of routines to check for this, but these routines need to be in the user 
stack and I run into the 10 statement limit . . .


I hope that's understandable!
Marty

Marty Knapp wrote:
I've been running into the 10-statement script limit issue myself. Is 
there a way to put a script into a field or custom property and 
execute it without a "do" command? If so, could someone offer an 
example? In my current scenario, speed is not a big issue.


That depends on what you need to do. If you need to create new scripts 
with new functionality on the fly then you'll need to stay within the 
10 line limit. But most of the time, you can substitute backscripts, 
behaviors, or custom functions and handlers that accept passed 
parameters to do whatever you need.


If you can say a little more about what you need to accomplish we can 
probably help better. There's not much that really requires dynamic 
scripting.


Post your dynamic script for us to look at, maybe?



___
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


Error go to card 1 of stack from a Menupick

2010-05-26 Thread JosepM

Hi List,

I have a strange error when I call a "go to card 3 of stack X".
The stack is opened and the card showed but some errors are throw, one at
line 0 the the openstack and other at line 5 of the menupick, just in the
switch line.

I paste the error.

Error: 361
Target: card id 31507 of stack
"/Users/joss/Desktop/ps_glx_v1/beta/1.0.2rc70/Beta/MacOS/MainGLX.app/Contents/MacOS/components/s_main_productos_v1.rev"

361,0,0
361,0,0
90,9,22
449,9,7,575
535,9,1,575
253,6,1
241,6,1,Openstack
353,0,0,card id 31507 of stack
"/Users/joss/Desktop/ps_glx_v1/beta/1.0.2rc70/Beta/MacOS/MainGLX.app/Contents/MacOS/components/s_main_productos_v1.rev"


Any idea or tip that I must know... :(

Salut,
Josep
-- 
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Error-go-to-card-1-of-stack-from-a-Menupick-tp2232529p2232529.html
Sent from the Revolution - User mailing list archive at Nabble.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


[OT] Microsoft to announce Visual Studio for iPhone OS?

2010-05-26 Thread Richard Gaskin

The weird world gets weirder:


   Microsoft's Steve Ballmer to Present During WWDC 2010 Keynote?

   Barrons  reports that one analyst is predicting that Microsoft
   CEO Steve Ballmer will be part of Steve Jobs' WWDC Keynote
   presentation.

   According to Trip Chowdhry, an analyst with tiny Global Equities
   Research, 7 minutes of Steve Jobs' keynote is allotted for
   Microsoft. Microsoft will reportedly be talking about their
   development tool Visual Studio 2010. The new version of Visual
   Studio will reportedly allow developers to write native
   applications for the iPhone, iPad and Mac OS.




--
 Richard Gaskin
 Fourth World
 Rev training and consulting: http://www.fourthworld.com
 Webzine for Rev developers: http://www.revjournal.com
 revJournal blog: http://revjournal.com/blog.irv
___
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] Microsoft to announce Visual Studio for iPhone OS?

2010-05-26 Thread Richmond Mathewson

 On 27/05/2010 06:56, Richard Gaskin wrote:

The weird world gets weirder:


   Microsoft's Steve Ballmer to Present During WWDC 2010 Keynote?

   Barrons  reports that one analyst is predicting that Microsoft
   CEO Steve Ballmer will be part of Steve Jobs' WWDC Keynote
   presentation.

   According to Trip Chowdhry, an analyst with tiny Global Equities
   Research, 7 minutes of Steve Jobs' keynote is allotted for
   Microsoft. Microsoft will reportedly be talking about their
   development tool Visual Studio 2010. The new version of Visual
   Studio will reportedly allow developers to write native
   applications for the iPhone, iPad and Mac OS.

 





Or, the world gets 'smellier'.

Methinks Jobs had cut some sort of deal with Microsoft way before he 
cocked a snook
at Adobe. The fast that ballmer will be presenting at the WWDC means 
that Jobs is going
to get a slice of the pie from the version of Visual Studio for iPhone, 
iPad et al, while

he would not have got a brass farthing from Adobe.

Or, maybe, the 2 Steves are in love; mind you, sharing a bed with an 
iPhone and an iPad

could be a bit lumpy . . .   :)

Let's at least hope the new Visual Studio is 100 times better than the 
awful MS Visual Basic 5
I had to learn at the University of Abertay: the only purpose that 
served was to make me realise

how wonderful RunRev was by comparison!
___
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