Re: [OT] More Apple Foolishness

2011-07-30 Thread Andy Henshaw
Yes,  its sound great!!!

I think it would take me slightly more than an hour

Andy

On 30 Jul 2011, at 01:47, J. Landman Gay wrote:

 On 7/29/11 7:25 PM, Mark Wieder wrote:
 Jacque-
 
 Friday, July 29, 2011, 1:58:48 PM, you wrote:
 
 It works with any server and with Dropbox,
 and you don't even need to leave LiveCode to use it.
 
 Sweet! Want.
 
 
 No sweat. Give me the weekend to fix it up.
 
 -- 
 Jacqueline Landman Gay | jac...@hyperactivesw.com
 HyperActive Software   | http://www.hyperactivesw.com
 
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode


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


Re: Where does survive the inventive user ?

2011-07-30 Thread Richard Gaskin

Kay C Lan wrote:


I look in my wallet an there are a couple of notes and a couple of plastic
cards. The notes represent about 0.01% of iMoney I have in my account. I can
use those plastic cards to access the BankCloud and if the strangers at the
Bank are willing, the machine will give me more real money on a 1 to 1
reduction of my iMoney. Sometimes I don't even have to change iMoney into
real money, I just go to the shop and transfer iMoney from my account to
their iMoney account which all resides in the same BankCloud. Of course I
have to pay a 'rental' fee for the privilege of being able to access my
iMoney at virtually any time or shop. But then again, if a stranger at the
bank goes all Nick Leeson on me, the bank will collapse and my iMoney in the
BankCloud will disappear like the early morning stratocumulus, leaving me
without any real money.

Strange what we think we'd never do.


Or even stranger, we could trust our money to so-called professional 
money managers who mishandle it so badly that the world economy is 
brought to the edge of collapse. ;)


For all of our concerns about online security, one of the most common 
methods is still the most old-school:


Every day millions of us go to restaurants where we hand our credit card 
to a stranger who takes it out of the room for several minutes. 
Ostensibly they're merely processing the transaction, but of course we 
have no way to know exactly what happens while the card is out of the room.


I do a lot of online banking, but the only instance of identity theft 
I've experienced was from numbers stolen off a card I only use in the 
physical world.


Further irony:  most old-school modems used at restaurants and retail 
stores transmit without encryption over standard phone lines.  While 
those lines aren't exposed to the Internet, they are vulnerable to any 
physical interception of traffic, such as tapping the local trunk.


And here in the States we have a growing problem with fake or modified 
ATMs that skim card data.


Remember:  just because you're paranoid doesn't mean they aren't out to 
get you. :)


--
 Richard Gaskin
 Fourth World
 LiveCode training and consulting: http://www.fourthworld.com
 Webzine for LiveCode developers: http://www.LiveCodeJournal.com
 LiveCode Journal blog: http://LiveCodejournal.com/blog.irv

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


Re: Path to start using a stack in On-Rev?

2011-07-30 Thread Michael Kann
Bruce,

Not sure about the path, but there is one other item to consider. If your web 
page is good_page.irev then the old 3.5 engine will be used, so you aren't 
going to connect to the stack no matter where it is. 

Try

file: good_page.lc

within that page you can use either

?lc
put good stuff here
?

or

?irev

put good stuff here

?

The file name seems to be the determining factor.

Mike





--- On Fri, 7/29/11, Bruce Pokras bruc...@comcast.net wrote:

From: Bruce Pokras bruc...@comcast.net
Subject: Path to start using a stack in On-Rev?
To: How to use LiveCode use-livecode@lists.runrev.com
Date: Friday, July 29, 2011, 8:41 PM

If the stack and irev HTML page are in the same folder, what is the path to the 
stack for the start using command? Is it simply:

start using stack Test_Stack.livecode

Or is it something more complicated than that? I am testing by putting a simple 
function called respond in the stack file's stack script, but so far no 
response in the .irev page when it is supposed to run the command put 
respond().

Am I missing something completely?

Regards,

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


Re: Where does survive the inventive user ?

2011-07-30 Thread Peter Brigham MD
On Jul 30, 2011, at 10:42 AM, Richard Gaskin wrote:

 Kay C Lan wrote:
 
 I look in my wallet an there are a couple of notes and a couple of plastic
 cards. The notes represent about 0.01% of iMoney I have in my account. I can
 use those plastic cards to access the BankCloud and if the strangers at the
 Bank are willing, the machine will give me more real money on a 1 to 1
 reduction of my iMoney. Sometimes I don't even have to change iMoney into
 real money, I just go to the shop and transfer iMoney from my account to
 their iMoney account which all resides in the same BankCloud. Of course I
 have to pay a 'rental' fee for the privilege of being able to access my
 iMoney at virtually any time or shop. But then again, if a stranger at the
 bank goes all Nick Leeson on me, the bank will collapse and my iMoney in the
 BankCloud will disappear like the early morning stratocumulus, leaving me
 without any real money.
 
 Strange what we think we'd never do.
 
 Or even stranger, we could trust our money to so-called professional money 
 managers who mishandle it so badly that the world economy is brought to the 
 edge of collapse. ;)

I've always wondered why they're called brokers ... I think if I were in that 
line of work I'd find another way of describing it.

-- Peter

Peter M. Brigham
pmb...@gmail.com
http://home.comcast.net/~pmbrig



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


Re: Path to start using a stack in On-Rev?

2011-07-30 Thread Michael Kann
A little mistake in the last post:

?irev  IS WRONG   --- change to ?rev



--- On Sat, 7/30/11, Michael Kann mikek...@yahoo.com wrote:

From: Michael Kann mikek...@yahoo.com
Subject: Re: Path to start using a stack in On-Rev?
To: How to use LiveCode use-livecode@lists.runrev.com
Date: Saturday, July 30, 2011, 10:16 AM

Bruce,

Not sure about the path, but there is one other item to consider. If your web 
page is good_page.irev then the old 3.5 engine will be used, so you aren't 
going to connect to the stack no matter where it is. 

Try

file: good_page.lc

within that page you can use either

?lc
put good stuff here
?

or

?irev

put good stuff here

?

The file name seems to be the determining factor.

Mike





--- On Fri, 7/29/11, Bruce Pokras bruc...@comcast.net wrote:

From: Bruce Pokras bruc...@comcast.net
Subject: Path to start using a stack in On-Rev?
To: How to use LiveCode use-livecode@lists.runrev.com
Date: Friday, July 29, 2011, 8:41 PM

If the stack and irev HTML page are in the same folder, what is the path to the 
stack for the start using command? Is it simply:

start using stack Test_Stack.livecode

Or is it something more complicated than that? I am testing by putting a simple 
function called respond in the stack file's stack script, but so far no 
response in the .irev page when it is supposed to run the command put 
respond().

Am I missing something completely?

Regards,

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


RE: Where does survive the inventive user ?

2011-07-30 Thread John Dixon

:-)

 
 I've always wondered why they're called brokers ... I think if I were in 
 that line of work I'd find another way of describing it.
 
 -- Peter
 
 Peter M. Brigham
 pmb...@gmail.com
 http://home.comcast.net/~pmbrig

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


Re: Where does survive the inventive user ?

