Re: Need suggestions: very start of a stack revision system.

2012-09-20 Thread Phil Davis

On 9/19/12 9:18 PM, Mark Wieder wrote:

Richard-

Wednesday, September 19, 2012, 7:26:14 PM, you wrote:


I just updated the Rev Interop page at lcj to reflect the URL to the new
forum:
http://livecodejournal.com/revinterop/index.html

please joing the RIP Yahoo Group ?


I don't see the poblem.

--
Phil Davis


___
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: lock/unlock screen

2012-09-20 Thread Richmond

On 09/19/2012 09:16 PM, Bob Sneidar wrote:

Okay I modified Richmond's experiment to include a send mouseup to button Single 
Undo at the end of the first buttons script, and the field does indeed remain 
hidden, so yes a series of screen locks do stack. Pardon me for the false info.


I was wrong (not for either the first or the last time, LOL) . . .

BUT:

That 'multiple lockscreen' thing does seem illogical and/or daft, and it 
might not be a bad thing if it were changed so that 'locked' meant 
'locked once' and was not ambiguous.




Bob


On Sep 19, 2012, at 10:52 AM, Richmond wrote:


Richmond had a genius moment :)

I made a wee stack called LOCKER with
two buttons; Triple-Play and Single Undo and
a fld fff containing the text UNLOCKED!

the script of btn Triple-Play goes like this:

on mouseUp
   set the vis of fld fff to false
set the lockscreen to true
set the lockscreen to true
set the lockscreen to true
end mouseUp

the script of btn Single Undo goes like this:

on mouseUp
   set the lockscreen to false
   if the lockscreen is false then
 set the vis of fld fff to true
   end if
end mouseUp

HOT, SCREAMING STUFF!

so; click on btn Triple-Play which locks the screen THRICE,

then; click on btn Single Undo which unlocks the screen ONCE,

and,

Bingo, Kazoom, Jumping Space Potatoes;

fld fff becomes visible.

Richmond.

___
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


FlexibleLearning apologises...

2012-09-20 Thread FlexibleLearning
Mail is down here...

It seems that any mail sent to flexibleLearning.com is being trashed by the
ISP server, with no error or bounceback.

If you have been trying to reach me, I have not responded because I am not
getting any emails.

I am trying to resolve the problem with the ISP and it has been escallated.

Meanwhile, any urgent mail can be sent to flexiblelearn...@tiscali.co.uk
(this seems to work) until the problem is sorted out.


With best regards,

Hugh Senior
FLCo


___
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: Need suggestions: very start of a stack revision system.

2012-09-20 Thread Richard Gaskin

Mark Wieder wrote:


Richard-

Wednesday, September 19, 2012, 7:26:14 PM, you wrote:


I just updated the Rev Interop page at lcj to reflect the URL to the new
forum:
http://livecodejournal.com/revinterop/index.html


please joing the RIP Yahoo Group ?


Fixed - now reads please join the forums.

Thanks for the report.

It was very expensive to make all of the changes necessary to move 
RevJournal.com to LiveCodeJournal.com, and now that Yahoo Groups is too 
flaky to use and we're bringing that into LCJ, we can expect that 
transition to also take some time to complete.


If any of you have time and interest, I would happy to provide access to 
the site to help maintain and enhance it.


--
 Richard Gaskin
 Fourth World
 LiveCode training and consulting: http://www.fourthworld.com
 Webzine for LiveCode developers: http://www.LiveCodeJournal.com
 Follow me on Twitter:  http://twitter.com/FourthWorldSys

___
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


iOS 6 crash

2012-09-20 Thread Sergio Schvarstein
Hi,

