Re: auto-rotation in 5.0.1/.02

2011-11-26 Thread Randy Hengst
Hi Mark,

I use a separate on startup handler in the stack script to set the allowed 
orientations.

on startUp
   --portrait,portrait upside down,landscape left,landscape right
   iphoneSetAllowedOrientations "landscape left,landscape right"
end startUp


Looking at your script, you added spaces after the commas…. in your 
comma-delimited list…. you can't do that.

be well,
randy hengst
-
On Nov 26, 2011, at 4:17 PM, Mark Smith wrote:

> Further to this I just wanted to add the following:
> 
> "To configure which orientations your application supports use:
> iphoneSetAllowedOrientations orientations
> Here orientations must be a comma-delimited list consisting of at least one
> of portrait, portrait
> upside down, landscape left and landscape right. The setting will take
> effect the next time an
> orientation change is effected – the interface's orientation will only be
> changed if the new
> orientation is among the configured list. You can query the currently
> allowed orientations with the
> iphoneAllowedOrientations() function."
> 
> I added the following code to my stack script:
> on preOpenStack
>   if the environment is "mobile" then
>  iphoneSetAllowedOrientations "portrait, portrait upside down,
> landscape left, landscape right"
>   end if
> end preOpenStack
> 
> global ncnt
> on orientationchanged
>   global ncnt
>   put ncnt + 1 into ncnt
>   put ncnt & " " &  iphoneallowedorientations() into fld "Selected" on card
> "home"
> end orientationchanged
> 
> 
> Now, each time I rotate the iphone ncnt is incrementing (1,2,3... etc) but I
> only get "portrait" reported for allowed orientations (even though I think I
> have set all orientations as allowed). And of course the program is not
> auto-rotating. Could someone kindly let me know what it is I am doing wrong? 
> 
> Many thanks
> 
> -- Mark
> 
> (LC version is 5.0.2 although I think the same problem exists in .0.1)
> 
> 
> --
> View this message in context: 
> http://runtime-revolution.278305.n4.nabble.com/auto-rotation-in-5-0-1-02-tp4111266p4111346.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: auto-rotation in 5.0.1/.02

2011-11-26 Thread Mark Smith
Further to this I just wanted to add the following:

"To configure which orientations your application supports use:
iphoneSetAllowedOrientations orientations
Here orientations must be a comma-delimited list consisting of at least one
of portrait, portrait
upside down, landscape left and landscape right. The setting will take
effect the next time an
orientation change is effected – the interface's orientation will only be
changed if the new
orientation is among the configured list. You can query the currently
allowed orientations with the
iphoneAllowedOrientations() function."

I added the following code to my stack script:
on preOpenStack
   if the environment is "mobile" then
  iphoneSetAllowedOrientations "portrait, portrait upside down,
landscape left, landscape right"
   end if
end preOpenStack

global ncnt
on orientationchanged
   global ncnt
   put ncnt + 1 into ncnt
   put ncnt & " " &  iphoneallowedorientations() into fld "Selected" on card
"home"
end orientationchanged


Now, each time I rotate the iphone ncnt is incrementing (1,2,3... etc) but I
only get "portrait" reported for allowed orientations (even though I think I
have set all orientations as allowed). And of course the program is not
auto-rotating. Could someone kindly let me know what it is I am doing wrong? 

Many thanks

-- Mark

(LC version is 5.0.2 although I think the same problem exists in .0.1)


--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/auto-rotation-in-5-0-1-02-tp4111266p4111346.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

auto-rotation in 5.0.1/.02