2011-07-30 Thread Roger Eller
On Sat, Jul 30, 2011 at 10:42 AM, Richard Gaskin ambassa...@fourthworld.com
 wrote:

 Kay C Lan wrote:

  I look in my wallet an there are a couple of notes and a couple of plastic
 cards. The notes represent about 0.01% of iMoney I have in my account. I
 can
 use those plastic cards to access the BankCloud and if the strangers at
 the
 Bank are willing, the machine will give me more real money on a 1 to 1
 reduction of my iMoney. Sometimes I don't even have to change iMoney into
 real money, I just go to the shop and transfer iMoney from my account to
 their iMoney account which all resides in the same BankCloud. Of course I
 have to pay a 'rental' fee for the privilege of being able to access my
 iMoney at virtually any time or shop. But then again, if a stranger at the
 bank goes all Nick Leeson on me, the bank will collapse and my iMoney in
 the
 BankCloud will disappear like the early morning stratocumulus, leaving me
 without any real money.

 Strange what we think we'd never do.


 Or even stranger, we could trust our money to so-called professional money
 managers who mishandle it so badly that the world economy is brought to the
 edge of collapse. ;)



This video is a very informative explanation of where money 'actually' comes
from.  It's shocking if you've not seen it before.

http://video.google.com/videoplay?docid=-2550156453790090544#

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


RE: LC Summer Academy

2011-07-30 Thread Mark Smith
The Summer Academy was incredibly useful (and hats off to Elanor for being such 
a great presenter). A ton of information was presented in the 7 weeks, so much 
so that I had trouble keeping track of it all and definitely wanted  a way to 
be able to go back and review it later.  So I created the Summer Academy '11 
Index...  over 600 topical entries covering all of the material presented, 
including references to many livecode commands and tutorial links, and all 
keyword searchable. I've posted it to the RevOnline user samples (I think you 
can find it by searching for Index or Academy). 

Here are a couple of tips to help get you started: if you want to search for 
everything presented in a given week type Wk followed by the week number. If 
you want to know just what was presented in the Webinar portion, type Wk?w  and 
replace ? with the week number you are interested in. This gives a kind of 
minute by minute overview of the webinar presentation. Interested in knowing 
what links where discussed? search for http. 

For those of you who attended, and for those of you interested in knowing what 
was covered I hope this tool is useful.

Cheers,

-- Mark



From: use-livecode-boun...@lists.runrev.com 
[use-livecode-boun...@lists.runrev.com] On Behalf Of Colin Holgate 
[co...@verizon.net]
Sent: Thursday, April 21, 2011 7:19 PM
To: How to use LiveCode
Subject: Re: LC Summer Academy

On Apr 21, 2011, at 7:36 PM, Andre Garzia wrote:

 I don't know what we're talking about, anyone can provide a link?


http://www.runrev.com/newsletter/april/issue109/newsletter1.php



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

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


Re: [ANN] LiveCode.tv event #34

2011-07-30 Thread Björnke von Gierke
One hour to go... approximately.

Remember that John Caig was so kind to step up as second presenter.

see you in chatrev.

On 29 Jul 2011, at 14:57, Björnke von Gierke wrote:

 Tomorrows event will be of reduced scope due to a lack of volunteers. All 
 applicants welcome.
 
 I will introduce the release of BvG Docu 2. 
 
 Join chatrev at 20:00 CET. Go to 
 http://bjoernke.com/chatrev/ 
 or enter in the message box:
 go stack URL “http://bjoernke.com/chatrev/chatrev1.3b3.rev”
 
 Sat. 22:00 Moscow
 Sat. 14:00 New York
 Sat. 11:00 Los Angeles
 Sun. 2:00 Beijing
 
 See http://livecode.tv/ for more info.
 
 Mail me to do your presentation, it doesn't matter if you do one in 4 months 
 or right now.
 Björnke
 
 
 
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode


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


Re: Path to start using a stack in On-Rev?

2011-07-30 Thread Bruce Pokras
Mike, thanks very much. Changing the HTML file's extension from .irev to .lc 
worked. The web page is now displaying the result of the function that is in 
the stack script of my test stack file. I had not seen anything about the file 
extension being critical to functionality on On-Rev.

However, here is another mystery. Now that my HTML file has the .lc extension, 
the On-Rev app does not recognize it! I have to use a text editor to edit it, 
or keep it as .irev and change it to .lc at deployment. Do you know why that 
should be?

Regards,

Bruce

On Jul 30, 2011, at 11:21 AM, Michael Kann wrote:

 A little mistake in the last post:
 
 ?irev  IS WRONG   --- change to ?rev
 
 
 
 --- On Sat, 7/30/11, Michael Kann mikek...@yahoo.com wrote:
 
 From: Michael Kann mikek...@yahoo.com
 Subject: Re: Path to start using a stack in On-Rev?
 To: How to use LiveCode use-livecode@lists.runrev.com
 Date: Saturday, July 30, 2011, 10:16 AM
 
 Bruce,
 
 Not sure about the path, but there is one other item to consider. If your web 
 page is good_page.irev then the old 3.5 engine will be used, so you aren't 
 going to connect to the stack no matter where it is. 
 
 Try
 
 file: good_page.lc
 
 within that page you can use either
 
 ?lc
 put good stuff here
 ?
 
 or
 
 ?irev
 
 put good stuff here
 
 ?
 
 The file name seems to be the determining factor.
 
 Mike
 
 
 
 
 
 --- On Fri, 7/29/11, Bruce Pokras bruc...@comcast.net wrote:
 
 From: Bruce Pokras bruc...@comcast.net
 Subject: Path to start using a stack in On-Rev?
 To: How to use LiveCode use-livecode@lists.runrev.com
 Date: Friday, July 29, 2011, 8:41 PM
 
 If the stack and irev HTML page are in the same folder, what is the path to 
 the stack for the start using command? Is it simply:
 
 start using stack Test_Stack.livecode
 
 Or is it something more complicated than that? I am testing by putting a 
 simple function called respond in the stack file's stack script, but so far 
 no response in the .irev page when it is supposed to run the command put 
 respond().
 
 Am I missing something completely?
 
 Regards,
 
 Bruce Pokras
 Blazing Dawn Software
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode


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


Re: Path to start using a stack in On-Rev?

2011-07-30 Thread Michael Kann
Bruce,

I'm not sure why the on-rev app doesn't approve of .lc yet. There is probably a 
line in a preferences file somewhere that hasn't been changed yet.

Mike

--- On Sat, 7/30/11, Bruce Pokras bruc...@comcast.net wrote:

From: Bruce Pokras bruc...@comcast.net
Subject: Re: Path to start using a stack in On-Rev?
To: How to use LiveCode use-livecode@lists.runrev.com
Date: Saturday, July 30, 2011, 12:22 PM

Mike, thanks very much. Changing the HTML file's extension from .irev to .lc 
worked. The web page is now displaying the result of the function that is in 
the stack script of my test stack file. I had not seen anything about the file 
extension being critical to functionality on On-Rev.

However, here is another mystery. Now that my HTML file has the .lc extension, 
the On-Rev app does not recognize it! I have to use a text editor to edit it, 
or keep it as .irev and change it to .lc at deployment. Do you know why that 
should be?

Regards,

Bruce

