RE: WEB 2.0 and iPhone Dev

2007-06-25 Thread Jeff Honken
I'm also interested in trying this.  It's my understanding it's running
OS X

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Thomas
McGrath III
Sent: Monday, June 25, 2007 9:51 AM
To: How to use Revolution
Subject: WEB 2.0 and iPhone Dev

Has any one been looking into some WEB 2.0 dev with Rev for the new  
iPhone? I would love to be able to develop an app for the iPhone  
using Revolution.

Thanks,

Tom McGrath
___
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: Non Graphical Application

2007-04-06 Thread Jeff Honken
Phil,
  I'm wanting a Linux app that doesn't require an interface.  I just
want to kick it off from the unix prompt and execute my non graphical
code such as ftping a file or changing a mysql database.  Jeff

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Phil Davis
Sent: Friday, April 06, 2007 8:13 PM
To: How to use Revolution
Subject: Re: Non Graphical Application

Jeff Honken wrote:
> I'd like to use runrev to program a linux program but I don't require
> the graphics.  I've tried some test programs but it seems that runrev
> needs the graphic libraries for Linux.  Has anyone programmed any non
> graphical programs in the past?

Hi Jeff,

When you say 'no graphics', do you mean you want a command-line
interface only, 
or something else?

If CLI only, you can write a runrev script with a text editor, and start
it out 
by turning off the GUI, by making line 1 of the script something like
this:

#! -ui


Thanks -
Phil Davis
___
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: Non Graphical Application

2007-04-06 Thread Jeff Honken
Thanks for the reply.  I've been holding my breath for that new version
for Linux.  It's very long in coming and I'm running out of breath.  I'm
glad that 2.6.1 was fairly stable.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of J. Landman
Gay
Sent: Friday, April 06, 2007 8:24 PM
To: How to use Revolution
Subject: Re: Non Graphical Application

Jeff Honken wrote:
> I'd like to use runrev to program a linux program but I don't require
> the graphics.  I've tried some test programs but it seems that runrev
> needs the graphic libraries for Linux.  Has anyone programmed any non
> graphical programs in the past?  

Right now, the graphic libraries are required. As I understand it, 
dependencies are being reconsidered for the next Linux engine and some 
dependencies will be removed. So stay tuned.

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

___
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


Non Graphical Application

2007-04-06 Thread Jeff Honken
I'd like to use runrev to program a linux program but I don't require
the graphics.  I've tried some test programs but it seems that runrev
needs the graphic libraries for Linux.  Has anyone programmed any non
graphical programs in the 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


How to Hilite Question

2007-02-14 Thread Jeff Honken
How would a person auto hilite the text in a field that they've tabbed
into ?  I would think this would be pretty simple but I can't seem to
get it to work with the "hilite" command.
___
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: Date Variable

2007-02-14 Thread Jeff Honken
That worked .  Thanks, Jeff