2011-11-26 Thread Mark Smith
Hi I just upgraded to 5.0.1 (and then .2 thinking that might solve the
following problem but it didn't). Gone from the standalone settings pane are
the options to set the "supported orientations" and in there place are new
options to set the initial orientation for iPad. A program that previously
rotated fine is now opening in whatever orientation I tell it initially but
then stays locked in that orientation. How can I get it to auto-rotate
again?

PS the release notes appear to be no help in this regard as it states pg 26:

On startup, the engine reads the settings of 'initial orientation' and
'supported orientations' from the
plist (as configured by the iOS standalone settings pane). It uses the
supported orientations it finds
to initialize the orientations allowed by autorotation (i.e.
iphoneSetAllowedOrientations), and the
initial orientation it finds to ensure the interface starts the correct way
round.
To ensure that your application works in only specific orientations from the
outset, you need only
configure the options in the standalone builder. In particular, you need
take no further action in
script.

Unfortunately I think the standalone builder is now missing these options
(or I missed where they have moved to)?

Thanks for any help

-- Mark



--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/auto-rotation-in-5-0-1-02-tp4111266p4111266.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: Accessing archives

2011-11-26 Thread Richmond

On 11/26/2011 08:06 PM, Jim Hurley wrote:

Wilhelm et. at.

Here is Heather's response to my question last Friday:


I had a similar reply to my query in the same vein. Although, they are 
taking quite a while to iron

things out.


Jim Hurley


On Nov 25, 2011, at  9:46 AM, use-livecode-requ...@lists.runrev.com wrote:


Message: 11
Date: Fri, 25 Nov 2011 07:59:33 +
From: Heather Nagey
To: How to use LiveCode
Subject: Re: Accessing archives
Message-ID:
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes

I am looking into it. I'll let the list know when it is fixed.

Regards,

Heather

On 25 Nov 2011, at 06:48, James Hurley wrote:


This problem has just come up within the last few days.   When I try
to access the RR archives at:

http://lists.runrev.com/pipermail/use-livecode/2011-November/date.html

I get the following message:
Forbidden

You don't have permission to access /pipermail/use-livecode/2011-
November/date.html on this server.

Additionally, a 404 Not Found error was encountered while trying to
use an ErrorDocument to handle the request.


Where does the problem lie?

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

Heather Nagey
Customer Services Manager
http://www.runrev.com/
LiveCode - Unleash Your Killer App


___
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: Accessing archives

2011-11-26 Thread Jim Hurley
Wilhelm et. at.

Here is Heather's response to my question last Friday:

Jim Hurley


On Nov 25, 2011, at  9:46 AM, use-livecode-requ...@lists.runrev.com wrote:

> Message: 11
> Date: Fri, 25 Nov 2011 07:59:33 +
> From: Heather Nagey 
> To: How to use LiveCode 
> Subject: Re: Accessing archives
> Message-ID: 
> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
> 
> I am looking into it. I'll let the list know when it is fixed.
> 
> Regards,
> 
> Heather
> 
> On 25 Nov 2011, at 06:48, James Hurley wrote:
> 
>> This problem has just come up within the last few days.   When I try  
>> to access the RR archives at:
>> 
>> http://lists.runrev.com/pipermail/use-livecode/2011-November/date.html
>> 
>> I get the following message:
>> Forbidden
>> 
>> You don't have permission to access /pipermail/use-livecode/2011- 
>> November/date.html on this server.
>> 
>> Additionally, a 404 Not Found error was encountered while trying to  
>> use an ErrorDocument to handle the request.
>> 
>> 
>> Where does the problem lie?
>> 
>> Jim
>> ___
>> 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
> 
> Heather Nagey
> Customer Services Manager
> http://www.runrev.com/
> LiveCode - Unleash Your Killer App


___
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: [BUG] - Scrollbars in LiveCode

2011-11-26 Thread Mark Schonewille
Hi,

Additionally, the up arrow of the scrollbar doesn't hilite in 5.0.1. Bummer. 
Any solutions? Scoll bars are an essential interface element and I need this to 
work properly.

--
Best regards,

Mark Schonewille

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

Become our partner in sales http://qery.us/1bq Start selling Color Converter 
today. 20% commission!

On 24 nov 2011, at 06:20, Kay C Lan wrote:

> On Thu, Nov 24, 2011 at 11:28 AM, J. Landman Gay
> wrote:
> 
>> 
>> You could try suspending the development environment and see if anything
>> is different. I don't know how conclusive that would be but it's a start.
>> 
>> I did one better. I downloaded a trial version of Bill Vlahos' InfoWallet,
> unfortunately the same bug effects standalones.



___
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: On-Rev mySQL security issues?

2011-11-26 Thread James Little
Hi Tim,

Take this advice with a grain of salt, since I'm a relative newbie at On-Rev 
and access to databases.

Recently, I've been exploring RevIgniter by Ralf Bitter.  In the RevIgniter 
documentation, he has a tutorial on using the RevIgniter JQuery Library for 
Ajax interaction on a website.  He also has good documentation on the 
RevIgniter Database Library.  With this guidance, I've been able to include 
several auto-updating text boxes on a webpage that load information to my 
webpage from a mySQL table on my On-Rev account.  Ralf Bitter does address 
security issues in the documentation.   I am still struggling with using 
drop-down buttons to access database data.  Also, I've not tried to upload 
pictures, which you may need for a catalog.  

This approach does involve a learning curve to be able to use RevIgniter but 
the documentation is very good.  

I am using Coda with a LiveCoda-HTML mode posted 12Oct2011 on the Users Forums 
by TheCore.  In the preferences for Coda, I then use TextMate as the primary 
editor for .lc and .rev files;  Ralf Bitter has a TextMate bundle for 
RevIgniter on the website.  

Hope this helps.

Regards,

Jim Little
Seattle, WA 



On Nov 26, 2011, at 7:51 AM, Tim Selander wrote:

> Hi,
> 
> I'm beginning to learn how to use  my on-rev.com account.
> 
> I am going to allow users to search a catalog, but no uploading and no data 
> entry or data editing...
> 
> What, if any, security problems do I need to consider? mySQL newbie...
> 
> Thanks,
> 
> Tim Selander
> Tokyo, Japan
> 
> ___
> 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


On-Rev mySQL security issues?

2011-11-26 Thread Tim Selander

Hi,

I'm beginning to learn how to use databases on my on-rev.com account.


I am going to allow users to search a catalog, but no uploading 
and no data entry or data editing...


What, if any, security problems do I need to consider? mySQL 
newbie...


Thanks,

Tim Selander
Tokyo, Japan

___
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: Access to archives

2011-11-26 Thread Alejandro Tejada
Hi Wilhelm,

Here, I receive the same results.

Al

--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Access-to-archives-tp4110061p4110273.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: Access to archives

2011-11-26 Thread André Bisseret
Bonjour Wilhelm,

I guess there is nothing wrong with your machine: I get the same message here 
(Mac OSX)
Don't know what's happening!

Best regards from Grenoble

André


Le 26 nov. 2011 à 11:24, Wilhelm Sanke a écrit :

> When I try to access the use-Livecode archives I get the following message:
> 
>> 
>>  Forbidden
>> 
>> You don't have permission to access /pipermail/use-livecode/ on this server.
>> 
>> Additionally, a 404 Not Found error was encountered while trying to use an 
>> ErrorDocument to handle the request.
>> 
> 
> Has there been a change in the procedure to access the archives or is 
> something wrong with my machine (Windows XP)?
> 
> Regards,
> 
> Wilhelm Sanke
> 


___
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


Access to archives

2011-11-26 Thread Wilhelm Sanke

When I try to access the use-Livecode archives I get the following message:



  Forbidden

You don't have permission to access /pipermail/use-livecode/ on this 
server.


Additionally, a 404 Not Found error was encountered while trying to 
use an ErrorDocument to handle the request.




Has there been a change in the procedure to access the archives or is 
something wrong with my machine (Windows XP)?


Regards,

Wilhelm Sanke

___
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