On Jul 30, 2011, at 11:21 AM, Michael Kann wrote:

 A little mistake in the last post:
 
 ?irev  IS WRONG   --- change to ?rev
 
 
 
 --- On Sat, 7/30/11, Michael Kann mikek...@yahoo.com wrote:
 
 From: Michael Kann mikek...@yahoo.com
 Subject: Re: Path to start using a stack in On-Rev?
 To: How to use LiveCode use-livecode@lists.runrev.com
 Date: Saturday, July 30, 2011, 10:16 AM
 
 Bruce,
 
 Not sure about the path, but there is one other item to consider. If your web 
 page is good_page.irev then the old 3.5 engine will be used, so you aren't 
 going to connect to the stack no matter where it is. 
 
 Try
 
 file: good_page.lc
 
 within that page you can use either
 
 ?lc
 put good stuff here
 ?
 
 or
 
 ?irev
 
 put good stuff here
 
 ?
 
 The file name seems to be the determining factor.
 
 Mike
 
 
 
 
 
 --- On Fri, 7/29/11, Bruce Pokras bruc...@comcast.net wrote:
 
 From: Bruce Pokras bruc...@comcast.net
 Subject: Path to start using a stack in On-Rev?
 To: How to use LiveCode use-livecode@lists.runrev.com
 Date: Friday, July 29, 2011, 8:41 PM
 
 If the stack and irev HTML page are in the same folder, what is the path to 
 the stack for the start using command? Is it simply:
 
 start using stack Test_Stack.livecode
 
 Or is it something more complicated than that? I am testing by putting a 
 simple function called respond in the stack file's stack script, but so far 
 no response in the .irev page when it is supposed to run the command put 
 respond().
 
 Am I missing something completely?
 
 Regards,
 
 Bruce Pokras
 Blazing Dawn Software
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode


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


User Interface Question

2011-07-30 Thread Pete
Wondering if anyone has any thoughts on a couple of user interface
questions.

I'm providing a popup contextual menu when the user right-clicks on a
datagrid.  I'm also providing the ability to re-order rows in a datagrid by
dragging and dropping them.  The common thread between these two functions
is that there is no on-screen indication that they exist.  Popup menus are
invisible until they are invoked and drag and drop is equally invisible
until someone initiates it.

Are there any common methods for indicating to users that features like this
are available to them?

Pete
Molly's Revenge http://www.mollysrevenge.com
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: User Interface Question

2011-07-30 Thread Jeff Massung
For dragging, I'd go with handles on the left side of the datagrid that
have hand icon when you hover over them. They've become pretty ubiquitous on
webpages. For an example of what I mean:

http://jqueryui.com/demos/sortable/

As for a context menu, you be okay with just a tool-tip. People generally
try and right-click a lot for things they expect to be there. Otherwise,
again, go with something common to show that actions are available. For
example, and disclosure triangle on the far right of a UI widget is
typically clickable and will bring up a menu. Left-click will bring up your
context menu, and r-click anywhere will bring it up as well.

Jeff M.

On Sat, Jul 30, 2011 at 12:42 PM, Pete p...@mollysrevenge.com wrote:

 Wondering if anyone has any thoughts on a couple of user interface
 questions.

 I'm providing a popup contextual menu when the user right-clicks on a
 datagrid.  I'm also providing the ability to re-order rows in a datagrid by
 dragging and dropping them.  The common thread between these two functions
 is that there is no on-screen indication that they exist.  Popup menus are
 invisible until they are invoked and drag and drop is equally invisible
 until someone initiates it.

 Are there any common methods for indicating to users that features like
 this
 are available to them?

 Pete
 Molly's Revenge http://www.mollysrevenge.com
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your
 subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode

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


Re: User Interface Question

2011-07-30 Thread Pete
Thanks Jeff.  I'm trying to implement the cursor change and running into
some weirdness.

In the script of the datagrid, I have these two handlers:

   *on* mouseEnter

   *lock* cursor

   *set* the cursor to hand

*end* mouseEnter


*on* mouseLeave

   *unlock* cursor

*end* mouseLeave


This changes the cursor as expected and most of the time, it returns to the
correct cursor when I move the mouse away from the datagrid.  However, if I
move the cursor above the datagrid, the cursor stays as the hand and does
not return to any other image no matter where I move the mouse to.


This is the first time I've attempted to control the cursor so no doubt I'm
doing something wrong!


Pete
Molly's Revenge http://www.mollysrevenge.com




On Sat, Jul 30, 2011 at 11:48 AM, Jeff Massung mass...@gmail.com wrote:

 For dragging, I'd go with handles on the left side of the datagrid that
 have hand icon when you hover over them. They've become pretty ubiquitous
 on
 webpages. For an example of what I mean:

 http://jqueryui.com/demos/sortable/

 As for a context menu, you be okay with just a tool-tip. People generally
 try and right-click a lot for things they expect to be there. Otherwise,
 again, go with something common to show that actions are available. For
 example, and disclosure triangle on the far right of a UI widget is
 typically clickable and will bring up a menu. Left-click will bring up your
 context menu, and r-click anywhere will bring it up as well.

 Jeff M.

 On Sat, Jul 30, 2011 at 12:42 PM, Pete p...@mollysrevenge.com wrote:

  Wondering if anyone has any thoughts on a couple of user interface
  questions.
 
  I'm providing a popup contextual menu when the user right-clicks on a
  datagrid.  I'm also providing the ability to re-order rows in a datagrid
 by
  dragging and dropping them.  The common thread between these two
 functions
  is that there is no on-screen indication that they exist.  Popup menus
 are
  invisible until they are invoked and drag and drop is equally invisible
  until someone initiates it.
 
  Are there any common methods for indicating to users that features like
  this
  are available to them?
 
  Pete
  Molly's Revenge http://www.mollysrevenge.com
  ___
  use-livecode mailing list
  use-livecode@lists.runrev.com
  Please visit this url to subscribe, unsubscribe and manage your
  subscription preferences:
  http://lists.runrev.com/mailman/listinfo/use-livecode
 
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your
 subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode


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


Re: User Interface Question

2011-07-30 Thread William de Smet
Hi Pete,

After unlock you have to set the cursor to arrow,

Greetings,

William

-
Verstuurd vanaf mijn iPhone!

Op 30 jul. 2011 om 21:58 heeft Pete p...@mollysrevenge.com het volgende 
geschreven:

 Thanks Jeff.  I'm trying to implement the cursor change and running into
 some weirdness.
 
 In the script of the datagrid, I have these two handlers:
 
   *on* mouseEnter
 
   *lock* cursor
 
   *set* the cursor to hand
 
 *end* mouseEnter
 
 
 *on* mouseLeave
 
   *unlock* cursor
 
 *end* mouseLeave
 
 
 This changes the cursor as expected and most of the time, it returns to the
 correct cursor when I move the mouse away from the datagrid.  However, if I
 move the cursor above the datagrid, the cursor stays as the hand and does
 not return to any other image no matter where I move the mouse to.
 
 
 This is the first time I've attempted to control the cursor so no doubt I'm
 doing something wrong!
 
 
 Pete
 Molly's Revenge http://www.mollysrevenge.com
 
 
 
 
 On Sat, Jul 30, 2011 at 11:48 AM, Jeff Massung mass...@gmail.com wrote:
 
 For dragging, I'd go with handles on the left side of the datagrid that
 have hand icon when you hover over them. They've become pretty ubiquitous
 on
 webpages. For an example of what I mean:
 
 http://jqueryui.com/demos/sortable/
 
 As for a context menu, you be okay with just a tool-tip. People generally
 try and right-click a lot for things they expect to be there. Otherwise,
 again, go with something common to show that actions are available. For
 example, and disclosure triangle on the far right of a UI widget is
 typically clickable and will bring up a menu. Left-click will bring up your
 context menu, and r-click anywhere will bring it up as well.
 
 Jeff M.
 
 On Sat, Jul 30, 2011 at 12:42 PM, Pete p...@mollysrevenge.com wrote:
 
 Wondering if anyone has any thoughts on a couple of user interface
 questions.
 
 I'm providing a popup contextual menu when the user right-clicks on a
 datagrid.  I'm also providing the ability to re-order rows in a datagrid
 by
 dragging and dropping them.  The common thread between these two
 functions
 is that there is no on-screen indication that they exist.  Popup menus
 are
 invisible until they are invoked and drag and drop is equally invisible
 until someone initiates it.
 
 Are there any common methods for indicating to users that features like
 this
 are available to them?
 
 Pete
 Molly's Revenge http://www.mollysrevenge.com
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your
 subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode
 
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your
 subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode
 
 
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode

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