I`ve just installed iOS 6 in my iPhone and the apps I've made with LiveCode 
crash immediately while opening.  :-(

Is there any issue that we must update regarding to iOS 6 ?

It only happens to me or does someone had the same troubles ?

Thanks.


__
Sergio Schvarstein
sschvarst...@gmail.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: lock/unlock screen

2012-09-20 Thread Mark Wieder
Richmond-

Thursday, September 20, 2012, 1:29:32 AM, you wrote:

 That 'multiple lockscreen' thing does seem illogical and/or daft, and it
 might not be a bad thing if it were changed so that 'locked' meant 
 'locked once' and was not ambiguous.

It's actually quite useful as is. It means I can write smaller
routines that fiddle with the screen, locking before and unlocking
afterwards. I can then string these routines together in a larger
construct, locking before and unlocking after, without needing to
worry about the screen suddenly popping to life (and slowing things
down) in the middle. Remembering to unlock after you've locked isn't
any more cumbersome than remembering to close parentheses or quotes.

-- 
-Mark Wieder
 mwie...@ahsoftware.net


___
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: lock/unlock screen

2012-09-20 Thread Bob Sneidar
I agree with Richmond. I cannot think of a case where I would want to lock a 
screen multiple times and then incrementally unlock the screen, knowing that 
the screen is still locked! I can think of examples where I would want to lock 
then unlock the screen while the script was still executing, but not multiple 
times stacked. 

Bob


On Sep 20, 2012, at 8:00 AM, Mark Wieder wrote:

 Richmond-
 
 Thursday, September 20, 2012, 1:29:32 AM, you wrote:
 
 That 'multiple lockscreen' thing does seem illogical and/or daft, and it
 might not be a bad thing if it were changed so that 'locked' meant 
 'locked once' and was not ambiguous.
 
 It's actually quite useful as is. It means I can write smaller
 routines that fiddle with the screen, locking before and unlocking
 afterwards. I can then string these routines together in a larger
 construct, locking before and unlocking after, without needing to
 worry about the screen suddenly popping to life (and slowing things
 down) in the middle. Remembering to unlock after you've locked isn't
 any more cumbersome than remembering to close parentheses or quotes.
 
 -- 
 -Mark Wieder
 mwie...@ahsoftware.net
 
 
 ___
 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: lock/unlock screen

2012-09-20 Thread Dr. Hawkins
On Thu, Sep 20, 2012 at 8:30 AM, Bob Sneidar b...@twft.com wrote:
 I agree with Richmond. I cannot think of a case where I would want to lock a 
 screen multiple
times and then incrementally unlock the screen, knowing that the screen is 
still locked!

I have several; it's quite common in what I'm writing.

I have routines that want the screen locked that have other routines
that want the screen locked.

Those secondary routines, though, sometimes are called from different
places from which the screen is not already locked--these can safely
do an unlock, without worrying about whether or not they're nested, or
by how many levels.

-- 
The Hawkins Law Firm
Richard E. Hawkins, Esq.
(702) 508-8462
hawkinslawf...@gmail.com
3025 S. Maryland Parkway
Suite A
Las Vegas, NV  89109

___
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: Show/hide problem

2012-09-20 Thread dunbarx
Hi.


Can't get simpler than that, eh? I assume you have no issues with earlier 
builds, that this is only a 5.5.2 thing?



Craig Newman


-Original Message-
From: lunchnmeets lunchnme...@aol.com
To: How use-livecode@lists.runrev.com
Sent: Thu, Sep 20, 2012 10:58 am
Subject: Show/hide problem


Hi Everyone,

I'm probably missing something obvious. I just upgraded to v5.5.2 
build 1492. I'm using OSX 10.6.8. When I enter:
hide grp grpName or show grp GrpName into a script, it executes 
that and then nothing after it is working. I tried changing to 
visible and the same thing happens. Any ideas? Thanks in advance for 
all your help.

Joe
Orlando, FL
___
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: iOS 6 crash

2012-09-20 Thread Charles E Buchwald
Hi Sergio,
I just noticed the same thing. My 2 crash as well.
I'm assuming I have to recompile them and submit an update.
Does anyone know if there is anything within the app that must be changed... or 
will an old stack that is recompiled run on iOS 6?
- Charles

On 2012-09-20, at 9:47 AM, Sergio Schvarstein sschvarst...@gmail.com wrote:

 Hi,
 
 I`ve just installed iOS 6 in my iPhone and the apps I've made with LiveCode 
 crash immediately while opening.  :-(
 
 Is there any issue that we must update regarding to iOS 6 ?
 
 It only happens to me or does someone had the same troubles ?
 
 Thanks.
 
 
 __
 Sergio Schvarstein
 sschvarst...@gmail.com

--
Charles E. Buchwald
http://buchwald.ca
Vancouver / Mexico City / NYC
Member of the 02 Global Network for Sustainable Design • Connect on LinkedIn • 
Follow me on Twitter

___
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: iOS 6 crash

2012-09-20 Thread William de Smet
Hi there,
The same crashes for me on my iPhone on iOS 6. Last year was the same thing
with iOS 5.
Recompiling should be enough. But testing on iOS 6 needs Xcode 4.5 and I
don't know if LC 5.5.2 is compatible with it.
I will test tonight.


greetings,

William



2012/9/20 Charles E Buchwald char...@buchwald.ca

 Hi Sergio,
 I just noticed the same thing. My 2 crash as well.
 I'm assuming I have to recompile them and submit an update.
 Does anyone know if there is anything within the app that must be
 changed... or will an old stack that is recompiled run on iOS 6?
 - Charles

 On 2012-09-20, at 9:47 AM, Sergio Schvarstein sschvarst...@gmail.com
 wrote:

  Hi,
 
  I`ve just installed iOS 6 in my iPhone and the apps I've made with
 LiveCode crash immediately while opening.  :-(
 
  Is there any issue that we must update regarding to iOS 6 ?
 
  It only happens to me or does someone had the same troubles ?
 
  Thanks.
 
 
  __
  Sergio Schvarstein
  sschvarst...@gmail.com

 --
 Charles E. Buchwald
 http://buchwald.ca
 Vancouver / Mexico City / NYC
 Member of the 02 Global Network for Sustainable Design • Connect on
 LinkedIn • Follow me on Twitter

 ___
 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: Show/hide problem

2012-09-20 Thread Bob Sneidar
Wrap the problem code in a try/catch construct. 

try
  hide grp grpName
  -- other code you want to include
catch theError
  answer theError
end try


On Sep 20, 2012, at 9:05 AM, dunb...@aol.com wrote:

 Hi Everyone,
 
 I'm probably missing something obvious. I just upgraded to v5.5.2 
 build 1492. I'm using OSX 10.6.8. When I enter:
 hide grp grpName or show grp GrpName into a script, it executes 
 that and then nothing after it is working. I tried changing to 
 visible and the same thing happens. Any ideas? Thanks in advance for 
 all your help.
 
 Joe
 Orlando, FL


___
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: lock/unlock screen

2012-09-20 Thread Peter Haworth
The nested handler situation mentioned by Bob and Dr Hawkins are where the
layered lock/unlock is useful.
Pete
lcSQL Software http://www.lcsql.com



On Thu, Sep 20, 2012 at 8:30 AM, Bob Sneidar b...@twft.com wrote:

 I agree with Richmond. I cannot think of a case where I would want to lock
 a screen multiple times and then incrementally unlock the screen, knowing
 that the screen is still locked! I can think of examples where I would want
 to lock then unlock the screen while the script was still executing, but
 not multiple times stacked.

 Bob


 On Sep 20, 2012, at 8:00 AM, Mark Wieder wrote:

  Richmond-
 
  Thursday, September 20, 2012, 1:29:32 AM, you wrote:
 
  That 'multiple lockscreen' thing does seem illogical and/or daft, and it
  might not be a bad thing if it were changed so that 'locked' meant
  'locked once' and was not ambiguous.
 
  It's actually quite useful as is. It means I can write smaller
  routines that fiddle with the screen, locking before and unlocking
  afterwards. I can then string these routines together in a larger
  construct, locking before and unlocking after, without needing to
  worry about the screen suddenly popping to life (and slowing things
  down) in the middle. Remembering to unlock after you've locked isn't
  any more cumbersome than remembering to close parentheses or quotes.
 
  --
  -Mark Wieder
  mwie...@ahsoftware.net
 
 
  ___
  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


Oval Bug in iOS

2012-09-20 Thread Roger Guay
Greetings!

If you grow an oval with a repeat loop that incrementally increases its width 
and height, it works fine in the IDE and standalone Mac app. But, if you run 
the same code in the iOS simulator or an iPad, there is a small sector missing 
at 3 o'clock. It looks like the oval has settings of a startAngle of about 1 or 
2, with an arcAngle of about 358 or 359. Any ideas?

Thanks very much!

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: iOS 6 crash

2012-09-20 Thread Sergio Schvarstein
Thanks for the answers.

I will try to recompile with 5.5.2 and Xcode 4.4.1 and send an update.

And I hope Runrev people can tell us some more details.

I still prefer not to change Xcode version untill knowing more about this 
issues.

William, please let us know your results with Xcode 4.5.

Greetings,

__
Sergio Schvarstein

__





___
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: lock/unlock screen

2012-09-20 Thread J. Landman Gay

On 9/20/12 10:30 AM, Bob Sneidar wrote:

I agree with Richmond. I cannot think of a case where I would want to
lock a screen multiple times and then incrementally unlock the
screen, knowing that the screen is still locked! I can think of
examples where I would want to lock then unlock the screen while the
script was still executing, but not multiple times stacked.



It's necessary often. The useful behavior dates back 25 years. When a 
called handler needs to lock and unlock the screen it shouldn't need to 
worry about whether it was called from a handler while the screen is 
unlocked, or one where the screen is already locked and shouldn't be 
changed.


For example:

on moveStuffAround
 lock screen
 move and hide/show objects
 unlock screen
end moveStuffAround

on goToCard pCd
  lock screen
  go cd pCd
  moveStuffAround
  unlock screen
end goToCard

on changeStuff
  put the cProp of btn 1 into tProp
  if tProp = true then moveStuffAround
end changeStuff

When going to another card the screen will remain locked even though the 
calls are nested. When changeStuff is called, the screen will only lock 
if it needs to moveStuffAround. The calling handler doesn't need to 
worry about the state of the screen. MoveStuffAround might be called 
from a library, perhaps a commercial one, where the user may not even 
know the screen needs to be locked, and where the user's scripts may or 
may not have already done so.


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


Re: lock/unlock screen

2012-09-20 Thread Thierry Douez
2012/9/20 J. Landman Gay jac...@hyperactivesw.com:
 On 9/20/12 10:30 AM, Bob Sneidar wrote:

 I agree with Richmond. I cannot think of a case where I would want to
 lock a screen multiple times and then incrementally unlock the
 screen, knowing that the screen is still locked! I can think of
 examples where I would want to lock then unlock the screen while the
 script was still executing, but not multiple times stacked.



 It's necessary often. The useful behavior dates back 25 years. When a called
 handler needs to lock and unlock the screen it shouldn't need to worry about
 whether it was called from a handler while the screen is unlocked, or one
 where the screen is already locked and shouldn't be changed.


+1

Another context is using a third party library which does use the lockscreen.

As a user of this library, it will always works whatever your calling
handler has
locked or not the screen.

Thierry

___
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: Show/hide problem

2012-09-20 Thread lunchnmeets
Hi Again:

Thanks for your responses Craig and Bob. I need all the help I can get 
sometimes. I found out two things.

1) When I got information on each of my stacks it wasn't showing that it was 
using v5.5.2. So I fixed that.
2) At one time the about live code screen said setting defaults. I may have 
interfered with that process. How do I reset those defaults if necessary? Maybe 
one of those defaults is not set properly and causing the problem.

In the version I was using when I opened a stack it automatically opened the 
liveCard app. It also put the bar across the top that started with Inspector. 
Even though I've been using liveCode for a while I don't know what that is 
called. Now I have to open the app first and then the stack. I probably need a 
line in my startup routine to address that.

I tried to go back to a previous version, but I couldn't.

Joe
Orlando, FL USA


On Sep 20, 2012, at 10:57:44 AM, lunchnmeets lunchnme...@aol.com wrote:

From:   lunchnmeets lunchnme...@aol.com
Subject:Show/hide problem
Date:   September 20, 2012 10:57:44 AM EDT
To: How use-livecode@lists.runrev.com
Hi Everyone,

I'm probably missing something obvious. I just upgraded to v5.5.2 
build 1492. I'm using OSX 10.6.8. When I enter:
hide grp grpName or show grp GrpName into a script, it executes 
that and then nothing after it is working. I tried changing to 
visible and the same thing happens. Any ideas? Thanks in advance for 
all your help.

Joe
Orlando, FL
___
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: Show/hide problem

2012-09-20 Thread dunbarx
Hi.


In the preferences menu, all the way at the bottom...



Craig Newman


-Original Message-
From: lunchnmeets lunchnme...@aol.com
To: How to use LiveCode use-livecode@lists.runrev.com
Sent: Thu, Sep 20, 2012 1:48 pm
Subject: Re: Show/hide problem


Hi Again:

Thanks for your responses Craig and Bob. I need all the help I can get 
sometimes. I found out two things.

1) When I got information on each of my stacks it wasn't showing that it was 
using v5.5.2. So I fixed that.
2) At one time the about live code screen said setting defaults. I may have 
interfered with that process. How do I reset those defaults if necessary? Maybe 
one of those defaults is not set properly and causing the problem.

In the version I was using when I opened a stack it automatically opened the 
liveCard app. It also put the bar across the top that started with Inspector. 
Even though I've been using liveCode for a while I don't know what that is 
called. Now I have to open the app first and then the stack. I probably need a 
line in my startup routine to address that.

I tried to go back to a previous version, but I couldn't.

Joe
Orlando, FL USA


On Sep 20, 2012, at 10:57:44 AM, lunchnmeets lunchnme...@aol.com wrote:

From:   lunchnmeets lunchnme...@aol.com
Subject:Show/hide problem
Date:   September 20, 2012 10:57:44 AM EDT
To: How use-livecode@lists.runrev.com
Hi Everyone,

I'm probably missing something obvious. I just upgraded to v5.5.2 
build 1492. I'm using OSX 10.6.8. When I enter:
hide grp grpName or show grp GrpName into a script, it executes 
that and then nothing after it is working. I tried changing to 
visible and the same thing happens. Any ideas? Thanks in advance for 
all your help.

Joe
Orlando, FL
___
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


revMail to Browser

2012-09-20 Thread Dan Friedman
Greetings!

I am sure this has come up before, but what does one do when you use the 
revMail command:

revMail m...@someaddress.com,,eMailTitle,field eMailContent

and the user isn't using a mail client like Mail or Outlook, but gMail in a web 
browser.  Is there a call to do this?  Or perhaps a workaround?

Any advice would be helpful.

Thanks in advance,
-Dan
___
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: Show/hide problem

2012-09-20 Thread Mark Wieder
Joe-

Thursday, September 20, 2012, 10:47:28 AM, you wrote:

 I tried to go back to a previous version, but I couldn't.

set the stackfileversion to 2.7
save stack

-- 
-Mark Wieder
 mwie...@ahsoftware.net


___
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: revMail to Browser

2012-09-20 Thread Roger Eller
If there is already email client application associated with mailto: links
(which is what revMail is using), the gMail Notifier add-on can help by
assigning a default browser to handle them.

http://toolbar.google.com/gmail-helper/notifier_windows.html

I always set it to NOT start when Windows starts, but the options still
allow you to assign a default browser for mailto: links.

~Roger


On Thu, Sep 20, 2012 at 2:20 PM, Dan Friedman d...@clearvisiontech.comwrote:

 Greetings!

 I am sure this has come up before, but what does one do when you use the
 revMail command:

 revMail m...@someaddress.com,,eMailTitle,field eMailContent

 and the user isn't using a mail client like Mail or Outlook, but gMail in
 a web browser.  Is there a call to do this?  Or perhaps a workaround?

 Any advice would be helpful.

 Thanks in advance,
 -Dan
 ___
 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


[OT] listing installed software on Linux

2012-09-20 Thread Richmond

type this into a terminal emulator:

dpkg --get-selections  installed-software

this will dump a text file called 'installed-software' in your HOME folder.

This WILL NOT list software such as RunRev/Livecode as it is not installed
in the system-qua-system, but is normally in the HOME folder.

Richmond.

___
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: lock/unlock screen

2012-09-20 Thread Richmond

SO . . .

there is a 'political divide' over those who think that multiple 
lockscreens followed by multiple

unlockings is a good thing, and those who think it is a bad thing.

What to do ?

Well, here's a thought . . .

Would things not be easier to understand if each subsequent lockscreen 
was signalled in some

sort of way so one can keep track of all the nested lockscreens

-
Tangential Burble follows.
-

This makes me think of why I fell in love with SWITCH and CASE, after 
developing cluster headaches

over embedded FOR . . . NEXT loops . . . .

. . . oh, Dear, I suddenly remembered GOSUB in some variety of BASIC . . 
. . running for the toilet.


-
Enough of that.
-

At present (as I'm sure 99% of the readers of this Use-List already 
know) each lockscreen

is initiated like this:

set the lockscreen to true

and, as we have all recently become, almost painfully, aware, you can do 
that as many times

as you like, but then have to do

set the lockscreen to false

just as many times to reverse the process

---

How about being able to give each LOCKSCREEN command a name:

set lockscreen A to true

set lockscreen B to true

it may look a bit odd at first, but it would make keeping track of 
multiple screen lockings a whole lot simpler.


AND what about

set the lockscreens to false

where 'lockscreens' would unlock all screen lockings at once?

---

Richmond.

___
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


Show/hide problem more information

2012-09-20 Thread lunchnmeets

Hi Again.

Thanks for your patience on this issue. There's obviously something 
wrong with Show and Hide. Now I've gone through several scripts. 
Every time the script encounters a show or hide it executes that and 
then nothing that follows is done. I reset the preferences and I even 
reinstalled v5.5.2. I tried going back to a previous version but I 
deleted it from my computer so now I'm stuck. I can't imagine why this 
is happening. Could something trap a show or hide after execution?


Obviously I did something seriously wrong.

Oh, and one more thing. Every time I use the inspector it wants me to 
save it. That's annoying and unnecessary. I shouldn't even be able to 
change the inspector, at least I don't think so.


Joe
Orlando, FL
___
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: Show/hide problem more information

2012-09-20 Thread J. Landman Gay

On 9/20/12 2:40 PM, lunchnmeets wrote:

Hi Again.

Thanks for your patience on this issue. There's obviously something
wrong with Show and Hide. Now I've gone through several scripts.
Every time the script encounters a show or hide it executes that and
then nothing that follows is done.


When that happens, the problem isn't with the command that executes, 
it's in the line that immediately follows. Something right after that is 
causing an error and aborting the rest of the script.



Every time I use the inspector it wants me to save it.


I saw that occasionally in an older version. The IDE was opening the 
inspector as top-level. Usually restarting LiveCode fixed it. I haven't 
seen it in a while so maybe it got fixed.



In the version I was using when I opened a stack it automatically
opened the liveCard app. It also put the bar across the top that
started with Inspector. Even though I've been using liveCode for a
while I don't know what that is called. Now I have to open the app
first and then the stack. I probably need a line in my startup
routine to address that.


That's the toolbar. There's something in your scripts that is either 
blocking or hiding the toolbar. If it happens again you can restore it 
from the View menu; choose Toolbar Icons and/or Toolbar Text.


User stacks should not be getting a startup message in the IDE. If you 
have a startup handler and it runs when you open your stack, then you 
should start the IDE first so it can load before your stack does. When 
you do that, your own stack will not get a startup message. The solution 
is to move the startup instructions to a preOpenStack handler located on 
the first card. It will work identically and you'll avoid these issues.


Some of the other problems you're having may be fixed by not using a 
startup handler too. If the IDE isn't loading completely then who knows 
what could be failing.


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


Re: lock/unlock screen

2012-09-20 Thread Bob Sneidar
Face it Richmond. It's you and me against the world. ;-)

Bob


On Sep 20, 2012, at 2:07 PM, J. Landman Gay wrote:

 On 9/20/12 2:31 PM, Richmond wrote:
 
 Would things not be easier to understand if each subsequent lockscreen
 was signalled in some
 sort of way so one can keep track of all the nested lockscreens
 
 I think that would increase complexity and decrease functionality. As Thierry 
 pointed out, scripts would break if you use anyone else's libraries. And 
 there's not much advantage to tracking all that when the engine does it for 
 you anyway.
 
 At present (as I'm sure 99% of the readers of this Use-List already
 know) each lockscreen
 is initiated like this:
 
 set the lockscreen to true
 
 and, as we have all recently become, almost painfully, aware, you can do
 that as many times
 as you like, but then have to do
 
 set the lockscreen to false
 
 just as many times to reverse the process
 
 Not really. You don't have to track it at all. There are several ways to 
 handle it:
 
 1. Just ignore it. When the handlers are done the screen will unlock 
 automatically.
 
 2. If you always pair locks and unlocks in each handler, the situation will 
 never arise.
 
 3. If you do feel that you simply must make sure the screen is unlocked, the 
 method is three lines of code:
 
 repeat until the lockscreen is false
   unlock screen
 end repeat
 
 But I can't remember ever needing to do that. Have you ever run up against a 
 problem with it?
 
 -- 
 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


Need help

2012-09-20 Thread Terence Blyth
I have a main card with a button on it, the button has icons . When I click the 
button it opens a sub card. Some times on the sub card, I can see the icon from 
the main card.
Why does this happen and how can I stop it ?

Thanks
Terence
web:http://www.ctec.co.nz
___
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: lock/unlock screen

2012-09-20 Thread Mark Wieder
Bob Sneidar bobs@... writes:

 
 Face it Richmond. It's you and me against the world. 

Uh oh. Look out, world.

-- 
 Mark Wieder
 mwie...@ahsoftware.net




___
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: [OT] listing installed software on Linux

2012-09-20 Thread Mark Wieder
Richmond richmondmathewson@... writes:

 dpkg --get-selections  installed-software

dpkg: failed to open package info file `/var/lib/dpkg/status' for reading: No
such file or directory

My guess is you're running one of those ubuntu-thingies.

-- 
 Mark Wieder
 mwie...@ahsoftware.net


___
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: Need help

2012-09-20 Thread Bob Sneidar
Sounds like the screen is not refreshing properly. Do you have any screen 
locks, message locks, etc in the buttons or cards?

Bob


On Sep 20, 2012, at 2:53 PM, Terence Blyth wrote:

 I have a main card with a button on it, the button has icons . When I click 
 the button it opens a sub card. Some times on the sub card, I can see the 
 icon from the main card.
 Why does this happen and how can I stop it ?
 
 Thanks
 Terence
 web:http://www.ctec.co.nz
 ___
 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: Need help

2012-09-20 Thread Terence Blyth
Hi thanks, I have in preOpenCard at the start  lock screen and at the end 
PreOpenCard  unlock screen. Could this do it ?

Thanks
Terence


On 21/09/2012, at 10:14 AM, Bob Sneidar b...@twft.com wrote:

 Sounds like the screen is not refreshing properly. Do you have any screen 
 locks, message locks, etc in the buttons or cards?
 
 Bob
 
 
 On Sep 20, 2012, at 2:53 PM, Terence Blyth wrote:
 
 I have a main card with a button on it, the button has icons . When I click 
 the button it opens a sub card. Some times on the sub card, I can see the 
 icon from the main card.
 Why does this happen and how can I stop it ?
 
 Thanks
 Terence
 web:http://www.ctec.co.nz
 ___
 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: Need help

2012-09-20 Thread Bob Sneidar
I bet it could. One way to find out: Comment out the lock screen. 

Bob


On Sep 20, 2012, at 3:19 PM, Terence Blyth wrote:

 Hi thanks, I have in preOpenCard at the start  lock screen and at the end 
 PreOpenCard  unlock screen. Could this do it ?
 
 Thanks
 Terence
 
 
 On 21/09/2012, at 10:14 AM, Bob Sneidar b...@twft.com wrote:
 
 Sounds like the screen is not refreshing properly. Do you have any screen 
 locks, message locks, etc in the buttons or cards?
 
 Bob
 
 
 On Sep 20, 2012, at 2:53 PM, Terence Blyth wrote:
 
 I have a main card with a button on it, the button has icons . When I click 
 the button it opens a sub card. Some times on the sub card, I can see the 
 icon from the main card.
 Why does this happen and how can I stop it ?
 
 Thanks
 Terence
 web:http://www.ctec.co.nz
 ___
 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: Need help

2012-09-20 Thread J. Landman Gay

On 9/20/12 5:19 PM, Terence Blyth wrote:

Hi thanks, I have in preOpenCard at the start  lock screen and at the
end PreOpenCard  unlock screen. Could this do it ?


Not really. But I'm not sure what you mean by a sub card. Do you mean 
just another card in the stack? If so, you've probably added the button 
to a shared group and that group has been placed on the other card. You 
can unplace the group from that card using the Objects menu - Remove group.


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


Re: Need help

2012-09-20 Thread Bob Sneidar
Except that the initial email said it was intermittent. I have had something 
like this happen to me whilst messing with locking screens in preopencard 
handlers. Not sure what I did to remedy it though. I would get datagrid redraw 
problems and what not. Gave me a start the first time I saw it I can tell you! 

Bob


On Sep 20, 2012, at 3:29 PM, J. Landman Gay wrote:

 On 9/20/12 5:19 PM, Terence Blyth wrote:
 Hi thanks, I have in preOpenCard at the start  lock screen and at the
 end PreOpenCard  unlock screen. Could this do it ?
 
 Not really. But I'm not sure what you mean by a sub card. Do you mean just 
 another card in the stack? If so, you've probably added the button to a 
 shared group and that group has been placed on the other card. You can 
 unplace the group from that card using the Objects menu - Remove group.


___
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


Show/hide problem

2012-09-20 Thread lunchnmeets

Hi Again,

Thanks Jackie. OK, there was a problem with my startup script. It 
involved a repeat loop I used to get rid of pendingMessages(). When I 
disabled that the toolBar was shown again.


I can't figure out where to put Choose Browse Tool it doesn't seem 
to work in the preOpenStack handler.


I'm still have a problem with show and hide but I have some things I 
want to try.


I didn't have these problems when I was using v4.6.3

The Try structure didn't find an error because as soon as the script 
hit a show or a hide it did that action and then it exited to the top 
so the script didn't see the catch theerror


Since I don't seem to have the show hide problem the first time I use 
the script after I restart liveCode. There's obviously something I'm 
doing wrong. So I'm still diagnosing it.


Let me know if you think of a direction for me to go.

Joe
Orlando, FL
___
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: strange htmltext problem

2012-09-20 Thread Peter Haworth
I've discovered that my htmltext problem with sub tags does not happen in
5.5.1.  Unfortunately I want to use the code in a plugin so it really has
to work in all recent versions of LC.  Past experience suggests that
there's not much hope of getting a bug fixed in a version when there's a
later version in which it's already fixed.

Ahhh, the joys of writing plugins!

Pete
lcSQL Software http://www.lcsql.com



On Tue, Sep 18, 2012 at 11:17 PM, Peter Haworth p...@lcsql.com wrote:

 I'm having issues with htmltext also.

 I'm using the sub tag to do the equivalent of setting the textshift of a
 character and the img tag to do the equivalent of setting the
 imagesource, eg

 sub shift=2img src=1234 char= /sub

 I can clearly see this in the variable I use to set the htmltext, yet when
 I get the htmltext of the field, the sub clauses are sometimes there,
 sometimes not.  Even if they are there, they don't have any effect.

 I'd really like to get this working if I can since using htmltext appears
 much faster than setting the imagesource and textshift on individual lines
 in the field when there are a large number of lines to be processed.

 This is with LC 5.5.0, OSX 10.7.

 Pete
 lcSQL Software http://www.lcsql.com



 On Tue, Sep 18, 2012 at 7:37 AM, Klaus on-rev kl...@major.on-rev.comwrote:

 Hi friends,

 I have a strange htmltext problem with LC 5.52 while working on a rating
 thing (5 stars etc..) with a LOCKED field :-)

 I have this script:
 on mouseUp