-Original Message-
From: hibis.jmr [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, February 14, 2007 11:30 AM
To: How to use Revolution
Subject: Re: Date Variable

why not :
put   tDay & "/" & tMonth & "/" & tYear into QueryDate
Jean-Marc

Le 14 févr. 2007, à 17:05, Jeff Honken a écrit :

> I've been trying to tie in three variables to make a date.  I've tried
>
> put  '" & tDay & "' / '" & tMonth & "' / '" & tYear & "' into
QueryDate
> put (tMonth)/(tDay)/(tYear) into QueryDate
>
> The below example does work but I need the / in the date.  It gives me
> 02142007
>
> put tYear & tMonth & tDay into QueryDate
>
>
> How do I put a / in the above so I would get a date such as 02/14/2007
> Every combination I can think of seems to error.  Any ideas would be
> greatly appreciated.  Jeff
>
> ___
> 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


Date Variable

2007-02-14 Thread Jeff Honken
I've been trying to tie in three variables to make a date.  I've tried

put  '" & tDay & "' / '" & tMonth & "' / '" & tYear & "' into QueryDate
put (tMonth)/(tDay)/(tYear) into QueryDate

The below example does work but I need the / in the date.  It gives me
02142007

put tYear & tMonth & tDay into QueryDate


How do I put a / in the above so I would get a date such as 02/14/2007
Every combination I can think of seems to error.  Any ideas would be
greatly appreciated.  Jeff

___
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: Disable Mouse

2007-02-14 Thread Jeff Honken
Sarah,
  Thanks you for responding.  I'm still confused on the issue.  What I
have is several fields that are for data entry.  I don't want to give
the user the ability of using the mouse in any of the input fields.  I
could put empty mouseDown handlers in the fields but that will still
allow the user the ability to use the mouse to get into the field and
the type within the field.  I want to make sure their only ability to
get into the field are by tabbing or using the return key from the
previous field.  Jeff  

-Original Message-
From: Sarah Reichelt [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, February 13, 2007 4:51 PM
To: How to use Revolution
Subject: Re: Disable Mouse

On 2/14/07, Jeff Honken <[EMAIL PROTECTED]> wrote:
> Is there a way to disable a mouse completely from a form?  Any help
> would be greatly appreciated.  Jeff

If you mean to make a window or an area of a window so that no mouse
clicks are responded to, then I find the easiest way is to cover the
whole area with a button. See the transparency of the button so that
it looks the way you want and give it a mouseUp handler that traps the
message but does nothing. You may also want to include mouseDown,
mouseDoubleUp & mouseDoubleDown.

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

___
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


Disable Mouse

2007-02-13 Thread Jeff Honken
Is there a way to disable a mouse completely from a form?  Any help
would be greatly appreciated.  Jeff
___
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: Dollar Format

2007-02-12 Thread Jeff Honken
Mark,
  That worked great.  Thanks,  Jeff

-Original Message-
From: Mark Smith [mailto:[EMAIL PROTECTED] 
Sent: Monday, February 12, 2007 9:59 AM
To: How to use Revolution
Subject: Re: Dollar Format

Jeff, try the format function

put format("%1.2f",NBalance) into NBalance

The numberFormat is a system property, and you can't set it for one  
variable. It persists (I think) until the current handler finishes.  
In any case, it simply limits the decimal places, and will not put  
the trailing zeros in, so if your calculation produced a value of  
21.1, it would still only give you "21.1" rather than "21.10".

Best,

Mark

On 12 Feb 2007, at 14:17, Jeff Honken wrote:

> How would a person force a U.S. dollar format on a variable?  I'm  
> trying
> to set NBalance as a dollar but the following errors:
>
> put pBalance - (iDPayment + DSUM) into NBalance
>   set the numberFormat of NBalance to "#.00"
>
> Any help will be greatly appreciated.  Jeff
>
>
>
>
> ___
> 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


Dollar Format

2007-02-12 Thread Jeff Honken
How would a person force a U.S. dollar format on a variable?  I'm trying
to set NBalance as a dollar but the following errors:

put pBalance - (iDPayment + DSUM) into NBalance
  set the numberFormat of NBalance to "#.00"

Any help will be greatly appreciated.  Jeff




___
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


dollar function

2007-02-08 Thread Jeff Honken
Does anyone have a function or way to verify a dollar amount that has
been entered into a field?  I'd like to check a pattern such  0.00 -
999.99 and make sure they don't put in a $ symbol.  They also need
to put in a negative dollar amount such as -12.36 .Any help would be
greatly appreciated.  
___
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


Click of field

2007-02-08 Thread Jeff Honken
I have a multiline field that I would like to send a click to the first
line of it when it gets the focus.  I'm using "focus on fld "ABC"" to go
to the field and it highlights that first line but I need it to click on
it too.  Does anyone have any idea on how to do this?
___
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: Variable in SQL Statement

2007-02-05 Thread Jeff Honken
Ken, that worked great.  Thanks, Jeff

-Original Message-
From: Ken Ray [mailto:[EMAIL PROTECTED] 
Sent: Monday, February 05, 2007 5:43 PM
To: How to use Revolution
Subject: Re: Variable in SQL Statement

On Mon, 5 Feb 2007 17:30:19 -0500, Jeff Honken wrote:

> I've been trying to put a wildcard "%" into a SQL statement that
> contains a variable.  I just can't seem to find the right format.
> Here's the SQL statement:
> 
> put revQueryDatabase(gConID, "SELECT ClaimNum FROM AccountEntry WHERE
> ClaimNum LIKE '" & QueryDate & "'&% ORDER BY ClaimNum DESC LIMIT 1")
> into q

I think it's because the ampersand is inside the query itself, try this:

 put revQueryDatabase(gConID, "SELECT ClaimNum FROM AccountEntry WHERE
 ClaimNum LIKE '" & QueryDate & "%' ORDER BY ClaimNum DESC LIMIT 1")
 into q

Ken Ray
Sons of Thunder Software, Inc.
Email: [EMAIL PROTECTED]
Web Site: http://www.sonsothunder.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


Variable in SQL Statement

2007-02-05 Thread Jeff Honken
I've been trying to put a wildcard "%" into a SQL statement that
contains a variable.  I just can't seem to find the right format.
Here's the SQL statement:

put revQueryDatabase(gConID, "SELECT ClaimNum FROM AccountEntry WHERE
ClaimNum LIKE '" & QueryDate & "'&% ORDER BY ClaimNum DESC LIMIT 1")
into q

I've tried the &% and various other combinations with no luck. Can
someone please point me in the correct direction for this statement.

___
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


Hilite Line of option box

2007-01-26 Thread Jeff Honken
I'm trying to use an option box and program it so I don't have to use
the mouse.  When I enter the box I'd like to use my down arrow and have
the options displayed in the pull down.  I can do this by:
 
on arrowKey theKey
  if theKey is "down" then
 
 click at the loc of btn "PIC" 
  
  end if
end arrowKey
 
 
The menu box pulls down but the problem is that it doesn't hilite the
first line in the choices.  I've tried something like
 
hitlite line 1 of me
 
but that seem to work.  Any help would be greatly appreciated.
___
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: SQLite and Linux SQL

2007-01-03 Thread Jeff Honken
Chris,
  I've tried using the revdb_execute in the past on this code but it
always seems to choke.  The queries are very long and I've only had luck
with the merge and revdb_querylist.  I'm assuming since Rev purchased
this code they would have to make the changes for the Linux version to
eliminate the restrictions.  I'll keep experimenting with getting
revdb_execute to work with the queries since I'm still holding my breath
for the Linux version of 2.7.X.  Thanks, Jeff

-Original Message-
From: chris bohnert [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, January 03, 2007 3:29 PM
To: How to use Revolution
Subject: Re: SQLite and Linux SQL

Jeff,

A couple of points on this:

1.) For commands that don't return a recordset you're better off calling
revdb_execute or its command variant revExecuteSQL.

2.) Orginally altSqlite checked for "select" in queries that we're
asking
for rowsets to be returned because there were some pragmas that could be
executed that would crash rev.  That restriction was later removed on
the
mac and windows versions.

3.) Inserts should use the revdb_execute or revExecuteSQL syntax and can
do
so without incurring the pragma check

--
cb

On 1/3/07, Jeff Honken <[EMAIL PROTECTED]> wrote:
>
> I'm trying to figure out why the below code works great on windows for
> creating a SQLITE database but not on Linux.  On Linux I get a message
> that says "revdberr,Database Error: MUST be select SQL!"  I've read on
a
> past post that I should be using "revExecuteSQL tConnectionID,
> tSQLQuery".  This is only a very small part of the full code I'm
> executing to create the database.  Before I spend a lot of time can
> someone confirm that I'm using the wrong syntax on the Create
> statements.  Also why does it work on Windows and not Linux? I'm
> executing a lot of insert statements "2500 Inserts" in the code so
what
> syntax should I use for Inserts?.  Any help would be greatly
> appreciated.
>
>
>
> put
>
revdb_connect("sqlite3",x12Provider.db,"[EMAIL PROTECTED]","xxx
> x") into gConID
>
>
>   --> Start of Creates for Database
> put merge("CREATE TABLE AccountEntry (PracticeID TEXT, AccAutoNo
INTEGER
> PRIMARY KEY, ChartNum TEXT, ClaimNum TEXT, DAllowed TEXT, TOS TEXT,
POS
> TEXT, Provider TEXT)") into tSQL
> put revdb_querylist(,,gConID,tSQL) into tList
>
>
> ___
> 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


SQLite and Linux SQL

2007-01-03 Thread Jeff Honken
I'm trying to figure out why the below code works great on windows for
creating a SQLITE database but not on Linux.  On Linux I get a message
that says "revdberr,Database Error: MUST be select SQL!"  I've read on a
past post that I should be using "revExecuteSQL tConnectionID,
tSQLQuery".  This is only a very small part of the full code I'm
executing to create the database.  Before I spend a lot of time can
someone confirm that I'm using the wrong syntax on the Create
statements.  Also why does it work on Windows and not Linux? I'm
executing a lot of insert statements "2500 Inserts" in the code so what
syntax should I use for Inserts?.  Any help would be greatly
appreciated.



put
revdb_connect("sqlite3",x12Provider.db,"[EMAIL PROTECTED]","xxx
x") into gConID
   
   
  --> Start of Creates for Database
put merge("CREATE TABLE AccountEntry (PracticeID TEXT, AccAutoNo INTEGER
PRIMARY KEY, ChartNum TEXT, ClaimNum TEXT, DAllowed TEXT, TOS TEXT, POS
TEXT, Provider TEXT)") into tSQL
put revdb_querylist(,,gConID,tSQL) into tList


___
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


Ask Password

2006-04-19 Thread Jeff Honken
I have a user that is using one of my compiled .exe's.  He's running
WinXP Home addition.  He claims he can't see the password field in the
application.  None else has complained of this but He's described it to
me clearly so I believe him.  Does anyone know why he couldn't see the
password field but can see the text" Please Enter your Password" and the
ok and cancel buttons. I've compiled under 2.6.1.  I'm using:

ask password clear "Please Enter your Password"


Jeff


___
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


Shao Sean Calendar Object Question

2006-04-18 Thread Jeff Honken

Is anyone using Shao Sean's Calendar Object ?

I've downloaded it but in the stack I keep getting a "Can't find
handler" Error when I change months.  It's for the object
calendarNextMonth.  Is there something I'm missing?  I can't find a doc
file for the stack so I'm slightly in the dark.  Graphically it looks
like a good calendar.  Is there any others out there that are better?
Jeff  
  



___
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


Looping

2006-04-18 Thread Jeff Honken
Thanks to all of those that helped me out on the "adding one hour" to a
variable.  Now I'm moving on further and I need to loop my times.
Looping one item is confusing to me so looping two is really tough.
Here's what I'm trying to do.  

I'm getting five inputs from fields and buttons.
1.  If it's AM or PM for start "SAmPm"
2.  The start time of the Table "STime"
3.  What Intervals the time should be incrementing in "Intervals"
4.  If it's AM or PM for the End Time "EAmPm"
5.  The finish time of the table "ETime"

What I want the program to do is take the three inputs and fill a table
with the answers until the end time has been reached.  The answers
should populate the table "MyTable" in descending order.  I know I have
to use a loop to get the results but I'm confused on how to loop both
the time and the line number of the field.  Also I'm not sure how to end
the loop at the designated end time.  Any help would be greatly
appreciated.  Jeff




on mouseUp
  put the label of btn "SAmPm" into SAmPm
  put fld "STime" into STime
  put fld "Intervals" into Intervals
  put fld "ETime" into ETime
  put the label of btn "EAmPm" into EAmPm

  put STime && SAmPm into currentTime
  put currentTime into item 1 of line 1 of fld MyTable

  convert currentTime to seconds
  put currentTime + (60*Intervals) into FutureTime
  convert FutureTime to time
  
  put FutureTime into item 1 of line 2 of fld MyTable
end mouseUp


___
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


Add 1 hour to time

2006-04-17 Thread Jeff Honken

I know there must be a simple way to do this but it's excaping me.  I
just need to add one hour to a time that I've set.  Here's the code that
doesn't work but it's the general idea:

on mouseUp
  put "10:00 AM" into currentTime
  put "currentTime + 1:00" into FutureTime
  answer FutureTime
end mouseUp

Can someone show me how to set a time into a variable and add an hour to
it.  Thanks,  Jeff


___
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: Progress Bar Example

2006-03-24 Thread Jeff Honken
Sarah,
  Thanks for the reply.  I've tried using 
load stack URL http://www.x12help.com/x12provider.rev"; but it errors.
I've only been successful with "go"  Here's the code I'm using in a
button:

on mouseUp
  go stack URL "http://www.x12help.com/x12provider.rev";
end mouseUp

Is there some other syntax for "load" ?

Jeff


   -Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Sarah
Reichelt
Sent: Friday, March 24, 2006 2:42 PM
To: How to use Revolution
Subject: Re: Progress Bar Example

On 3/25/06, Jeff Honken <[EMAIL PROTECTED]> wrote:
>
> I would like to use a "progress bar" to monitor a "go stack URL".  I'm
> clueless on how to write the code.  Does someone have an example of
this
> or can someone please point me in the correct direction. Jeff

I haven't done it using stacks, but I have done it for downloading
pictures from the web and I guess it's much the same. Firstly, you
need to use "load" instead of "go". This is non-blocking and reports
it's status so you can show what's happening.

Here is part of the handler I use to start a download. It sets the
status callback object to a progress bar and then starts loading. When
it is finished, it's going to call the "picDownloaded" handler.


on downloadFile pAddress
  libURLSetStatusCallback "showStatus", the long ID of sb "Progress"
of stack "Download"
  load URL pAddress with message "picDownloaded"
end downloadFile

In the script of the scrollbar, I have this:

on showStatus pURL, pStatus
  if item 1 of pStatus = "loading" then
put item 2 of pStatus into tNow
put item 3 of pStatus into tEnd

if the visible of sb "Progress" = false then
  -- hasn't started yet
  set the endValue of  sb "Progress" to tEnd
  set the thumbPos of  sb "Progress" to tNow
  show  sb "Progress"
else
  set the thumbPos of  sb "Progress" to tNow
end if

  else if pStatus = "error" then
libURLSetStatusCallback
set the dialogData to empty
close this stack
   end if
end showStatus

which sets the range of the progress bar and shows it if not already
visible, otherwise it just moves the progress bar. If there is an
error, it gets out.

Back in my download script, I have the handler that gets called after
the download is finished. This is in the same script as the
downloadFile handler:

on picDownloaded pURL, pStatus
libURLSetStatusCallback
set the dialogData to URL pURL
unload URL pURL
 end picDownloaded

This puts the newloy downloaded data into a variable (I'm using the
dialogData as it downloads from a separate dialog stack), and then
unloads the file so that it isn't held in two places of memory at
once.

At this point, you could have a "go to stack pURL" line.

Let me know if this doesn't work or if you have any further questions.

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



___
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


Progress Bar Example

2006-03-24 Thread Jeff Honken

I would like to use a "progress bar" to monitor a "go stack URL".  I'm
clueless on how to write the code.  Does someone have an example of this
or can someone please point me in the correct direction. Jeff 


___
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: Launch .rev file from .exe

2006-03-23 Thread Jeff Honken
Yep.  That worked great.  Is there any way to put a password on a .rev
file so someone else can't modify the file.  I know there is if I save
it to an .exe but can you put a password on a .rev file?  Jeff


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Marty
Knapp
Sent: Thursday, March 23, 2006 5:42 PM
To: How to use Revolution
Subject: Re: Launch .rev file from .exe

Hey Jeff,

If I understand your question, you would use:

go stack URL "HTTP://www.x12help.com/blank.rev"

HTH,
Marty Knapp
> Ken,
>   Thanks for the reply.  If my .rev is out on the web I'm assuming I
> have to go out and get it before I use the "Open" command.  Do you
know
> the best way to fetch the file and open it?   I have a small test app
> that I'm trying to open and run at: HTTP://www.x12help.com/blank.rev
>
> Jeff
___
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: Launch .rev file from .exe

2006-03-23 Thread Jeff Honken
Ken,
  Thanks for the reply.  If my .rev is out on the web I'm assuming I
have to go out and get it before I use the "Open" command.  Do you know
the best way to fetch the file and open it?   I have a small test app
that I'm trying to open and run at: HTTP://www.x12help.com/blank.rev

Jeff


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ken Ray
Sent: Thursday, March 23, 2006 4:32 PM
To: Use Revolution List
Subject: Re: Launch .rev file from .exe

On 3/23/06 5:29 PM, "Jeff Honken" <[EMAIL PROTECTED]> wrote:

> Is it possible to launch a .rev file from a standalone .exe compiled
> from Revolution?  If so what command launches the .rev file.  Jeff

open stack 

HTH,

Ken Ray
Sons of Thunder Software
Web site: http://www.sonsothunder.com/
Email: [EMAIL PROTECTED]

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



___
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


Launch .rev file from .exe

2006-03-23 Thread Jeff Honken
Is it possible to launch a .rev file from a standalone .exe compiled
from Revolution?  If so what command launches the .rev file.  Jeff


___
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


Players

2006-03-23 Thread Jeff Honken
Can anyone tell me who has created a Rev player.  I know there's
Revoludens at: http://economy-x-talk.com/ .  Is there any more besides
the one Runrev has?  Jeff




___
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: Option Box

2006-03-22 Thread Jeff Honken
I figured this on out.  I was grabbing the selectedtext vs the label. 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jeff
Honken
Sent: Wednesday, March 22, 2006 8:32 AM
To: use-revolution@lists.runrev.com
Subject: Option Box

I'm using an option box in my application to allow a user to choose a
static list.  I'm using the "on menuPick" handler to save the
information to a database.  The information saves if you use the mouse
to choose the value.  The problem is when you a user tabs into the field
and then uses the down arrow to identify their choice. They then tab or
return out of the field.  The data doesn't update to the new value.  Is
there another handler I should be using?  Jeff

   


___
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


Option Box

2006-03-22 Thread Jeff Honken
I'm using an option box in my application to allow a user to choose a
static list.  I'm using the "on menuPick" handler to save the
information to a database.  The information saves if you use the mouse
to choose the value.  The problem is when you a user tabs into the field
and then uses the down arrow to identify their choice. They then tab or
return out of the field.  The data doesn't update to the new value.  Is
there another handler I should be using?  Jeff

   


___
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: Combined Events

2006-03-21 Thread Jeff Honken
Jim,
  That's exactly what I'm looking for but why on a windows box doesn't
the left mouse click work.  Here's the code:

on returnInField
  hello
end returnInField

on mouseDown theButton
  if theButton is 1 then
hello
  else
  end if
end mouseDown 
 
 
on hello
  answer "Hello World"
end hello


Jeff
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jim Ault
Sent: Tuesday, March 21, 2006 10:09 AM
To: How to use Revolution
Subject: Re: Combined Events

oops. Too early in the morning.. wrong answer since I miss read the
question.



On 3/21/06 9:06 AM, "Jim Ault" <[EMAIL PROTECTED]> wrote:

> The usual practice is to make a handler either
> a function or a procedure
> that is called from either
> more than one handler or
> more than one event or
> both events and handlers
> 
> 
>> on returnInField
>hello
>> end returnInField
>> 
>> on mouseDown
>hello
>> end mouseDown
> 
> on hello
>play annoyingMusic.aif
>get word 1 of the long date
>answer "Hello, it's "& it
> end hello
> 
> 
> The following does not make sense in xTalk
> on thisMessage or thatMessage
> 
> end thisMessage or thatMessage
> 
> Jim Ault
> Las Vegas
> 
> On 3/21/06 8:39 AM, "Jeff Honken" <[EMAIL PROTECTED]> wrote:
> 
>> Wouter,
>>   Thank you for the reply but I'm a little confused with your answer.
I
>> want the same code "answer Hello" to run in a field no matter if I
click
>> on the field with the mouse or press the enter key in the field and I
>> don't want to:
>> 
>> on returnInField
>> answer "Hello"
>> end returnInField
>> 
>> on mouseDown
>>   answer "Hello"
>> end mouseDown
>> 
>> 
>> What I would like is something like this that will work:
>> 
>> on returnInField or mouseDown
>> answer "Hello"
>> end returnInField or mouseDown
>> 
>> 
>> 
>> 
>> -Original Message-
>> From: [EMAIL PROTECTED]
>> [mailto:[EMAIL PROTECTED] On Behalf Of Wouter
>> Sent: Tuesday, March 21, 2006 9:13 AM
>> To: How to use Revolution
>> Subject: Re: Combined Events
>> 
>> for example:
>> 
>> on returninfield
>>mousedown
>> end returninfield
>> 
>> Greetings,
>> Wouter
>> 
>> On 21 Mar 2006, at 17:03, Jeff Honken wrote:
>> 
>>> 
>>> Is there any way to combine events so you don't have to have
redundant
>>> code.  I would like the same code to run on both the "on
>>> returnInField"
>>> and "on mouseDown" events.  Jeff
>> 
>> ___
>> 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


___
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: Combined Events

2006-03-21 Thread Jeff Honken
Wouter,
  Thank you for the reply but I'm a little confused with your answer.  I
want the same code "answer Hello" to run in a field no matter if I click
on the field with the mouse or press the enter key in the field and I
don't want to:

on returnInField
answer "Hello"
end returnInField

on mouseDown
  answer "Hello"
end mouseDown


What I would like is something like this that will work:

on returnInField or mouseDown
answer "Hello"
end returnInField or mouseDown




-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Wouter
Sent: Tuesday, March 21, 2006 9:13 AM
To: How to use Revolution
Subject: Re: Combined Events

for example:

on returninfield
   mousedown
end returninfield

Greetings,
Wouter

On 21 Mar 2006, at 17:03, Jeff Honken wrote:

>
> Is there any way to combine events so you don't have to have redundant
> code.  I would like the same code to run on both the "on  
> returnInField"
> and "on mouseDown" events.  Jeff

___
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


Combined Events

2006-03-21 Thread Jeff Honken

Is there any way to combine events so you don't have to have redundant
code.  I would like the same code to run on both the "on returnInField"
and "on mouseDown" events.  Jeff


___
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: Auto tab to next field

2006-03-15 Thread Jeff Honken

Mark,
  Thanks,  That worked great !  Jeff



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mark Smith
Sent: Wednesday, March 15, 2006 12:07 PM
To: How to use Revolution
Subject: Re: Auto tab to next field

Jeff, my suggestion below should deal with that

Cheers,

Mark

On 15 Mar 2006, at 18:46, Jeff Honken wrote:

> replace  with
>  if you want to keep typing in
> the newly focused fld.

___
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: Auto tab to next field

2006-03-15 Thread Jeff Honken

Mark,
  That seemed to work but the next number or the 5th number in the
sequence of 123 45 makes it 123 54.  Why would the cursor jump to the
front of the number instead of in back of it?  Jeff



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mark Smith
Sent: Wednesday, March 15, 2006 11:12 AM
To: How to use Revolution
Subject: Re: Auto tab to next field

Jeff, this should work:

on keyDown theKey
   if the number of chars in me >= 3 then
 put theKey into fld "ProvOfficePhone2"
 focus on fld "ProvOfficePhone2"
 exit keyDown
   else
 pass keyDown
   end if
end keyDown

replace  with
 if you want to keep typing in  
the newly focused fld.

Cheers,

Mark

On 15 Mar 2006, at 17:55, Jeff Honken wrote:

> I trying to program an automatic tab to the next field after the user
> inputs three characters.  Here's the code I'm using:
>
> on keyDown theKey
>   if the number of chars in me >= 3 then
> focus on fld ProvOfficePhone2
> exit keyDown
>   else
> pass keyDown
>   end if
> end keyDown
>
> The above code works but when I hit the fourth character it tabs to  
> the
> next field but it loses the character that was typed. i.e. if you type
> 1234 the 123 goes into my first box and the cursor goes to the next
> field but it doesn't input 4 into that field.  Any suggestions?  Jeff
>
>
>
>
> ___
> 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


Auto tab to next field

2006-03-15 Thread Jeff Honken
I trying to program an automatic tab to the next field after the user
inputs three characters.  Here's the code I'm using:

on keyDown theKey
  if the number of chars in me >= 3 then
focus on fld ProvOfficePhone2
exit keyDown
  else
pass keyDown
  end if
end keyDown

The above code works but when I hit the fourth character it tabs to the
next field but it loses the character that was typed. i.e. if you type
1234 the 123 goes into my first box and the cursor goes to the next
field but it doesn't input 4 into that field.  Any suggestions?  Jeff  




___
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: Compiled App on 2003 Server TS

2006-02-23 Thread Jeff Honken

Mark,
  We're starting to narrow the problem down.  If I change the
compatability to Win 95 in the shortcut it sees the database.  The
graphics and colors aren't correct but the appliation runs.  I may be
incorrect but I think when the application is compiled it's compiling a
16 bit app vs 32.  I'm not sure how to fix the problem unless I recode
for Win 95. Jeff  

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mark
Wieder
Sent: Wednesday, February 22, 2006 11:44 PM
To: How to use Revolution
Subject: Re: Compiled App on 2003 Server TS

Jeff-

Wednesday, February 22, 2006, 12:10:42 PM, you wrote:

>   Also I'm using a shortcut to launch it.

In that case, what have you got specified for the "start in" directory
for the shortcut? If you haven't done it already, make sure that it's
the path the app lives in.

-- 
-Mark Wieder
 [EMAIL PROTECTED]

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



___
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: Compiled App on 2003 Server TS

2006-02-22 Thread Jeff Honken
Mark,
  Yes I created it myself.  Also I'm using a shortcut to launch it.
Jeff



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mark
Wieder
Sent: Wednesday, February 22, 2006 12:57 PM
To: How to use Revolution
Subject: Re: Compiled App on 2003 Server TS

Jeff-

Tuesday, February 21, 2006, 7:17:08 PM, you wrote:

> Since the graphics and the database are in the same directory as the
> .exe I don't specify a directory.  I'm wondering for TS if you have to
> give it a full path?  Jeff

Did you set the defaultFolder yourself? And are you launching the app
directly or through a shortcut?

-- 
-Mark Wieder
 [EMAIL PROTECTED]

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



___
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: Compiled App on 2003 Server TS

2006-02-21 Thread Jeff Honken
Since the graphics and the database are in the same directory as the
.exe I don't specify a directory.  I'm wondering for TS if you have to
give it a full path?  Jeff



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mark
Wieder
Sent: Tuesday, February 21, 2006 8:03 PM
To: How to use Revolution
Subject: Re: Compiled App on 2003 Server TS

Jeff-

Tuesday, February 21, 2006, 2:09:37 PM, you wrote:

> I've sent your response over to our networking people to look at the
> paths for TS.  I didn't think that I would have needed to worry about
> the paths since everything is in the same directory but it seems to
> point to a path problem. The application runs it's just missing the
> graphic files and the SQLite database that's in the same directory.
Jeff

It's not a network thing per se - when you log on to a server via
terminal services you get a virtual C: drive. You have to, since you
don't have your computer available. When you specify a SQLite database
connection you have to tell it where the database lives. I'd check and
see what you set the path to your database to - if you hardcoded it to
a specific location then check that exact location when you log on via
terminal services and see if the database is really there. Same thing
for the graphic files.

-- 
-Mark Wieder
 [EMAIL PROTECTED]

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



___
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: Compiled App on 2003 Server TS

2006-02-21 Thread Jeff Honken
Mark,
I've sent your response over to our networking people to look at the
paths for TS.  I didn't think that I would have needed to worry about
the paths since everything is in the same directory but it seems to
point to a path problem. The application runs it's just missing the
graphic files and the SQLite database that's in the same directory. Jeff

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mark
Wieder
Sent: Tuesday, February 21, 2006 2:50 PM
To: How to use Revolution
Subject: Re: Compiled App on 2003 Server TS

Jeff-

Tuesday, February 21, 2006, 9:22:35 AM, you wrote:

> Has anyone run a compiled application over terminal services?  I'm
> running 2003 Server with terminal services on it.  My application runs
> great on XP but when I try to run it over terminal services it can't
> find the auxiliary files such as the graphics files and database. I've
> set the path but no luck.  Does anyone have any ideas?  Jeff

How are you using the relative paths? You *do* realize that your root
directory under terminal services is different from what it is logging
on to a workstation, right?

-- 
-Mark Wieder
 [EMAIL PROTECTED]

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



___
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: Compiled App on 2003 Server TS

2006-02-21 Thread Jeff Honken

I'm going from Win XP to WIN 2003 Server so the path character should be
the same.  Does anyone know if a compiled .exe from Rev is 32 bit?  Jeff


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Thomas
McGrath III
Sent: Tuesday, February 21, 2006 11:26 AM
To: How to use Revolution
Subject: Re: Compiled App on 2003 Server TS

On the Mac the REV path delimiter is different when using the Unix  
terminal "/" versus ":" could this be the problem for you on XP?

Tom


On Feb 21, 2006, at 12:22 PM, Jeff Honken wrote:

>
> Has anyone run a compiled application over terminal services?  I'm
> running 2003 Server with terminal services on it.  My application runs
> great on XP but when I try to run it over terminal services it can't
> find the auxiliary files such as the graphics files and database.   
> I've
> set the path but no luck.  Does anyone have any ideas?  Jeff
>
>
> ___
> 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

Thomas J McGrath III
[EMAIL PROTECTED]

Lazy River SoftwareT - http://www.lazyriversoftware.com

Lazy River Metal ArtT - http://www.lazyriversoftware.com/metal.html

Meeting WearT - http://www.cafepress.com/meetingwear

Semantic Compaction Systems - http://www.minspeak.com

SCIconics, LLC - http://www.sciconics.com/sciindex.html







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



___
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


Compiled App on 2003 Server TS

2006-02-21 Thread Jeff Honken

Has anyone run a compiled application over terminal services?  I'm
running 2003 Server with terminal services on it.  My application runs
great on XP but when I try to run it over terminal services it can't
find the auxiliary files such as the graphics files and database.  I've
set the path but no luck.  Does anyone have any ideas?  Jeff


___
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: Sqlite on Linux

2006-02-17 Thread Jeff Honken

Chipp,
I haven't received anything from Chris.  Do you have a direct email that
I can email him.  I'd like him to try

[EMAIL PROTECTED]
and
[EMAIL PROTECTED]

Jeff
 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Chipp
Walters
Sent: Friday, February 17, 2006 1:51 PM
To: How to use Revolution
Subject: Re: Sqlite on Linux

Jeff,

Chris Bohnert of Altuit has previously sent 2 support emails to you and 
it appears you aren't getting them (though we have no record of a 
bounce). Perhaps you can check your JUNK folder or give us another email

address to respond to?

We generally try our best at getting back to our valued customers! :-)

thanks,

Chipp

Jeff Honken wrote:
> I emailed Altuit yesterday but I havn't heard back from them.

___
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


Sqlite on Linux

2006-02-17 Thread Jeff Honken

I've compiled my application on Windows and I've moved it to Linux.  I
get the following error when I try to access the Sqlite database with my
application on Linux:

Failed to load dbsqlite.so error dbsqlite.so: cannot open shared object
file: No such file or directoryfound
/root/Linux/externals/database_drivers/dbsqlite.so
symbols 7134656,7134544,7134624
called idcounterptrx12.db
���ph'l�Fȥ�*

I've tried it on Fedora Core 4, RedHat 7.3 and 8.0.  All with the same
error.  I've set the permissions to 777 for the file and I've tripple
checked that the file is there and in that directory.  It's creating a
file called c:/test.db on my hard drive which I'm sure the .so is
creating.  I emailed Altuit yesterday but I havn't heard back from them.
Is anyone else using the Altuit .so on Linux that has seen this problem
before.  Any help would be appreciated.  Jeff




___
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: Cross platform Fonts

2006-02-16 Thread Jeff Honken

Peter,
  Thanks for the reply.  I havn't played with profiles yet so I guess
it's time.  Thanks, Jeff


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Peter T.
Evensen
Sent: Thursday, February 16, 2006 10:02 AM
To: How to use Revolution
Subject: Re: Cross platform Fonts

Cross-platform fonts can be tricky.  I know Revolution tries to help you

out between Mac and Windows by making the Windows fonts smaller than the

point size you specify.

One way is to find out what font size works the best on Linux and use 
profiles to switch between sizes, depending on the platform.

At 11:02 AM 2/16/2006, you wrote:

>I've written an application in windows and compile it for Linux.  The
>application seems to be running on Linux ok except for the Fonts on the
>text.  It has grown in size on Linux.  Can someone point me in the
>direction of how to keep font sizes the same across platforms.  Jeff
>
>
>___
>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

Peter T. Evensen
http://www.PetersRoadToHealth.com
314-629-5248 or 888-628-4588 

___
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


Cross platform Fonts

2006-02-16 Thread Jeff Honken

I've written an application in windows and compile it for Linux.  The
application seems to be running on Linux ok except for the Fonts on the
text.  It has grown in size on Linux.  Can someone point me in the
direction of how to keep font sizes the same across platforms.  Jeff


___
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: converting a standalone back to a stack?

2006-02-15 Thread Jeff Honken
Sarah,
  Thanks for the information.  I didn't know that you had to encrypt a
revolution .exe so it couldn't be decompiled.  Thanks,  Jeff 

   
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Sarah
Reichelt
Sent: Wednesday, February 15, 2006 3:31 PM
To: How to use Revolution
Subject: Re: converting a standalone back to a stack?

On 2/16/06, Jeff Honken <[EMAIL PROTECTED]> wrote:
>
> This concerns me a little.  Are you saying once we've compiled our
> applications to a standalone .exe anyone can get it back to the
original
> source code or Stack? Jeff

Not if you encrypt the stacks when building the app. There is a
setting to do this in the standalone settings dialog. However if you
encrypt, you won't be able to use this technique for retrieving stacks
from the built app.

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



___
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: Phone Number Validation

2006-02-15 Thread Jeff Honken
Jim,
  I must be missing something.  I saw that in the Docs but I couldn't
get it to work.  Here's my code:  Can you see why it won't validate a
000- ?  Jeff

--> Function
function CheckPhone pPhoneToCheck
  
if pPhoneToCheck is
matchText(pPhoneToCheck,"([0-9]+)-([0-9]+-[0-9]+)")
   
then
return pPhoneToCheck
  else
return "Bad Phone"
  end if
end CheckPhone
-->End of Function


--> Field Text
on closeField
  
  put CheckPhone(me) into Ewr
   
  if Ewr is "Bad Phone" then
answer "The Telephone Number you entered must be in the format of
000-000-"
put "" into me
focus on me
break

  ELSE
 
Answer "OK Good Number"
 
  END IF 
end closeField


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jim Ault
Sent: Wednesday, February 15, 2006 12:01 PM
To: How to use Revolution
Subject: Re: Phone Number Validation

On 2/15/06 9:33 AM, "Jeff Honken" <[EMAIL PROTECTED]> wrote:
> I'm trying to validate a date.  I've been playing with the below code
> but I can't get it to verify a correct phone number.  Can anyone steer
> me in the correct direction on how to verify a phone number in a field
> for the correct format?  Jeff

>From the docs
matchText function 

Platform support:  
Introduced in version 1.0 (Changed in version 2.0)

Returns true if a regular expression is found in the specified string,
false
otherwise.

matchText(string,regularExpression[,foundTextVarsList])

matchText("Goodbye","bye") -- returns true
matchText("Goodbye","^Good") -- also returns true
matchText(phoneNumber,"([0-9]+)-([0-9]+-[0-9]+)",areaCode,phone)

HTH

Jim Ault
Las Vegas

On 2/15/06 9:33 AM, "Jeff Honken" <[EMAIL PROTECTED]> wrote:

> I'm trying to validate a date.  I've been playing with the below code
> but I can't get it to verify a correct phone number.  Can anyone steer
> me in the correct direction on how to verify a phone number in a field
> for the correct format?  Jeff
> 
> --> Function
> function CheckPhone pPhoneToCheck
>   if pPhoneToCheck is
>
matchText(pPhoneToCheck,"([0-9][0-9][0-9])-([0-9][0-9][0-9])-([0-9][0-9]
> [0-9][0-9])")
> then
> return pPhoneToCheck
>   else
> return "Bad Phone"
>   end if
> end CheckPhone
> -->End of Function
> 
> 
> --> Code in Filed
> on closeField
> 
> put CheckPhone(me) into Ewr
>
>   if Ewr is "Bad Phone" then
> answer "The Telephone Number you entered must be in the format of
> 000-000-"
> put "" into me
> focus on me
> break
> 
>   ELSE
>  
> Answer "OK Good Number"
>  
>   END IF 
> end closeField
> 
> 
> ___
> 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: converting a standalone back to a stack?

2006-02-15 Thread Jeff Honken

This concerns me a little.  Are you saying once we've compiled our
applications to a standalone .exe anyone can get it back to the original
source code or Stack? Jeff

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Wednesday, February 15, 2006 1:09 PM
To: use-revolution@lists.runrev.com
Subject: Re: converting a standalone back to a stack?

>From The Scripter's Scrapbook (note not yet  tested with 2.7 so use at
own 
risk on a backup copy)...

App2Stack  Recovery
This will convert a MetaCard or Revolution standAlone to the  original
stack 
file.

on mouseUp
answer file "Select a  Standalone..."
if it is "cancel" or it = "" then exit to top
put url ("binfile:"&it) into tStack
repeat  forever
-- there's more than one stackfile in there which  is interesting
put offset("#!/bin/sh",char 10 to -1 of  tStack) into tOff
if tOff = 0 then exit  repeat
put char tOff+9 to -1 of tStack into  tStack
end repeat
ask file "Name the Stack..."
if  it is "cancel" or it = "" then exit to top
set the fileType to  "RevoRSTK"
put tStack into url ("binfile:"&it)
answer  "Conversion finished" with "OK"
end mouseUp  


HTH
 
/H
___
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


Phone Number Validation

2006-02-15 Thread Jeff Honken
I'm trying to validate a date.  I've been playing with the below code
but I can't get it to verify a correct phone number.  Can anyone steer
me in the correct direction on how to verify a phone number in a field
for the correct format?  Jeff

--> Function
function CheckPhone pPhoneToCheck
  if pPhoneToCheck is
matchText(pPhoneToCheck,"([0-9][0-9][0-9])-([0-9][0-9][0-9])-([0-9][0-9]
[0-9][0-9])")
then
return pPhoneToCheck
  else
return "Bad Phone"
  end if
end CheckPhone
-->End of Function


--> Code in Filed
on closeField

put CheckPhone(me) into Ewr
   
  if Ewr is "Bad Phone" then
answer "The Telephone Number you entered must be in the format of
000-000-"
put "" into me
focus on me
break

  ELSE
 
Answer "OK Good Number"
 
  END IF 
end closeField


___
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: Combo Box

2006-02-14 Thread Jeff Honken
Sarah,
  Thanks,  Jeff

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Sarah
Reichelt
Sent: Tuesday, February 14, 2006 7:59 PM
To: How to use Revolution
Subject: Re: Combo Box

On 2/15/06, Jeff Honken <[EMAIL PROTECTED]> wrote:
> Thanks to all of those that answered my question on resizing cards.  I
> have one more question for the day.  How do you program in the menu
> picks for a Combo Box?  I've been scanning the docs but it's alluding
> me.  I know I can use the IDE GUI to add them but I would like to
> program them in.  Jeff

Put "Option 1" & cr & "Option 2" & cr & "Option 3" into myList
put myList into btn "Combo"

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



___
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


Combo Box

2006-02-14 Thread Jeff Honken
Thanks to all of those that answered my question on resizing cards.  I
have one more question for the day.  How do you program in the menu
picks for a Combo Box?  I've been scanning the docs but it's alluding
me.  I know I can use the IDE GUI to add them but I would like to
program them in.  Jeff




___
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


Cards within Stacks

2006-02-14 Thread Jeff Honken
Well here's a newbie question that I have.  Do all cards within the same
stack have to be the same size?  What I would like to do is present the
user with a card that they can input various search criteria.  The
program would then take that information and do a search on another card
within that stack.  i.e. User inputs last Name of a person and the form
queries the database displaying the results.  I know I can use the Ask
command but I would like to give multiple items that they can query on.
Is there a way to use a smaller card for this query box?  Jeff





___
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: Tabs as Background

2006-02-10 Thread Jeff Honken
Klaus,
  Thanks,  I'll give it a try.  Jeff


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Klaus
Major
Sent: Friday, February 10, 2006 8:11 AM
To: How to use Revolution
Subject: Re: Tabs as Background

Hi Jeff,

> I have a stack that's using some tabs and those tabs are set to the
> background.  It's working great to tab between my cards on that stack.
> Is there a way to use a card in this stack that doesn't use the tabs?
> Another wards is there a way to turn off the tabs for a specific  
> card if
> the tabs are set to the background?

Yes, sure!

Go to the card where you do NOT wnat the TABS as a background, then
select menu "Object" -> "Remove group" and that's it :-)

You can also do this by script:
...
remove bg "name of your TAB group" from card xyz
...

> Jeff

Regards

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

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



___
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


Tabs as Background

2006-02-10 Thread Jeff Honken
I have a stack that's using some tabs and those tabs are set to the
background.  It's working great to tab between my cards on that stack.
Is there a way to use a card in this stack that doesn't use the tabs?
Another wards is there a way to turn off the tabs for a specific card if
the tabs are set to the background?  Jeff  





___
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


SpeechLab

2006-02-08 Thread Jeff Honken
The MonsieurX.com site has a fun application called SpeechLab that allow
you to type in a sentence and it will voice it back to you.  Does
Revolution have the reverse capabilities so that an application can be
written that you can speak into a microphone on the computer and it
dictates the sentence back to you?  I'm new to Revolution and I didn't
know that it had such strong speech capabilities. Jeff




___
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: Delete Main Stack

2006-01-27 Thread Jeff Honken
Sarah,
  Thanks for the reply.  I used the "quit".  It's interesting that I
keep finding little things that act differently in the standalone vs. in
the IDE.  Do you know of a document that contains the "little" things
that you need to code for in an exe?  Jeff



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Sarah
Reichelt
Sent: Friday, January 27, 2006 12:03 AM
To: How to use Revolution
Subject: Re: Delete Main Stack

On 1/27/06, Dan Shafer <[EMAIL PROTECTED]> wrote:
> Jeff
>
> I don't think you want to *delete* your stack, just close it, right?
>
> close stack "Main"
>
> should do that job.
>
> Deleting the main stack should never work, actually.

Well, yes it does work, except that in this context, "delete" just
deletes the stack from memory, not from the hard disk.

You must be extremely careful to use this only on a mainStack. If you
delete a substack, it is really gone - deleted from the stack file -
but deleting a mainStack just removes it from memory.

However in answer to the original question, either "close this stack"
or "quit" should do fine. I often have a quit routine that checks
whether I am in the IDE or running as an app and either saves & closes
the stack if in the IDE, or quits if in an app.

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



___
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


Size of ListBox

2006-01-24 Thread Jeff Honken
I have a listbox in my application that seems to change size slightly
when I save it as a standalone exe.  I'm reading from a database and
displaying the results in the listbox.  It looks great in the
development environment but when I look at it in the exe it shows a
partial row.  I have the "Lock size and Position" turned on.  Does
anyone have any ideas on how I can lock the size of the listbox to say 4
or 5 rows and not show a half row for the standalone?  Jeff


___
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: Delete Main Stack

2006-01-24 Thread Jeff Honken
Eric,
  That worked thanks for the help.  Jeff



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Eric
Chatonet
Sent: Tuesday, January 24, 2006 12:10 AM
To: How to use Revolution
Subject: Re: Delete Main Stack

Hi Jeff,

The delete command removes a main stack from memory unless it's the  
last one available and that can't happen in the IDE.
In a standalone, just use the quit command.
To make things handy:

if the environment is "development" then close this stack
else quit

Le 24 janv. 06 à 00:44, Jeff Honken a écrit :

> Can anyone tell me why the following code works fine for Closing my  
> Main
> Stack when it's in the IDE Development environment but won't work on a
> standalone?  I'm closing the database and deleting the stack but it
> won't close the app as a standalone.
>
> revCloseDatabase gConID
> delete stack Main

Best Regards from Paris,
Eric Chatonet


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


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



___
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


Delete Main Stack

2006-01-23 Thread Jeff Honken

Can anyone tell me why the following code works fine for Closing my Main
Stack when it's in the IDE Development environment but won't work on a
standalone?  I'm closing the database and deleting the stack but it
won't close the app as a standalone.

revCloseDatabase gConID
delete stack Main




___
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


Calendar and Time Schedule

2006-01-18 Thread Jeff Honken
Has anyone created a scheduling app and would share how they did it.
I'm starting a project that will require a calendar and a time element.
When a particular date is chosen a time grid needs to be displayed.  It
then needs to allow the user to schedule that block of time.  It
basically needs to work like the Calendar in Microsoft's outlook.  Any
help would be greatly appreciated.  Jeff


___
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


Rev Player

2006-01-16 Thread Jeff Honken
Does anyone know if the source code for the rev player is available?
I've searched the internet and there seems to be some people that have a
modified version so I'm thinking it's available.  If so can someone show
me where it can be obtained?


___
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


Combo Box and Hilited Pick

2006-01-11 Thread Jeff Honken
I have a combo Box.  The box has several items in it.  When I choose
what item has been picked I use:

get the selectedText of btn "PayType"

How do I "set" the button for a menu choice?  I have items such as PPO
and HMO in the combo box choices.

I'm looking for something like:

Set the selectedText of btn "PayType" to "PPO"

But I would like it to work.  Jeff


___
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: Combo Box and Focus

2006-01-11 Thread Jeff Honken


Tom,
  That did the trick.  I didn't know the the default for traversalOn is
"false".  Thanks,  Jeff


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Thomas
McGrath III
Sent: Wednesday, January 11, 2006 5:34 PM
To: How to use Revolution
Subject: Re: Combo Box and Focus

is that the actual code? no qoutes around your button name? could be  
the problem.

Or from the docs:
If the object's traversalOn property is false, it cannot receive the  
focus, and the focus command causes an error.


hth

Tom

On Jan 11, 2006, at 7:27 PM, Jeff Honken wrote:

> I'm trying to change the focus from a field to a Combo Box called
> "PayType".  When I try to use to below code it errors "Not a valid
> Control".  Isn't a Combo box a "button" ?
>
> on tabKey
>   focus on btn PayType
> end tabKey
>
>

> ___
> 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

Thomas J McGrath III
[EMAIL PROTECTED]

Lazy River SoftwareT - http://www.lazyriversoftware.com

Lazy River Metal ArtT - http://www.lazyriversftware.com/metal.html

Meeting WearT - http://www.cafepress.com/meetingwear

Semantic Compaction Systems - http://www.minspeak.com

SCIconics, LLC - http://www.sciconics.com/sciindex.html







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



___
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


Combo Box and Focus

2006-01-11 Thread Jeff Honken
I'm trying to change the focus from a field to a Combo Box called
"PayType".  When I try to use to below code it errors "Not a valid
Control".  Isn't a Combo box a "button" ?

on tabKey
  focus on btn PayType
end tabKey


___
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: Variable Database in revdb_connect

2006-01-04 Thread Jeff Honken
That worked great thanks,  With the little test script that I wrote it
connects great the first time but if I press the button a second time it
gives me an error.  Can you give me some insight into why it errors on
the second attempt to connect.  Will it always error if I don't close
the connection of the previous connection first?  I thought it would
just connect again with a different connection ID. 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Björnke
von Gierke
Sent: Wednesday, January 04, 2006 10:16 AM
To: How to use Revolution
Subject: Re: Variable Database in revdb_connect

You got some errors in your query...
try this string:

put revdb_connect("sqlite", database , "[EMAIL PROTECTED]", "bdJycJ") 
into tConID

also it is recommended to always quote strings, as it could get you in 
trouble if you later make a variable with that name:

put "x12provider" into database

On Jan 04 2006, at 18:02, Jeff Honken wrote:

> on mouseUp
>
>  put x12provider into database
>
>
>   put revdb_connect("sqlite","& database
> &","[EMAIL PROTECTED]","bdJycJ") into tConID
>   if tConID is "" then
> answer warning "Problem creating or accessing database!"
>   else
> put tConID into gConID
>   end if
>
>   answer gConID
> end mouseUp

___
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


Variable Database in revdb_connect

2006-01-04 Thread Jeff Honken
I'm trying to put a variable as my database name in a database
connection but I can't get the revdb_connect to see the variable.  Does
anyone know how to make the database a variable one in a database
connection?  Jeff


on mouseUp
 
 put x12provider into database
 
 
  put revdb_connect("sqlite","& database
&","[EMAIL PROTECTED]","bdJycJ") into tConID
  if tConID is "" then 
answer warning "Problem creating or accessing database!"
  else
put tConID into gConID
  end if

  answer gConID  
end mouseUp


___
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: Game Source Information for Rev

2006-01-03 Thread Jeff Honken
Kori,  

I've just recently joined the ranks of a Revolution user.  I found Dan
Shafe's book "Software at the Speed of Thought" very helpful.  I'm not
developing games but I found his book a great asset when learing
scripting.

Jeff



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of ACR
Sent: Tuesday, January 03, 2006 10:10 AM
To: Revolution
Subject: Game Source Information for Rev

I recently bought my Revolution software. I am in the process of making
a small adventure game. It is a point and click game, usually called a
Myst clone. I had to choose between Revolution and Director for my game
software. As I understand it, the first Myst game was make with
Hypercard (Revolution). 

Since I am new to Revolution, I am lost in a sea of Commands. I probably
don't need to learn all of them, probably only a few dozen Commands for
my game. Commands such as go to the next images, start/stop background
sound, start/stop music, start a sprite, start/stop an animation, and so
on and so on. And I will need to make some puzzles which will require
Functions probably. 

All I have found in user stacks so far are applications. Are there an
adventure game stacks I could take apart and learn from? Are there any
books on the subject? 

I am starting from the beginning, so any information source will help. 

Thanks

Kori
___
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: SQL Statement on Multiple Lines

2006-01-02 Thread Jeff Honken
Jim,
  Thanks for the response.  I'm trying to create a script that will
recreate my database.  I need to create multiple tables and allot of
inserts.  Jeff

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jim Ault
Sent: Monday, January 02, 2006 1:42 PM
To: How to use Revolution
Subject: Re: SQL Statement on Multiple Lines

> two lines it dies.  I've tried using the / with no luck.
The correct character is "\"

Not sure what you are doing specifically, but remember, the "\" cannot
be
used to split a string:
NO:
put "the lazy brown dog jumped \
and bit the mailman" into neverHappened

Yes, even in the multi-line message box:
put " the lazy mailman bit " & \
"the brown dog" into newsAtSix


Jim Ault
Las Vegas

On 1/2/06 12:34 PM, "Jeff Honken" <[EMAIL PROTECTED]> wrote:

> Is there any way to have a SQL statement on multiple lines.  My code
> works great if the statement is all on one line but once I try to go
to
> two lines it dies.  I've tried using the / with no luck.  Here's a
very
> cut down version of what I'm trying:
> 
> --> CONSTRUCT SQL
>   put "CREATE TABLE Provider
> (ProvAutoNo INTEGER PRIMARY KEY, ProvActive text)" into tSQL
>   --> EXECUTE SQL
>   put revdb_execute(gConID,tSQL) into tList
> 
> The Provider table is actually very large.
> 
> 
> ___
> 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


SQL Statement on Multiple Lines

2006-01-02 Thread Jeff Honken
Is there any way to have a SQL statement on multiple lines.  My code
works great if the statement is all on one line but once I try to go to
two lines it dies.  I've tried using the / with no luck.  Here's a very
cut down version of what I'm trying:

--> CONSTRUCT SQL
  put "CREATE TABLE Provider 
(ProvAutoNo INTEGER PRIMARY KEY, ProvActive text)" into tSQL
  --> EXECUTE SQL
  put revdb_execute(gConID,tSQL) into tList

The Provider table is actually very large.


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


Change Focus to Group

2005-12-30 Thread Jeff Honken
I'm trying to switch the focus from a field that I'm in to a group of
radio buttons by entering "Return".  I'm using the following:

on returnInField
 focus on group ProviderRadio
end returnInField

The focus seems to be working great from field to field but when I try
to go to a group it errors.  Can someone steer me in the correct
direction on this.  Jeff


___
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: Search Scrolling Field

2005-12-29 Thread Jeff Honken
Klaus, That worked great.  Thanks, Jeff


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Klaus
Major
Sent: Thursday, December 29, 2005 3:06 PM
To: How to use Revolution
Subject: Re: Search Scrolling Field

Hi Jeff,

> I'm trying to write a script that will allow me to search a Scrolling
> field from a user inputed field.
>
> Here's what I have:
>
> 1.  The Scrolling field is populated by a database. It's name is
> ProcListField
>
> 2.  I have a field that I am putting in a value.
>
> 3.  I want to search the ProcListField and highlight the "line" that
> contains the word I'm searching with.
>
> I've been trying the below script but it doesn't seem to find anything
> in my ProcListField.  I think what it's doing is looking for me to  
> match
> the whole line and not an individual word within the line.  Does  
> anyone
> have any ideas on how I can accomplish this search?
>
> put me into N
>   put fld ProcListField into tData
>   put empty into tSummary
>   repeat with x = 1 to the number of lines of tData
> if line x of tData = N then put x & "," after tSummary
>   end repeat
>   delete last char of tSummary
>
> My end plans were to take tSummary and grab the row ID from it and
> hilite the row within ProcListField.  I may be going about this
> completely wrong so any input would be helpful.

You can make this script a lot faster by using "repeat for each..."

Try this:
...
   put me into N
   put fld ProcListField into tData
   put empty into tSummary
   put 1 into tCounter
   ## see below...
   repeat for each line L in tData
 if L contains N then
 ## string N has been "found" in string L :-)
 put tCounter & "," after tSummary
 end if
 add 1 to tCounter
 ## ***
   end repeat
   delete last char of tSummary
...

*** since "repeat for each..." is "read only" we have to count up  
manually!


Regards

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

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



___
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


Search Scrolling Field

2005-12-29 Thread Jeff Honken
I'm trying to write a script that will allow me to search a Scrolling
field from a user inputed field.

Here's what I have:

1.  The Scrolling field is populated by a database. It's name is
ProcListField

2.  I have a field that I am putting in a value.

3.  I want to search the ProcListField and highlight the "line" that
contains the word I'm searching with.

I've been trying the below script but it doesn't seem to find anything
in my ProcListField.  I think what it's doing is looking for me to match
the whole line and not an individual word within the line.  Does anyone
have any ideas on how I can accomplish this search?

put me into N
  put fld ProcListField into tData
  put empty into tSummary
  repeat with x = 1 to the number of lines of tData
if line x of tData = N then put x & "," after tSummary
  end repeat
  delete last char of tSummary

My end plans were to take tSummary and grab the row ID from it and
hilite the row within ProcListField.  I may be going about this
completely wrong so any input would be helpful.


___
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: FTP

2005-12-28 Thread Jeff Honken
I've never used FTP with Runrev but doesn't he have to have a FTP server
on his end to upload the files to?  He said that he'd created a
directory and can access it but can he access it with FTP? Just
wondering. I have to write an app here soon that uses FTP.  Jeff

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jan
Schenkel
Sent: Wednesday, December 28, 2005 11:42 AM
To: How to use Revolution
Subject: Re: FTP

--- Marty Knapp <[EMAIL PROTECTED]> wrote:
> I'm trying to to build a simple app so that my boys
> can send me 
> Quicktime movies that are too big to email. I put
> togther a stack with a 
> button set for drag and drop with the following
> script:
> 
> on dragdrop
>   put empty into fld "LogData"
>   get the dragdata
>   if it is not empty then
> libURLftpUploadFile 
> it,"ftp://username:[EMAIL PROTECTED]/drop/"
> --"drop" is a 
> directory that I've created and can access
> libUrlSetLogField the long id of fld "LogData"
>   else beep
> end dragdrop
> 
> the file is not uploaded and I get this message:
> 
> 220 ProFTPD 1.3.0rc2 Server (Main FTP Server)
> [64.40.144.138]
> 331 Password required for username.
> 230 User username logged in.
> 257 "/" is current directory.
> 221 Goodbye.
> CLOSED
> 
> What am I doing wrong?
> 
> 
> Marty Knapp
> 

Hi Marty,

It could be that you have to supply a filename and not
a directory in the uploadURL parameter.
I'd modify your handler to something like and see if
that works:
--
on dragdrop
  put empty into fld "LogData"
  --> you should only have to set the log field once
  libUrlSetLogField the long id of fld "LogData"
  put the dragdata into tFilePath
  if tFilePath is not empty then
set the itemDelimiter to "/"
put item -1 of tFilePath into tFileName
put
"ftp://username:[EMAIL PROTECTED]/drop/" & \
tFileName into tUploadURL
libURLftpUploadFile tFilePath, tUploadURL
  else beep
end dragdrop
--

Hope this helped,

Jan Schenkel.

Quartam Reports for Revolution


=
"As we grow older, we grow both wiser and more foolish at the same
time."  (La Rochefoucauld)




__ 
Yahoo! for Good - Make a difference this year. 
http://brand.yahoo.com/cybergivingweek2005/
___
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: Data Input History

2005-12-22 Thread Jeff Honken
Sarah,
  Thanks for the help.  I wasn't thinking along those lines so you've
put me back on path.  Jeff

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Sarah
Reichelt
Sent: Thursday, December 22, 2005 3:41 PM
To: How to use Revolution
Subject: Re: Data Input History

> I've been trying to figure out how to destroy the data I've input into
a
> field after I close the stack.  I'm closing the stack using:
>
> set the destroyStack of this stack to true
>   close stack "ProvWiz"
>
> When I open the stack back up the data that I've input is still there.
> How do I destroy the data in the fields when I close the stack?

destroyStack is a property that only needs to be set once. It means
that closing a stack removes it from memory. It does not mean that any
data entered is to be destroyed. If the stack has been saved, the data
entered before the save will still be there next time you open the
stack.

If you are making a standalone, and do not set the substacks to be
separate files, no data will be saved, so that may be all you need.

However when working in the Rev environment, and before building you
will need to empty the data fields. Many people write a handler called
"stripNship" or some variation of that which sets the stack the way
you want it to be when first opened. It can empty fields, set button
hilites etc and you can run it when closing the stack, before building
or on preOpenStack.

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



___
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


Data Input History

2005-12-22 Thread Jeff Honken
I've been trying to figure out how to destroy the data I've input into a
field after I close the stack.  I'm closing the stack using:

set the destroyStack of this stack to true
  close stack "ProvWiz"

When I open the stack back up the data that I've input is still there. 
How do I destroy the data in the fields when I close the stack?  


___
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: Date Validation and MatchText

2005-12-22 Thread Jeff Honken
Thanks, That works great.  I also appreciate your explanation on how
it's working.  I worked with it for some time and couldn't figure out
the pattern on how the pattern matching worked.  Jeff

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Alex
Tweedly
Sent: Thursday, December 22, 2005 1:04 PM
To: How to use Revolution
Subject: Re: Date Validation and MatchText

Jeff Honken wrote:

>Thanks for the reply Ken that does work well.  I'd like to try to
>restrict the date to a pattern of mm/dd/.  Using "date" allow dates
>such as mm/d/y.  Do you know how to parse the date string to match
>mm/dd/ only?
>
>  
>
The matchText string in your earlier email would ensure that it is in 
the right format and approximately a correct date (e.g. it would have 
allowed 02/31/1971). That in conjunction with "is a date" should give 
you everything you want 

function CheckDate pDateToCheck
  if pDateToCheck is a date and \
matchText(pDateToCheck,"(0[1-9]|1[0-2])/(0[1-9]|[12][0-9]|3[01])/([0-9][
0-9][0-9][0-9])") \
  then
return pDateToCheck
  else
return "Bad date"
  end if
end CheckDate


You originally said "...  but I'm having a hard time figuring out how 
it's working." Here's a quick explanation

matchText checks a string against a regular expression. The reg
expression

"(0[1-9]|1[0-2])/(0[1-9]|[12][0-9]|3[01])/([0-9][0-9][0-9][0-9])"
can be described as

0 followed by any digit between 1 and 9 (i.e. 01, 02, 03, 04, 05, 06,
07, 08, 09)
OR
1 followed by digit between 0 and 2 (i.e. 10, 11, 12)

(that's the  month taken care of)

followed by a "/"

followed by 
0 followed by any digit between 1 and 9 (i.e. 01, 02, 03, 04, 05, 06,
07, 08, 09)
OR
1 or 2 followed by digit between 0 and 9 (i.e. 10  29)
OR 
3 followed by 0 or 1 or 2

(the day of the month)


followed by a "/"

followed by 4 digits

(that's the year done)

In this case, provided you're doing the "is a date" check which will 
catch invalid numbers for month and day, you could simplify the reg expr
to
"\d{2}/\d{2}/\d{4}"

\d means any digit
{2} means "the previous group must occur 2 times"


-- 
Alex Tweedly   http://www.tweedly.net



-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.371 / Virus Database: 267.14.3/209 - Release Date:
21/12/2005

___
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


Date Validation and MatchText

2005-12-22 Thread Jeff Honken
Thanks for the reply Ken that does work well.  I'd like to try to
restrict the date to a pattern of mm/dd/.  Using "date" allow dates
such as mm/d/y.  Do you know how to parse the date string to match
mm/dd/ only?

> I've been trying to write some error coding for a text field
containing
> a date.  I found some old code that someone wrote in the past but I'm
> having a hard time figuring out how it's working.  I'm trying to get
the
> code so if the Year is 5 digits it gets flagged as a bad date.  The
> pattern I'm trying to check is:  mm/dd/

You should be able to just say:

  if pDateToCheck is a date then  ...

No need to run a function unless you are planning on checking a bunch of
other date formats that aren't support by the "is a date" approach (like
MySQL's -MM-DD)...


Ken Ray
Sons of Thunder Software
Web site: http://www.sonsothunder.com/
Email: [EMAIL PROTECTED]





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


Date Valadation and MatchText

2005-12-21 Thread Jeff Honken
I've been trying to write some error coding for a text field containing
a date.  I found some old code that someone wrote in the past but I'm
having a hard time figuring out how it's working.  I'm trying to get the
code so if the Year is 5 digits it gets flagged as a bad date.  The
pattern I'm trying to check is:  mm/dd/  

Here's the Code:

function CheckDate pDateToCheck
  if
matchText(pDateToCheck,"(0[1-9]|1[0-2])/(0[1-9]|[12][0-9]|3[01])/([0-9][
0-9][0-9][0-9])") is true
  then
return pDateToCheck
  else
return "Bad date"
  end if
end CheckDate




___
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