Re: User Interface Question

2011-07-30 Thread Pete
I tried that - didn't make any difference.  The cursor returns to arrow
automatically with the code I have, except when I move the mouse above the
datagrid.
Pete
Molly's Revenge http://www.mollysrevenge.com




On Sat, Jul 30, 2011 at 1:05 PM, William de Smet williamdes...@gmail.comwrote:

 Hi Pete,

 After unlock you have to set the cursor to arrow,

 Greetings,

 William

 -
 Verstuurd vanaf mijn iPhone!

 Op 30 jul. 2011 om 21:58 heeft Pete p...@mollysrevenge.com het volgende
 geschreven:

  Thanks Jeff.  I'm trying to implement the cursor change and running into
  some weirdness.
 
  In the script of the datagrid, I have these two handlers:
 
*on* mouseEnter
 
*lock* cursor
 
*set* the cursor to hand
 
  *end* mouseEnter
 
 
  *on* mouseLeave
 
*unlock* cursor
 
  *end* mouseLeave
 
 
  This changes the cursor as expected and most of the time, it returns to
 the
  correct cursor when I move the mouse away from the datagrid.  However, if
 I
  move the cursor above the datagrid, the cursor stays as the hand and does
  not return to any other image no matter where I move the mouse to.
 
 
  This is the first time I've attempted to control the cursor so no doubt
 I'm
  doing something wrong!
 
 
  Pete
  Molly's Revenge http://www.mollysrevenge.com
 
 
 
 
  On Sat, Jul 30, 2011 at 11:48 AM, Jeff Massung mass...@gmail.com
 wrote:
 
  For dragging, I'd go with handles on the left side of the datagrid
 that
  have hand icon when you hover over them. They've become pretty
 ubiquitous
  on
  webpages. For an example of what I mean:
 
  http://jqueryui.com/demos/sortable/
 
  As for a context menu, you be okay with just a tool-tip. People
 generally
  try and right-click a lot for things they expect to be there. Otherwise,
  again, go with something common to show that actions are available. For
  example, and disclosure triangle on the far right of a UI widget is
  typically clickable and will bring up a menu. Left-click will bring up
 your
  context menu, and r-click anywhere will bring it up as well.
 
  Jeff M.
 
  On Sat, Jul 30, 2011 at 12:42 PM, Pete p...@mollysrevenge.com wrote:
 
  Wondering if anyone has any thoughts on a couple of user interface
  questions.
 
  I'm providing a popup contextual menu when the user right-clicks on a
  datagrid.  I'm also providing the ability to re-order rows in a
 datagrid
  by
  dragging and dropping them.  The common thread between these two
  functions
  is that there is no on-screen indication that they exist.  Popup menus
  are
  invisible until they are invoked and drag and drop is equally invisible
  until someone initiates it.
 
  Are there any common methods for indicating to users that features like
  this
  are available to them?
 
  Pete
  Molly's Revenge http://www.mollysrevenge.com
  ___
  use-livecode mailing list
  use-livecode@lists.runrev.com
  Please visit this url to subscribe, unsubscribe and manage your
  subscription preferences:
  http://lists.runrev.com/mailman/listinfo/use-livecode
 
  ___
  use-livecode mailing list
  use-livecode@lists.runrev.com
  Please visit this url to subscribe, unsubscribe and manage your
  subscription preferences:
  http://lists.runrev.com/mailman/listinfo/use-livecode
 
 
  ___
  use-livecode mailing list
  use-livecode@lists.runrev.com
  Please visit this url to subscribe, unsubscribe and manage your
 subscription preferences:
  http://lists.runrev.com/mailman/listinfo/use-livecode

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


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


Re: User Interface Question

2011-07-30 Thread Mark Schonewille
Hi Pete,

Never offer a popup menu as the only way to access a feature. Put your popup 
menu into the menubar and enable the menu items in those situations when the 
user might as well click on the objects to show the popup menu. Show the same 
menu, or the essential menu items of it, in the optional popup menu.

--
Best regards,

Mark Schonewille

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

What does that error mean? Buy LiveCodeErrors for iPhone now http://qery.us/v4 
A must-have for LiveCode programmers.

On 30 jul 2011, at 20:42, Pete wrote:

 Wondering if anyone has any thoughts on a couple of user interface
 questions.
 
 I'm providing a popup contextual menu when the user right-clicks on a
 datagrid.  I'm also providing the ability to re-order rows in a datagrid by
 dragging and dropping them.  The common thread between these two functions
 is that there is no on-screen indication that they exist.  Popup menus are
 invisible until they are invoked and drag and drop is equally invisible
 until someone initiates it.
 
 Are there any common methods for indicating to users that features like this
 are available to them?
 
 Pete
 Molly's Revenge http://www.mollysrevenge.com



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


Re: User Interface Question

2011-07-30 Thread Pete
Hi Mark,
Yes, that sound like good advice.  In fact, I just read the Apple HIG about
contextual menus and they recommend the same approach, except they recommend
the use of the standard Apple Action menu rather than a menubar entry.

Pete
Molly's Revenge http://www.mollysrevenge.com




On Sat, Jul 30, 2011 at 1:13 PM, Mark Schonewille 
m.schonewi...@economy-x-talk.com wrote:

 Hi Pete,

 Never offer a popup menu as the only way to access a feature. Put your
 popup menu into the menubar and enable the menu items in those situations
 when the user might as well click on the objects to show the popup menu.
 Show the same menu, or the essential menu items of it, in the optional popup
 menu.

 --
 Best regards,

 Mark Schonewille

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

 What does that error mean? Buy LiveCodeErrors for iPhone now
 http://qery.us/v4 A must-have for LiveCode programmers.

 On 30 jul 2011, at 20:42, Pete wrote:

  Wondering if anyone has any thoughts on a couple of user interface
  questions.
 
  I'm providing a popup contextual menu when the user right-clicks on a
  datagrid.  I'm also providing the ability to re-order rows in a datagrid
 by
  dragging and dropping them.  The common thread between these two
 functions
  is that there is no on-screen indication that they exist.  Popup menus
 are
  invisible until they are invoked and drag and drop is equally invisible
  until someone initiates it.
 
  Are there any common methods for indicating to users that features like
 this
  are available to them?
 
  Pete
  Molly's Revenge http://www.mollysrevenge.com



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


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


[ANN] Data Grid Helper 1.3.5 Update

2011-07-30 Thread zryip theSlug
Dear LC and DGH users,


A new update for DGH is available. This new version has the following
fix and changes:

Fix:
After opening the behaviors or the columns topics, some others
properties values could appear locked and with an inappropriated
tooltip.