put 12345 into fld 1
repeat with i = 1 to 5
   set the imagesource of char i of fld 1 to 1005
end repeat
 end mouseUp

 Works fine, 5 white stars appear, and when I check the htmltext of fld 1
 I get:
 RETURNS added for readability
 p
 img src=1005 char=1
 img src=1005 char=2
 img src=1005 char=3
 img src=1005 char=4
 img src=1005 char=5
 /p

 Fine so far, but when I set the htmltext of that field to the (Livecode
 approved?) string above, only ONE star appears
 and the htmltext reports:
 p
 img src=1005 char=12345
 /p

 WTF?
 What am I missing?

 Any hints very appreciated!


 Best

 Klaus

 --
 Klaus Major
 http://www.major-k.de
 kl...@major.on-rev.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: [OT] listing installed software on Linux

2012-09-20 Thread Andre Garzia
Those commands will only display software that was installed using the
package manager. LiveCode is not installed using the package manager so it
will not display.

PS: I think you need to run that as root

On Thu, Sep 20, 2012 at 7:02 PM, Mark Wieder mwie...@ahsoftware.net wrote:

 Richmond richmondmathewson@... writes:

  dpkg --get-selections  installed-software

 dpkg: failed to open package info file `/var/lib/dpkg/status' for reading:
 No
 such file or directory

 My guess is you're running one of those ubuntu-thingies.

 --
  Mark Wieder
  mwie...@ahsoftware.net


 ___
 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




-- 
http://www.andregarzia.com -- All We Do Is Code.
http://fon.nu -- minimalist url shortening service.
___
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: detect keyboard height on mobile

2012-09-20 Thread Andre Garzia
Do we all agree that this is worth asking for an enhancement?

On Wed, Sep 19, 2012 at 12:46 PM, Ralph DiMola rdim...@evergreeninfo.netwrote:

 Colin,

 Thanks, the upper 3rd is my current solution. Getting message whenever the
 working rect changes with a list rect(s) of open real-estate would allow me
 to deal with this, or I can just keep all input fields in the upper 3rd.

 Ralph DiMola
 IT Director
 Evergreen Information Services
 rdim...@evergreeninfo.net


 -Original Message-
 From: use-livecode-boun...@lists.runrev.com
 [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of Colin Holgate
 Sent: Wednesday, September 19, 2012 11:26 AM
 To: How to use LiveCode
 Subject: Re: detect keyboard height on mobile

 The situation is more complicated than you may be thinking. On iOS you can
 split the keyboard into two halves that slide up to half way, or you can
 undock and the keyboard remains intact, but sits halfway up the screen. You
 may want to always make sure that important text into fields are in the top
 third of the screen.


 On Sep 19, 2012, at 11:20 AM, Ralph DiMola rdim...@evergreeninfo.net
 wrote:

  I am running into the same issue on iOS also as I use generic resizing
 SW.
  The rect of the real-estate remaining would be nice to know.

 ___
 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




-- 
http://www.andregarzia.com -- All We Do Is Code.
http://fon.nu -- minimalist url shortening service.
___
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: Show/hide problem

2012-09-20 Thread Bob Sneidar
What is the nature of the group you are showing or hiding? Is it a datagrid? 
It's my opinion that preOpenStack should be used only for things that need to 
happen before the stack opens. If it can be put into an openStack handler, put 
it there. If you are trying to show a group on a card in a preOpenCard or 
preOpenStack handler, technically the group doesn't exist in memory yet. 
(Someone will correct me if I am wrong). What I do if I do not want the end 
user to see a bunch of setup stuff like showing and hiding objects on a card, 
is I put a lock screen in the preOpenCard handler, then I do all my setup stuff 
in the openCard handler. As soon as all the scripts are done, the screen will 
automatically unlock and refresh. 

Not sure if any of that helps. 

Bob


On Sep 20, 2012, at 4:02 PM, lunchnmeets wrote:

 Hi Again,
 
 Thanks Jackie. OK, there was a problem with my startup script. It involved a 
 repeat loop I used to get rid of pendingMessages(). When I disabled that the 
 toolBar was shown again.
 
 I can't figure out where to put Choose Browse Tool it doesn't seem to work 
 in the preOpenStack handler.
 
 I'm still have a problem with show and hide but I have some things I want to 
 try.
 
 I didn't have these problems when I was using v4.6.3
 
 The Try structure didn't find an error because as soon as the script hit a 
 show or a hide it did that action and then it exited to the top so the script 
 didn't see the catch theerror
 
 Since I don't seem to have the show hide problem the first time I use the 
 script after I restart liveCode. There's obviously something I'm doing wrong. 
 So I'm still diagnosing it.
 
 Let me know if you think of a direction for me to go.
 
 Joe
 Orlando, FL
 ___
 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: detect keyboard height on mobile

2012-09-20 Thread Ralph DiMola

Andre,

I agree. I'm on board!

Ralph DiMola
MIS Director 
Evergreen Information Services

rdim...@evergreeninfo.net

-Original message-
From: Andre Garzia an...@andregarzia.com
To: How to use LiveCode use-livecode@lists.runrev.com
Sent: Thu, Sep 20, 2012 23:29:48 GMT+00:00
Subject: Re: detect keyboard height on mobile

Do we all agree that this is worth asking for an enhancement?

On Wed, Sep 19, 2012 at 12:46 PM, Ralph DiMola  
rdim...@evergreeninfo.netwrote:



Colin,

Thanks, the upper 3rd is my current solution. Getting message whenever the
working rect changes with a list rect(s) of open real-estate would allow  

me

to deal with this, or I can just keep all input fields in the upper 3rd.

Ralph DiMola
IT Director
Evergreen Information Services
rdim...@evergreeninfo.net


-Original Message-
From: use-livecode-boun...@lists.runrev.com
[mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of Colin Holgate
Sent: Wednesday, September 19, 2012 11:26 AM
To: How to use LiveCode
Subject: Re: detect keyboard height on mobile

The situation is more complicated than you may be thinking. On iOS you can
split the keyboard into two halves that slide up to half way, or you can
undock and the keyboard remains intact, but sits halfway up the screen.  

You
may want to always make sure that important text into fields are in the  

top

third of the screen.


On Sep 19, 2012, at 11:20 AM, Ralph DiMola rdim...@evergreeninfo.net
wrote:

 I am running into the same issue on iOS also as I use generic resizing
SW.
 The rect of the real-estate remaining would be nice to know.

___
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





--
http://www.andregarzia.com -- All We Do Is Code.
http://fon.nu -- minimalist url shortening service.
___
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: detect keyboard height on mobile

2012-09-20 Thread Monte Goulding
Hey guys

Short term iOS only solution could be mergNotify and 
UIKeyboardWillShowNotification and parsing the pNotification parameter for it's 
size.

Cheers

Monte


On 21/09/2012, at 9:29 AM, Andre Garzia wrote:

 Do we all agree that this is worth asking for an enhancement?
 
 On Wed, Sep 19, 2012 at 12:46 PM, Ralph DiMola 
 rdim...@evergreeninfo.netwrote:
 
 Colin,
 
 Thanks, the upper 3rd is my current solution. Getting message whenever the
 working rect changes with a list rect(s) of open real-estate would allow me
 to deal with this, or I can just keep all input fields in the upper 3rd.
 
 Ralph DiMola
 IT Director
 Evergreen Information Services
 rdim...@evergreeninfo.net
 
 
 -Original Message-
 From: use-livecode-boun...@lists.runrev.com
 [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of Colin Holgate
 Sent: Wednesday, September 19, 2012 11:26 AM
 To: How to use LiveCode
 Subject: Re: detect keyboard height on mobile
 
 The situation is more complicated than you may be thinking. On iOS you can
 split the keyboard into two halves that slide up to half way, or you can
 undock and the keyboard remains intact, but sits halfway up the screen. You
 may want to always make sure that important text into fields are in the top
 third of the screen.
 
 
 On Sep 19, 2012, at 11:20 AM, Ralph DiMola rdim...@evergreeninfo.net
 wrote:
 
 I am running into the same issue on iOS also as I use generic resizing
 SW.
 The rect of the real-estate remaining would be nice to know.
 
 ___
 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
 
 
 
 
 -- 
 http://www.andregarzia.com -- All We Do Is Code.
 http://fon.nu -- minimalist url shortening service.
 ___
 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

--
M E R Goulding 
Software development services
Bespoke application development for vertical markets

mergExt - There's an external for that!


___
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


More preOpenCard Problems

2012-09-20 Thread Peter Haworth
A couple of weeks ago, I posted about strange problems I was having in
preOpenCard.  I thought I had got rid of them by moving some code into a
separate handler and using send in zero to execute it.

However, the problems are back, different ones this time.  I can tell from
various variables and files that a good portion of my preOpenCard code is
not being executed.  However, as on the last occasion, as soon as I go into
debug mode to track down what is going wrong (almost always need a
breakpoint command rather than a red dot), everything works.

I also notice that things work differently, but still incorrectly, when the
stack is run as a plugin than when it is run toplevel.

I've tried the obvious debug methods of inserting either answer or put
to the message box commands, but they also make things work correctly - I
guess they delay processing long enough for whatever the problem is to go
away.

It doesn't feel like I'm doing anything unreasonable in the code:

- Set some variables
- Enable/Disable come controls
- Open a prefs file and read its contents (create it and its enclosing
folders if not present)
- Check either demo expiration or valid license code
- Put data into one of the fields
- set the rectangle of the stack
- Insert a front script - that's the very last thing I do before exiting
preOpenCard

I'm hoping for some suggestions as to how on earth to debug this.  I'm
using 5.5.0 on OSX 10.7.4 and I've also tried 5.5.1 with the same problem.
 Or maybe I should just move all the code to openCard and see if it works
there since there's very little screen manipulation going on.  preOpenCard
just seems to be very flakey these days!

Pete
lcSQL Software http://www.lcsql.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: detect keyboard height on mobile

2012-09-20 Thread Terry Judd
Monte - is there a list of notification messages that mergNotify could 
potentially act on anywhere?

Terry...

On 21/09/2012, at 10:23 AM, Monte Goulding wrote:

 Hey guys
 
 Short term iOS only solution could be mergNotify and 
 UIKeyboardWillShowNotification and parsing the pNotification parameter for 
 it's size.
 
 Cheers
 
 Monte
 
 
 On 21/09/2012, at 9:29 AM, Andre Garzia wrote:
 
 Do we all agree that this is worth asking for an enhancement?
 
 On Wed, Sep 19, 2012 at 12:46 PM, Ralph DiMola 
 rdim...@evergreeninfo.netwrote:
 
 Colin,
 
 Thanks, the upper 3rd is my current solution. Getting message whenever the
 working rect changes with a list rect(s) of open real-estate would allow me
 to deal with this, or I can just keep all input fields in the upper 3rd.
 
 Ralph DiMola
 IT Director
 Evergreen Information Services
 rdim...@evergreeninfo.net
 
 
 -Original Message-
 From: use-livecode-boun...@lists.runrev.com
 [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of Colin Holgate
 Sent: Wednesday, September 19, 2012 11:26 AM
 To: How to use LiveCode
 Subject: Re: detect keyboard height on mobile
 
 The situation is more complicated than you may be thinking. On iOS you can
 split the keyboard into two halves that slide up to half way, or you can
 undock and the keyboard remains intact, but sits halfway up the screen. You
 may want to always make sure that important text into fields are in the top
 third of the screen.
 
 
 On Sep 19, 2012, at 11:20 AM, Ralph DiMola rdim...@evergreeninfo.net
 wrote:
 
 I am running into the same issue on iOS also as I use generic resizing
 SW.
 The rect of the real-estate remaining would be nice to know.
 
 ___
 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
 
 
 
 
 -- 
 http://www.andregarzia.com -- All We Do Is Code.
 http://fon.nu -- minimalist url shortening service.
 ___
 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
 
 --
 M E R Goulding 
 Software development services
 Bespoke application development for vertical markets
 
 mergExt - There's an external for that!
 
 
 ___
 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
 

Dr Terry Judd
Senior Lecturer in Medical Education
Medical Eduction Unit
Faculty of Medicine, Dentistry  Health Sciences
The University of Melbourne





___
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: detect keyboard height on mobile

2012-09-20 Thread Andre Garzia
My main issue is not iOS but Android where each vendor has his own keyboard
and the user can install third party keyboards. Unless there is an API in
the engine or they implement externals for both iOS and Android, there is
no solution.

I think the working screen rect should change if the keyboard is visible in
my opinion.

On Thu, Sep 20, 2012 at 10:03 PM, Terry Judd terry.j...@unimelb.edu.auwrote:

 Monte - is there a list of notification messages that mergNotify could
 potentially act on anywhere?

 Terry...le

 On 21/09/2012, at 10:23 AM, Monte Goulding wrote:

  Hey guys
 
  Short term iOS only solution could be mergNotify and
 UIKeyboardWillShowNotification and parsing the pNotification parameter for
 it's size.
 
  Cheers
 
  Monte
 
 
  On 21/09/2012, at 9:29 AM, Andre Garzia wrote:
 
  Do we all agree that this is worth asking for an enhancement?
 
  On Wed, Sep 19, 2012 at 12:46 PM, Ralph DiMola 
 rdim...@evergreeninfo.netwrote:
 
  Colin,
 
  Thanks, the upper 3rd is my current solution. Getting message whenever
 the
  working rect changes with a list rect(s) of open real-estate would
 allow me
  to deal with this, or I can just keep all input fields in the upper
 3rd.
 
  Ralph DiMola
  IT Director
  Evergreen Information Services
  rdim...@evergreeninfo.net
 
 
  -Original Message-
  From: use-livecode-boun...@lists.runrev.com
  [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of Colin
 Holgate
  Sent: Wednesday, September 19, 2012 11:26 AM
  To: How to use LiveCode
  Subject: Re: detect keyboard height on mobile
 
  The situation is more complicated than you may be thinking. On iOS you
 can
  split the keyboard into two halves that slide up to half way, or you
 can
  undock and the keyboard remains intact, but sits halfway up the
 screen. You
  may want to always make sure that important text into fields are in
 the top
  third of the screen.
 
 
  On Sep 19, 2012, at 11:20 AM, Ralph DiMola 
 rdim...@evergreeninfo.net
  wrote:
 
  I am running into the same issue on iOS also as I use generic resizing
  SW.
  The rect of the real-estate remaining would be nice to know.
 
  ___
  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
 
 
 
 
  --
  http://www.andregarzia.com -- All We Do Is Code.
  http://fon.nu -- minimalist url shortening service.
  ___
  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
 
  --
  M E R Goulding
  Software development services
  Bespoke application development for vertical markets
 
  mergExt - There's an external for that!
 
 
  ___
  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
 

 Dr Terry Judd
 Senior Lecturer in Medical Education
 Medical Eduction Unit
 Faculty of Medicine, Dentistry  Health Sciences
 The University of Melbourne





 ___
 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




-- 
http://www.andregarzia.com -- All We Do Is Code.
http://fon.nu -- minimalist url shortening service.
___
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: detect keyboard height on mobile

2012-09-20 Thread Monte Goulding
Not really, basically if you are poking around apple docs and you see there is 
a notification about something and you need it then you can use mergNotify to 
get it.

For example if you go here: 
https://developer.apple.com/library/ios/#documentation/UIKit/Reference/UIWindow_Class/UIWindowClassReference/UIWindowClassReference.html

Scroll to the bottom you will see the notifications related to UIWindow.

Cheers

Monte
On 21/09/2012, at 11:03 AM, Terry Judd wrote:

 Monte - is there a list of notification messages that mergNotify could 
 potentially act on anywhere?
 
 Terry...

--
M E R Goulding 
Software development services
Bespoke application development for vertical markets

mergExt - There's an external for that!

___
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: detect keyboard height on mobile

2012-09-20 Thread Monte Goulding
I agree although an alternative might be a rect parameter to keyboardActivated. 
Hmm... I haven't done much LC android stuff because of the no externals issue. 
I see keyboardActivated is iOS only. How are you dealing with that?

On 21/09/2012, at 11:25 AM, Andre Garzia wrote:

 I think the working screen rect should change if the keyboard is visible in
 my opinion.

--
M E R Goulding 
Software development services
Bespoke application development for vertical markets

mergExt - There's an external for that!

___
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: detect keyboard height on mobile

2012-09-20 Thread Andre Garzia
On Thu, Sep 20, 2012 at 10:36 PM, Monte Goulding 
mo...@sweattechnologies.com wrote:

 I agree although an alternative might be a rect parameter to
 keyboardActivated. Hmm... I haven't done much LC android stuff because of
 the no externals issue. I see keyboardActivated is iOS only. How are you
 dealing with that?


I have a specific card for text input. When the user selects an input from
a form, he is driven to that card that acts like a modal. The input field
there is placed very high so there is a strong chance of it being visible
but this is not the best solution.




 On 21/09/2012, at 11:25 AM, Andre Garzia wrote:

  I think the working screen rect should change if the keyboard is visible
 in
  my opinion.

 --
 M E R Goulding
 Software development services
 Bespoke application development for vertical markets

 mergExt - There's an external for that!

 ___
 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




-- 
http://www.andregarzia.com -- All We Do Is Code.
http://fon.nu -- minimalist url shortening service.
___
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: Show/hide problem

2012-09-20 Thread J. Landman Gay

On 9/20/12 6:40 PM, Bob Sneidar wrote:

What is the nature of the group you are showing or hiding? Is it a
datagrid? It's my opinion that preOpenStack should be used only for
things that need to happen before the stack opens. If it can be put
into an openStack handler, put it there.


Maybe datagrids are a different beast, but I've never had trouble with 
preopencard. Its purpose is to allow us to set up everything before the 
card is drawn to screen, so that's what I use it for.



If you are trying to show a
group on a card in a preOpenCard or preOpenStack handler, technically
the group doesn't exist in memory yet. (Someone will correct me if I
am wrong).


Okay. :) I thought that too for 20 years, but it's wrong. I was 
corrected a couple of years ago by Mark Waddingham when I reported an 
erroneous bug against it.


Logic and intuition both told me that each message would fire 
sequentially as stack parts were loaded into memory. I operated on that 
assumption forever. Turns out it isn't true. The whole stack is loaded 
completely, THEN the messages are sent. To paraphrase Mark, otherwise 
there wouldn't be any card to send the messages to.


Right. Duh. But then, I always feel a little stupid after talking with him.


What I do if I do not want the end user to see a bunch of
setup stuff like showing and hiding objects on a card, is I put a
lock screen in the preOpenCard handler, then I do all my setup stuff
in the openCard handler. As soon as all the scripts are done, the
screen will automatically unlock and refresh.


Shouldn't be necessary. I never bother.

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


Re: detect keyboard height on mobile

2012-09-20 Thread Monte Goulding
 I agree although an alternative might be a rect parameter to
 keyboardActivated. Hmm... I haven't done much LC android stuff because of
 the no externals issue. I see keyboardActivated is iOS only. How are you
 dealing with that?
 
 
 I have a specific card for text input. When the user selects an input from
 a form, he is driven to that card that acts like a modal. The input field
 there is placed very high so there is a strong chance of it being visible
 but this is not the best solution.


It would be much simpler to have a cross platform modal for text editing. 
Perhaps single and multiline options.

--
M E R Goulding 
Software development services
Bespoke application development for vertical markets

mergExt - There's an external for that!

___
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: Show/hide problem

2012-09-20 Thread Peter Haworth
Hi Jacque,
I don't know if I'm just unlucky or what but see my other current post
about preOpenCard issues.  I just moved all the preOpenCard code to
openCard and now all my problems are gone well at least the Livecode
ones. OK, SOME of the Livecode ones.
Pete
lcSQL Software http://www.lcsql.com



On Thu, Sep 20, 2012 at 6:35 PM, J. Landman Gay jac...@hyperactivesw.comwrote:

 Maybe datagrids are a different beast, but I've never had trouble with
 preopencard. Its purpose is to allow us to set up everything before the
 card is drawn to screen, so that's what I use it for.
___
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: detect keyboard height on mobile

2012-09-20 Thread Terry Judd

On 21/09/2012, at 11:47 AM, Monte Goulding wrote:

 I agree although an alternative might be a rect parameter to
 keyboardActivated. Hmm... I haven't done much LC android stuff because of
 the no externals issue. I see keyboardActivated is iOS only. How are you
 dealing with that?
 
 
 I have a specific card for text input. When the user selects an input from
 a form, he is driven to that card that acts like a modal. The input field
 there is placed very high so there is a strong chance of it being visible
 but this is not the best solution.
 
 
 It would be much simpler to have a cross platform modal for text editing. 
 Perhaps single and multiline options.

I'd be happy with that.

Dr Terry Judd
Senior Lecturer in Medical Education
Medical Eduction Unit
Faculty of Medicine, Dentistry  Health Sciences
The University of Melbourne





___
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: Show/hide problem

2012-09-20 Thread Terence Blyth
I have tried and shifted all code to the openCard from preOpenCard, this has 
not fixed the problem. It is interesting that my resizing of controls looks 
different when running from the two different handlers.
I will try a new card stack tonight to see if I can recreate the problem.
Thanks for all your help

Cheers 

Terence Blyth 
Managing Director
Computer Technologies Ltd 
  
Computer Technologies Ltd 
27 Selwyn Place,
Nelson City
Nelson 7014
Email: 
tere...@ctec.co.nz 
Phone: 
+64 3 545 9001
Fax: 
+64 3 545 9002
Mobile: 
+64 21 220 5670 
  

  
 Please consider the environment before printing this email. 
  
All information contained in this e-mail is confidential and may be legally 
privileged. It is intended only for the designated addressee and cannot be 
passed on to any third party without the express written consent of Computer 
Technologies. If you are not the intended recipient, any disclosure, copying, 
distribution or action taken or omitted to be taken in reliance on it, is 
prohibited and may be Unlawful. 


-Original Message-
From: use-livecode-boun...@lists.runrev.com 
[mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of Peter Haworth
Sent: Friday, 21 September 2012 1:58 p.m.
To: How to use LiveCode
Subject: Re: Show/hide problem

Hi Jacque,
I don't know if I'm just unlucky or what but see my other current post about 
preOpenCard issues.  I just moved all the preOpenCard code to openCard and now 
all my problems are gone well at least the Livecode ones. OK, SOME of 
the Livecode ones.
Pete
lcSQL Software http://www.lcsql.com



On Thu, Sep 20, 2012 at 6:35 PM, J. Landman Gay jac...@hyperactivesw.comwrote:

 Maybe datagrids are a different beast, but I've never had trouble with 
 preopencard. Its purpose is to allow us to set up everything before 
 the card is drawn to screen, so that's what I use it for.
___
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: detect keyboard height on mobile

2012-09-20 Thread Andre Garzia
 It would be much simpler to have a cross platform modal for text editing.
 Perhaps single and multiline options.


Except sometimes you wish your editing was not modal... A client complained
about the modal editing, he wanted me to provide in-place editing for the
apps forms but since they were complex forms that went below the the middle
of the card, I could not provide in-place editing because the keyboard
would launch on top of the fields.

My solution was to hard code some modal inputs which is not bad but still I
need to figure out where to place the controls on the modal input card. For
example is my ok button too far down that it will overlap with the
keyboard? This is a hard question to answer. Not all inputs are single
line. Sometimes you have a text area input, how tall can this text area be
before it overlaps with the keyboard?

I want the working screenrect to tell me that information. =)




 --
 M E R Goulding
 Software development services
 Bespoke application development for vertical markets

 mergExt - There's an external for that!

 ___
 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




-- 
http://www.andregarzia.com -- All We Do Is Code.
http://fon.nu -- minimalist url shortening service.
___
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: Can I develop my IOS app away from my home computer?

2012-09-20 Thread Guglielmo Braguglia

Hi Howard,
the solution is AirLaunch : 
http://hyperactivesw.com/airlaunch/index.html  ... a very useful plugin 
for LiveCode. :-)


Guglielmo


On 21.09.2012 07:16, Howard Bornstein wrote:

I need to be somewhere away from home for several weeks and want to
continue to develop my IOS app while away. I can bring LC and the SDK to
this computer. So I know I can develop code and check it in the simulator.
But is there any way I can get an app loaded on my iphone to test when I am
not near my home computer?


As far as I can tell, iTunes won't sync with my iPhone (which would allow
an updated version of my app to get loaded on the phone) unless I sync to
the computer where I originally set up my iPhone (ok, it will, but it will
wipe out everything currently on my phone). Is there any other way I can
get a new, compiled mobile standalone to upload onto my phone without
syncing to my home computer? I haven't used Xcode for this but is there a
way to upload an app directly to the iPhone using Xcode and bypassing
iTunes altogether? If so, would someone please describe the steps to
someone who has only used LC/iTunes to get apps onto their phone?


I am in your debt.



___
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: Can I develop my IOS app away from my home computer?

2012-09-20 Thread William de Smet
Hi Howard,

You can use Dropbox for this. Compile an app with one button. The button is 
linked to a stack op Dropbox. Put the app on your iPhone. Use LC to edit the 
stack on Dropbox. Refreshing the app on your iPhone gives you the latest 
changes. Scott Rossi put this on the list a few months ago.

Greetings, 

William

Verstuurd vanaf mijn iPhone

Op 21 sep. 2012 om 07:16 heeft Howard Bornstein bornst...@designeq.com het 
volgende geschreven:

 I need to be somewhere away from home for several weeks and want to
 continue to develop my IOS app while away. I can bring LC and the SDK to
 this computer. So I know I can develop code and check it in the simulator.
 But is there any way I can get an app loaded on my iphone to test when I am
 not near my home computer?
 
 
 As far as I can tell, iTunes won't sync with my iPhone (which would allow
 an updated version of my app to get loaded on the phone) unless I sync to
 the computer where I originally set up my iPhone (ok, it will, but it will
 wipe out everything currently on my phone). Is there any other way I can
 get a new, compiled mobile standalone to upload onto my phone without
 syncing to my home computer? I haven't used Xcode for this but is there a
 way to upload an app directly to the iPhone using Xcode and bypassing
 iTunes altogether? If so, would someone please describe the steps to
 someone who has only used LC/iTunes to get apps onto their phone?
 
 
 I am in your debt.
 
 -- 
 Regards,
 
 Howard Bornstein
 ---
 www.designeq.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: Show/hide problem

2012-09-20 Thread J. Landman Gay

On 9/20/12 8:58 PM, Peter Haworth wrote:

Hi Jacque,
I don't know if I'm just unlucky or what but see my other current post
about preOpenCard issues.  I just moved all the preOpenCard code to
openCard and now all my problems are gone well at least the Livecode
ones. OK, SOME of the Livecode ones.


In this particular case, I'd suspect the frontscript. If it's the one 
I'm thinking of, it duplicates some of LiveCode's frontscript (which I 
understand is necessary for what you want to do.) I'd guess that moving 
it down the message path avoids some conflict. That might be why any 
type of delay fixes it too; the IDE's script gets a chance to run first.


Just a guess.

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


Re: Can I develop my IOS app away from my home computer?

2012-09-20 Thread Monte Goulding
Take a look at mergTestApp's fruitstrap button ;-)

As you will have LC, Xcode, your phone and your cord you will be set.

Cheers

Monte
On 21/09/2012, at 3:16 PM, Howard Bornstein wrote:

 I need to be somewhere away from home for several weeks and want to
 continue to develop my IOS app while away. I can bring LC and the SDK to
 this computer. So I know I can develop code and check it in the simulator.
 But is there any way I can get an app loaded on my iphone to test when I am
 not near my home computer?
 
 
 As far as I can tell, iTunes won't sync with my iPhone (which would allow
 an updated version of my app to get loaded on the phone) unless I sync to
 the computer where I originally set up my iPhone (ok, it will, but it will
 wipe out everything currently on my phone). Is there any other way I can
 get a new, compiled mobile standalone to upload onto my phone without
 syncing to my home computer? I haven't used Xcode for this but is there a
 way to upload an app directly to the iPhone using Xcode and bypassing
 iTunes altogether? If so, would someone please describe the steps to
 someone who has only used LC/iTunes to get apps onto their phone?
 
 
 I am in your debt.
 
 -- 
 Regards,
 
 Howard Bornstein
 ---
 www.designeq.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

--
M E R Goulding 
Software development services
Bespoke application development for vertical markets

mergExt - There's an external for that!

___
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: Show/hide problem

2012-09-20 Thread J. Landman Gay

On 9/20/12 6:02 PM, lunchnmeets wrote:


I can't figure out where to put Choose Browse Tool it doesn't seem to
work in the preOpenStack handler.


The IDE sets the tool late in its startup sequence. Generally you have 
to call a handler to do the job after after a short period of time, 
which allows the IDE to finish:


on preOpenStack -- or openStack
 send chooseTool to me in 10 milliseconds -- adjust as necessary
end preOpenStack

on chooseTool
  choose browse tool
end chooseTool


Let me know if you think of a direction for me to go.


Hard to say without knowing what the script does. If you can post a 
relevant portion of your scripts maybe we can spot something.


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