Changes:
1. All the DGH's substacks are now prefixed by DGH_ to insure
compatibility with possible existing projects.
2. A new window allows you to send us any unexpected errors.
3. Navigation and selection of a property value is now possible by
using the keyboard:
- Hit tabkey to edit the next text property. Use the shiftkey
modifier to edit the previous text property.
- Hit return or enter for editing a property, or for opening the
content of a menu.
- Hit esc to cancel the edition.
4. Column builder preview: selecting a column will now select the
column header and it's content.

If you have not tried DGH yet, a trial version free for 30 days can be
downloaded here:
http://www.aslugontheroad.com/index.php?option=com_phocadownloadview=categoryid=12:trialItemid=63

You can also reach the Data Grid Helper plugin on the LiveCode Marketplace:
http://www.runrev.com/store/product/data-grid-helper-1-2-0/

Remember, LiveCode has a special THREEFORTWO offer, which will be
closed very shortly:
http://www.runrev.com/newsletter/july/issue115/newsletter2.php?a=NWS115


Best regards,
-- 
-Zryip TheSlug- wish you the best! 8)
http://www.aslugontheroad.co.cc

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


using stacks with on-rev

2011-07-30 Thread Martin Koob
Now that on-rev's engine is upgraded to 4.6.3 I thought I would try the
'start using stack' command.

I created a simple stack with a couple of functions in it and I uploaded to
the directory where my index.irev page is.

I put the following command in my index.irev file

start using stack libstackmain.rev

When this page loads it stops at the above line,  it displays no error
message.

I also tried using a different extension for the stack file
start using stack libstackmain.livecode
I got the same result.

Are stacks supported on on-rev?

If so do I have the path to stack wrong?  What is it relative to?

Any other ideas how to get this working?

Thanks

Martin





--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/using-stacks-with-on-rev-tp3706864p3706864.html
Sent from the Revolution - User mailing list archive at Nabble.com.

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


Re: Getting someone's age from dob and current year

2011-07-30 Thread Admin
  

Hello all, 

I need to figure out someone's age.

I have their date
of birth and I have today's date. How do I get the end result. My math
skills SUCK.

Here's my code (loaded in from the database with a SELECT
statement):

put item 7 of myLine into dobMonth
put item 8 of myLine
into dobDay
put item 9 of myLine into dobYear
put chartonum(dobYear)
into dobYearNum
put the long system date into field TodayDate

I
figured I would subtract this year from the dobyear and get the age - am
I right? How would I do this if I am?

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


Re: carrying a global variable from stack to sub stack

2011-07-30 Thread Admin
  

Hello all, 

How do you carry a global variable from one stack to a
substack? 

I have this set of commands on every page of every stack in
my project: 

on opencard
 --Create a global variable for the db
 global
dbID
 global curUserID
 global UN

 put numtochar(39) into SQ

I then
proceed to login to the database (works fine normally) and then access
whatever data I need.

I just created a substack called CV with three
pages - pgCV1, pgCV2 and pgCV3

I need the login credentials of the user
to carry over so the fields on these pages can be populated with the
existing data on the database.

The important variable is dbID and
curUserID

What do I need to do, other than the global command, to make
this happen?

Mike

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


RE: carrying a global variable from stack to sub stack

2011-07-30 Thread Slava Paperno
 How do you carry a global variable from one stack to a substack?

If you set a global variable in the main stack:

on preOpenStack
  global gMyName

  put Mike into gMyName
end preOpenStack

then in any card in any substack you can retrieve the value like so:

on openCard
   global gMyName
   answer gMyName --you will see Mike
end open Card

In other words, nothing needs to be done to carry a global variable from
one stack to another. All you have to do is declare it with the word
global in front.

S.

 
 I have this set of commands on every page of every stack in
 my project:
 
 on opencard
  --Create a global variable for the db
  global
 dbID
  global curUserID
  global UN
 
  put numtochar(39) into SQ
 
 I then
 proceed to login to the database (works fine normally) and then access
 whatever data I need.
 
 I just created a substack called CV with three
 pages - pgCV1, pgCV2 and pgCV3
 
 I need the login credentials of the user
 to carry over so the fields on these pages can be populated with the
 existing data on the database.
 
 The important variable is dbID and
 curUserID
 
 What do I need to do, other than the global command, to make
 this happen?
 
 Mike




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


Re: Path to start using a stack in On-Rev?

2011-07-30 Thread stephen barncard
I remember there was a setting in the client for that. Look in preferences
(the gear icon upper right)

sqb

On 30 July 2011 11:34, Michael Kann mikek...@yahoo.com wrote:

 Bruce,

 I'm not sure why the on-rev app doesn't approve of .lc yet. There is
 probably a line in a preferences file somewhere that hasn't been changed
 yet.

 Mike

 --- On Sat, 7/30/11, Bruce Pokras bruc...@comcast.net wrote:

 From: Bruce Pokras bruc...@comcast.net
 Subject: Re: Path to start using a stack in On-Rev?
 To: How to use LiveCode use-livecode@lists.runrev.com
 Date: Saturday, July 30, 2011, 12:22 PM

 Mike, thanks very much. Changing the HTML file's extension from .irev to
 .lc worked. The web page is now displaying the result of the function that
 is in the stack script of my test stack file. I had not seen anything about
 the file extension being critical to functionality on On-Rev.

 However, here is another mystery. Now that my HTML file has the .lc
 extension, the On-Rev app does not recognize it! I have to use a text editor
 to edit it, or keep it as .irev and change it to .lc at deployment. Do you
 know why that should be?

 Regards,

 Bruce

 On Jul 30, 2011, at 11:21 AM, Michael Kann wrote:

  A little mistake in the last post:
 
  ?irev  IS WRONG   --- change to ?rev
 
 
 
  --- On Sat, 7/30/11, Michael Kann mikek...@yahoo.com wrote:
 
  From: Michael Kann mikek...@yahoo.com
  Subject: Re: Path to start using a stack in On-Rev?
  To: How to use LiveCode use-livecode@lists.runrev.com
  Date: Saturday, July 30, 2011, 10:16 AM
 
  Bruce,
 
  Not sure about the path, but there is one other item to consider. If your
 web page is good_page.irev then the old 3.5 engine will be used, so you
 aren't going to connect to the stack no matter where it is.
 
  Try
 
  file: good_page.lc
 
  within that page you can use either
 
  ?lc
  put good stuff here
  ?
 
  or
 
  ?irev
 
  put good stuff here
 
  ?
 
  The file name seems to be the determining factor.
 
  Mike
 
 
 
 
 
  --- On Fri, 7/29/11, Bruce Pokras bruc...@comcast.net wrote:
 
  From: Bruce Pokras bruc...@comcast.net
  Subject: Path to start using a stack in On-Rev?
  To: How to use LiveCode use-livecode@lists.runrev.com
  Date: Friday, July 29, 2011, 8:41 PM
 
  If the stack and irev HTML page are in the same folder, what is the path
 to the stack for the start using command? Is it simply:
 
  start using stack Test_Stack.livecode
 
  Or is it something more complicated than that? I am testing by putting a
 simple function called respond in the stack file's stack script, but so
 far no response in the .irev page when it is supposed to run the command
 put respond().
 
  Am I missing something completely?
 
  Regards,
 
  Bruce Pokras
  Blazing Dawn Software
  ___
  use-livecode mailing list
  use-livecode@lists.runrev.com
  Please visit this url to subscribe, unsubscribe and manage your
 subscription preferences:
  http://lists.runrev.com/mailman/listinfo/use-livecode
  ___
  use-livecode mailing list
  use-livecode@lists.runrev.com
  Please visit this url to subscribe, unsubscribe and manage your
 subscription preferences:
  http://lists.runrev.com/mailman/listinfo/use-livecode
  ___
  use-livecode mailing list
  use-livecode@lists.runrev.com
  Please visit this url to subscribe, unsubscribe and manage your
 subscription preferences:
  http://lists.runrev.com/mailman/listinfo/use-livecode


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




-- 



Stephen Barncard
San Francisco Ca. USA

more about sqb  http://www.google.com/profiles/sbarncar
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: using stacks with on-rev

2011-07-30 Thread Michael Kann
Martin,

I couple posts after yours stephen barncard put the cherry on top of the Re: 
Path to start using a stack in On-Rev  thread. Check it out. Good luck.

Mike







--- On Sat, 7/30/11, Martin Koob mk...@rogers.com wrote:

From: Martin Koob mk...@rogers.com
Subject: using stacks with on-rev
To: use-revolut...@lists.runrev.com
Date: Saturday, July 30, 2011, 4:08 PM

Now that on-rev's engine is upgraded to 4.6.3 I thought I would try the
'start using stack' command.

I created a simple stack with a couple of functions in it and I uploaded to
the directory where my index.irev page is.

I put the following command in my index.irev file

start using stack libstackmain.rev

When this page loads it stops at the above line,  it displays no error
message.

I also tried using a different extension for the stack file
start using stack libstackmain.livecode
I got the same result.

Are stacks supported on on-rev?

If so do I have the path to stack wrong?  What is it relative to?

Any other ideas how to get this working?

Thanks

Martin





--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/using-stacks-with-on-rev-tp3706864p3706864.html
Sent from the Revolution - User mailing list archive at Nabble.com.

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


Re: using stacks with on-rev

2011-07-30 Thread stephen barncard
stacks work, only with some limitations.
These have been tested by me:
Custom properties work.
Create and name stacks works.
Reading fields sometimes works. Can't write back to them, and no htmltext.
Think of stacks for storage, not layout or graphics.

I just tried out Mark Smith's excellent id3 mp3 tag library stack, installed
with no changes and it works (on my custom livecode installation at
Dreamhost) just like the desktop. The scripts had failed before, because
they depend on custom properties.

Be sure to use the .lc suffix if you want version 4.6.3 running the script ,
this is how I guess how On-rev determines which version of the server will
be utilized.

On 30 July 2011 14:08, Martin Koob mk...@rogers.com wrote:

 Now that on-rev's engine is upgraded to 4.6.3 I thought I would try the
 'start using stack' command.

 I created a simple stack with a couple of functions in it and I uploaded to
 the directory where my index.irev page is.

 I put the following command in my index.irev file

 start using stack libstackmain.rev

 When this page loads it stops at the above line,  it displays no error
 message.

 I also tried using a different extension for the stack file
 start using stack libstackmain.livecode
 I got the same result.

 Are stacks supported on on-rev?

 If so do I have the path to stack wrong?  What is it relative to?

 Any other ideas how to get this working?

 Thanks

 Martin





 --
 View this message in context:
 http://runtime-revolution.278305.n4.nabble.com/using-stacks-with-on-rev-tp3706864p3706864.html
 Sent from the Revolution - User mailing list archive at Nabble.com.

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




-- 



Stephen Barncard
San Francisco Ca. USA

more about sqb  http://www.google.com/profiles/sbarncar
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Getting someone's age from dob and current year

2011-07-30 Thread Roger Eller
On Sat, Jul 30, 2011 at 5:20 PM, Admin wrote:



 Hello all,

 I need to figure out someone's age.

 I have their date
 of birth and I have today's date. How do I get the end result. My math
 skills SUCK.

 Here's my code (loaded in from the database with a SELECT
 statement):

 put item 7 of myLine into dobMonth
 put item 8 of myLine
 into dobDay
 put item 9 of myLine into dobYear
 put chartonum(dobYear)
 into dobYearNum
 put the long system date into field TodayDate

 I
 figured I would subtract this year from the dobyear and get the age - am
 I right? How would I do this if I am?

 Mike


Hey Mike, put this into a new button object.

on mouseUp
   put the date into tToday
   ask Enter the date of birth as dd/mm/yy
   put it into tBorn
   convert tToday to seconds
   convert tBorn to seconds
   put (tToday - tBorn) into tAge -- in seconds
   -- now do the math in tAge
   -- to determine how many years that is
   answer The age is  tAge  seconds old.  cr  cr \
   You didn't expect me to do all of the math, now did you? :)
end mouseUp

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


Re: User Interface Question

2011-07-30 Thread Jeff Massung
I never do mouse cursor changes in controls. I do all of them in the card.

on mouseMove px,py
  if px,py is within the rect of ... then
-- cursor A
  else if px,py is within the rect of ... then
-- cursor B
  else
-- put the cursor back to normal
  end if
end mouseMove

This makes it *much* easier to control what's shown when.

Jeff M.

On Sat, Jul 30, 2011 at 1:58 PM, Pete p...@mollysrevenge.com wrote:

 Thanks Jeff.  I'm trying to implement the cursor change and running into
 some weirdness.

 In the script of the datagrid, I have these two handlers:

   *on* mouseEnter

   *lock* cursor

   *set* the cursor to hand

 *end* mouseEnter


 *on* mouseLeave

   *unlock* cursor

 *end* mouseLeave


 This changes the cursor as expected and most of the time, it returns to the
 correct cursor when I move the mouse away from the datagrid.  However, if I
 move the cursor above the datagrid, the cursor stays as the hand and does
 not return to any other image no matter where I move the mouse to.


 This is the first time I've attempted to control the cursor so no doubt I'm
 doing something wrong!


 Pete
 Molly's Revenge http://www.mollysrevenge.com




 On Sat, Jul 30, 2011 at 11:48 AM, Jeff Massung mass...@gmail.com wrote:

  For dragging, I'd go with handles on the left side of the datagrid that
  have hand icon when you hover over them. They've become pretty ubiquitous
  on
  webpages. For an example of what I mean:
 
  http://jqueryui.com/demos/sortable/
 
  As for a context menu, you be okay with just a tool-tip. People generally
  try and right-click a lot for things they expect to be there. Otherwise,
  again, go with something common to show that actions are available. For
  example, and disclosure triangle on the far right of a UI widget is
  typically clickable and will bring up a menu. Left-click will bring up
 your
  context menu, and r-click anywhere will bring it up as well.
 
  Jeff M.
 
  On Sat, Jul 30, 2011 at 12:42 PM, Pete p...@mollysrevenge.com wrote:
 
   Wondering if anyone has any thoughts on a couple of user interface
   questions.
  
   I'm providing a popup contextual menu when the user right-clicks on a
   datagrid.  I'm also providing the ability to re-order rows in a
 datagrid
  by
   dragging and dropping them.  The common thread between these two
  functions
   is that there is no on-screen indication that they exist.  Popup menus
  are
   invisible until they are invoked and drag and drop is equally invisible
   until someone initiates it.
  
   Are there any common methods for indicating to users that features like
   this
   are available to them?
  
   Pete
   Molly's Revenge http://www.mollysrevenge.com
   ___
   use-livecode mailing list
   use-livecode@lists.runrev.com
   Please visit this url to subscribe, unsubscribe and manage your
   subscription preferences:
   http://lists.runrev.com/mailman/listinfo/use-livecode
  
  ___
  use-livecode mailing list
  use-livecode@lists.runrev.com
  Please visit this url to subscribe, unsubscribe and manage your
  subscription preferences:
  http://lists.runrev.com/mailman/listinfo/use-livecode
 
 
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your
 subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode

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


Re: Getting someone's age from dob and current year

2011-07-30 Thread Roger Eller
On Sat, Jul 30, 2011 at 5:20 PM, Admin wrote:


 I figured I would subtract this year from the dobyear and get the age - am
 I right? How would I do this if I am?

 Mike


I gotta start reading the whole message before I reply...

If you already have two 4-digit year values in variables, you can simply put
their difference into another variable (or container).
put (largYear - smallYear) into tAge

You can also say:
subtract smallYear from largeYear
answer largeYear -- which now becomes the age

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


RE: carrying a global variable from stack to sub stack

2011-07-30 Thread Admin
  

Thank you. 

The only place I did not have it was in my stack's
script with the openstack handler. 

Duh! 

Mike 

On Sat, 30 Jul 2011
17:34:58 -0400, Slava Paperno wrote: 

 How do you carry a global
variable from one stack to a substack?
 
 If you set a global variable
in the main stack:
 
 on preOpenStack
 global gMyName
 
 put Mike
into gMyName
 end preOpenStack
 
 then in any card in any substack
you can retrieve the value like so:
 
 on openCard
 global gMyName

answer gMyName --you will see Mike
 end open Card
 
 In other
words, nothing needs to be done to carry a global variable from
 one
stack to another. All you have to do is declare it with the word

global in front.
 
 S.
 
 I have this set of commands on every
page of every stack in my project: on opencard --Create a global
variable for the db global dbID global curUserID global UN put
numtochar(39) into SQ I then proceed to login to the database (works
fine normally) and then access whatever data I need. I just created a
substack called CV with three pages - pgCV1, pgCV2 and pgCV3 I need the
login credentials of the user to carry over so the fields on these pages
can be populated with the existing data on the database. The important
variable is dbID and curUserID What do I need to do, other than the
global command, to make this happen? Mike
 

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

http://lists.runrev.com/mailman/listinfo/use-livecode [2]

 


Links:
--
[1] mailto:use-livecode@lists.runrev.com
[2]
http://lists.runrev.com/mailman/listinfo/use-livecode
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Getting someone's age from dob and current year

2011-07-30 Thread Admin
  

Thank you. I am sure that will do it! 

Mike 

On Sat, 30 Jul 2011
20:16:44 -0400, Roger Eller wrote: 

 On Sat, Jul 30, 2011 at 5:20 PM,
Admin wrote:
 
 Hello all, I need to figure out someone's age. I have
their date of birth and I have today's date. How do I get the end
result. My math skills SUCK. Here's my code (loaded in from the database
with a SELECT statement): put item 7 of myLine into dobMonth put item 8
of myLine into dobDay put item 9 of myLine into dobYear put
chartonum(dobYear) into dobYearNum put the long system date into field
TodayDate I figured I would subtract this year from the dobyear and
get the age - am I right? How would I do this if I am? Mike
 
 Hey
Mike, put this into a new button object.
 
 on mouseUp
 put the date
into tToday
 ask Enter the date of birth as dd/mm/yy
 put it into
tBorn
 convert tToday to seconds
 convert tBorn to seconds
 put
(tToday - tBorn) into tAge -- in seconds
 -- now do the math in tAge

-- to determine how many years that is
 answer The age is  tAge 
seconds old.  cr  cr 
  You didn't expect me to do all of the
math, now did you? :)
 end mouseUp
 
 ˜Roger

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

http://lists.runrev.com/mailman/listinfo/use-livecode [2]

 


Links:
--
[1] mailto:use-livecode@lists.runrev.com
[2]
http://lists.runrev.com/mailman/listinfo/use-livecode
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: running an exe from a web server

2011-07-30 Thread Admin
  

Hi all, 

How to I run a .exe file or a mac executeable from a
button - the file of which is on a web server
(http://www.campstaffusa.com/newdb/upcc.exe)? 

I want to run a
self-extracting zip file that opens up a live code program to allow the
user to upload their picture to the database, since it will not allow
you to do that in the revlet online player. 

I have the program all
zipped up and it is now a self-extracting zip that will run the .exe
file upon automatically extracting. All I need to do is have the person
click the button and run the .exe file. 

I wish you could do that with
a live code app - compress everything into one file that can be run -
instead of needing the externals folder and any other .dll's. 

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


Re: Getting someone's age from dob and current year

2011-07-30 Thread Admin
  

Hi all - another one: 

I have a path stored in a MySQL database to
an image file. 

I have a page with a image control 

I know how to
SELECT the imagepath info and bring it into a variable, but how do I
then load that image into the image control (with proper proportions)? I
tried the obvious ways and 

nothing worked for me. 

The image control
is named imgCandidatePic (just a small 140x140 square). 

A sample path
would be http://www.server.com/userfiles/bear_harry/mypic.jpg for
example 

I need to get that picture into the image control when the
card loads (so in the card script using opencard). 

Thanks for your
help everyone. 

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


Re: Getting someone's age from dob and current year

2011-07-30 Thread Michael Kann
The following works:

put http://fake.com/fake.jpg; into k
set the filename of img 1 to k

To get the correct dimensions I guess you would have to find the dimensions of 
the online jpg, then make you img the same dimensions.

Just a thought.

Mike



--- On Sat, 7/30/11, Admin ad...@mfelkerco.com wrote:

From: Admin ad...@mfelkerco.com
Subject: Re: Getting someone's age from dob and current year
To: How to use LiveCode use-livecode@lists.runrev.com
Date: Saturday, July 30, 2011, 7:38 PM

  

Hi all - another one: 

I have a path stored in a MySQL database to
an image file. 

I have a page with a image control 

I know how to
SELECT the imagepath info and bring it into a variable, but how do I
then load that image into the image control (with proper proportions)? I
tried the obvious ways and 

nothing worked for me. 

The image control
is named imgCandidatePic (just a small 140x140 square). 

A sample path
would be http://www.server.com/userfiles/bear_harry/mypic.jpg for
example 

I need to get that picture into the image control when the
card loads (so in the card script using opencard). 

Thanks for your
help everyone. 

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


Re: using stacks with on-rev

2011-07-30 Thread Martin Koob
Thanks Mike and Stephen

So the answer is that the file has to have the .lc extension for the 4.6.3
engine to process it.   

Once I had the correct extension the line
start using stack libstackmain.rev
worked and I was able to call a function in the stack.

That is interesting that
.irev files are processed with the 3.5 engine
.lc files are processed with the 4.6.3 engine

I guess that keeps old sites from breaking.  I was afraid with the
transition to 4.6.3 that it may break an on-rev website that I have.   It
has been working fine though so I guess it is still running on the 3.5
engine.

Martin





--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/using-stacks-with-on-rev-tp3706864p3707069.html
Sent from the Revolution - User mailing list archive at Nabble.com.

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


Re: Path to start using a stack in On-Rev?

2011-07-30 Thread Martin Koob
Yes I found the setting to add lc as an irev type which allows me to edit it
in the on-rev client but when I select a file with the .lc extension the
'View online' and 'Debug' buttons are disabled. It seems to treat the file
as other plain text files except for the colourization.

Is debugging supported for 4.6.3?
Why would 'View online' not work?


Martin

--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Android-Why-so-quiet-Who-s-developing-Android-apps-tp3656291p3707074.html
Sent from the Revolution - User mailing list archive at Nabble.com.

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


Re: Getting someone's age from dob and current year

2011-07-30 Thread Roger Eller
On Sat, Jul 30, 2011 at 8:38 PM, Admin wrote:



 Hi all - another one:

 I have a path stored in a MySQL database to
 an image file.

 I have a page with a image control

 I know how to
 SELECT the imagepath info and bring it into a variable, but how do I
 then load that image into the image control (with proper proportions)? I
 tried the obvious ways and

 nothing worked for me.

 The image control
 is named imgCandidatePic (just a small 140x140 square).

 A sample path
 would be http://www.server.com/userfiles/bear_harry/mypic.jpg for
 example

 I need to get that picture into the image control when the
 card loads (so in the card script using opencard).

 Thanks for your
 help everyone.

 Mike


As long as your image size is not locked, the image container will adjust to
the proportions of the original image.

on mouseUp
create img bear_harry
set the filename of img bear_harry to 
http://www.skcastle.com/wp-content/uploads/2007/08/bearharry.jpg;
end mouseUp
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: using stacks with on-rev

2011-07-30 Thread stephen barncard
Those guys in the engine room are pretty darn clever. I wondered how they
were going to handle two versions.

sqb

On 30 July 2011 18:18, Martin Koob mk...@rogers.com wrote:

 Thanks Mike and Stephen

 So the answer is that the file has to have the .lc extension for the 4.6.3
 engine to process it.

 Once I had the correct extension the line
 start using stack libstackmain.rev
 worked and I was able to call a function in the stack.

 That is interesting that
 .irev files are processed with the 3.5 engine
 .lc files are processed with the 4.6.3 engine

 I guess that keeps old sites from breaking.  I was afraid with the
 transition to 4.6.3 that it may break an on-rev website that I have.   It
 has been working fine though so I guess it is still running on the 3.5
 engine.

 Martin





 --
 View this message in context:
 http://runtime-revolution.278305.n4.nabble.com/using-stacks-with-on-rev-tp3706864p3707069.html
 Sent from the Revolution - User mailing list archive at Nabble.com.

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




-- 



Stephen Barncard
San Francisco Ca. USA

more about sqb  http://www.google.com/profiles/sbarncar
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


lack of Mac OS X intuition: system menu

2011-07-30 Thread Slava Paperno
I've been learning LC in Windows, and have now switched to Mac OS X, where
everything is just so intuitive and easy... can someone please tell me how
to remove my application menu from the system menu bar and restore the LC
menu so I can do some work? My intuition fails on this point. I know I've
seen this mentioned somewhere but can't find it now. Thanks!

Slava


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


revBrowser and Unicode on Mac OS X

2011-07-30 Thread Slava Paperno
Short version: revBrowser does not display Unicode characters in Mac OS X
(PPC/Tiger and Intel/Snow Leopard). LC 4.6.2 and 4.6.3.

Long version:

I finished writing and testing my Russian dictionary application in Windows
and started testing it in Mac OS X. My first surprise is that revBrowser
does not display Cyrillic (Unicode) characters--neither on a PPC (Tiger) nor
on an Intel (Snow Leopard) machine. The English portion is rendered fine,
including styles and everything, but Cyrillic is rendered as if every
double-byte character is interpreted as a sequence of two single bytes.

The source (the HTML text that is assigned to revBrowser as its htmltext
property) comes from a local html file or from a database record. The result
is the same. When the same text is assigned to the unicodeText property of a
field, everything looks fine.

The usual character set meta tag in the html is present and indicates UTF-8.
Works fine in Windows. Is there something about displaying UTF-8 in
revBrowser in Mac OS X that I need to know? The browser that is used by LC
is probably part of the Mac setup, right? All browsers on those two Macs
display the same Web page fine.

I'll be grateful for any solution. I hope it's something I'm doing wrong--or
not doing.

Thanks,

Slava


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


Re: Getting someone's age from dob and current year

2011-07-30 Thread Warren Samples
On Saturday, July 30, 2011 07:16:44 PM Roger Eller wrote:
convert tToday to seconds
convert tBorn to seconds


It's been talked about before, but this calls for a reminder: attempting to 
convert a date prior to Jan 1, 
1970 to seconds returns invalid date instead of a number in Windows. Don't 
do this if you are going to 
need this to work in Windows! Under Windows, you need to subtract the birthyear 
from the current year and 
determine if the current month/day is later than the birth month/day and 
subtract one year if necessary. 
Conveniently, this methods does work on all platforms. 

Best,

Warren

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


revBrowserCallScript() not working in Mac OS X

2011-07-30 Thread Slava Paperno
My application (LC 4.6.3) does this:

revBrowserSet(sBrowserID, htmltext, tMyHTML)

tMyHTML is a fully-formed Web page that includes this function:
function SetFontSize(FSizeStr) {
  document.body.style.fontSize = FSizeStr;
}

A button on the same card as the revBrowser instance does this:

revBrowserCallScript(sBrowserID, SetFontSize, 16  px)

This works fine in Windows, but now that I started testing in Mac OS X
(10.5.8. on PPC and 10.6.8 on Intel), the line above returns execution
error at line n/a (External handler: exception) near *** [WebUndefined
cStringUsingEncoding:]: unrecognized selector sent to instance 

This is my second major revBrowser surprise since I started testing in Mac
OS X. Am I on the wrong track? Does revBrowser work the same in Windows and
Mac OS X? I realize the underlying browser comes from the OS. Do I need to
do anything differently for revBrowser in Mac OS?

Thanks,

Slava



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


Re: lack of Mac OS X intuition: system menu

2011-07-30 Thread Colin Holgate
What is the Application menu? What things are in the LC menu.


On Jul 30, 2011, at 10:54 PM, Slava Paperno wrote:

 can someone please tell me how
 to remove my application menu from the system menu bar and restore the LC
 menu so I can do some work?

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


RE: lack of Mac OS X intuition: system menu

2011-07-30 Thread Slava Paperno
My stack has a menu bar built with the Menu Builder in the Tools menu. It is
essentially a group of buttons use as a menu bar. When I open the stack in
the IDE on Mac OS X, that menu replaces the standard LC IDE menu. No matter
which mode I am in (Browse or Run), I cannot see the LC IDE menu in the Mac
OS system menu bar. So nine of the IDE commands are available. I know this
is a trivial situation in Mac OS, and there is a secret handshake that
returns the IDE menu where it belongs. I even remember reading about this
somewhere. But I can't find that now.

Thanks, Colin,

Slava

 -Original Message-
 From: use-livecode-boun...@lists.runrev.com [mailto:use-livecode-
 boun...@lists.runrev.com] On Behalf Of Colin Holgate
 Sent: Sunday, July 31, 2011 12:41 AM
 To: How to use LiveCode
 Subject: Re: lack of Mac OS X intuition: system menu
 
 What is the Application menu? What things are in the LC menu.
 
 
 On Jul 30, 2011, at 10:54 PM, Slava Paperno wrote:
 
  can someone please tell me how
  to remove my application menu from the system menu bar and restore
 the LC
  menu so I can do some work?
 




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