Check for first run

2011-04-17 Thread Maarten Koopmans
Hi, Is there a best practice for checking if the application is on a first run for a standalone(especially one that will go to an App store eventually)? I simply need to ask the user a few questions on first run (and set up a sqlite db). Best, Maarten

Re: Check for first run

2011-04-17 Thread Gerry
Check for a local file - if it isn't there you can be sure that it is the first time the app has been launched. After you ask your user your questions, write the file. On subsequent launches when you check for the file...it's there, so skip the questions. So on openstack do: put

Re: Rev/Livecode project and GPL Licenses

2011-04-17 Thread Peter Brigham MD
On Apr 15, 2011, at 10:14 AM, Richard Gaskin wrote: Scott McDonald wrote: Thanks Mark for clarifying that. Where I was getting it mixed up, was that I was equating selling commercially with not making the source code available. But of course, they are not the same thing. Not exactly

Re: Rev/Livecode project and GPL Licenses

2011-04-17 Thread Klaus on-rev
Hi all, On Apr 15, 2011, at 10:14 AM, Richard Gaskin wrote: Scott McDonald wrote: Thanks Mark for clarifying that. Where I was getting it mixed up, was that I was equating selling commercially with not making the source code available. But of course, they are not the same thing. Not

Resizing a datagrid form

2011-04-17 Thread Klaus on-rev
Hi friends, is it possible to resize the content of a datagrid form when the stack resizes? I mean the CONTENTS of the datagrid form, not only the groups rect! Know what I mean? Any hint very welcome :-) Best Klaus -- Klaus Major http://www.major-k.de kl...@major.on-rev.com

iphone/ipad 2 app -- can this work?

2011-04-17 Thread Richard Miller
Having spent no time yet with the iphone/ipad side of LiveCode, I have a few basic questions that apply to an app I'd like to build. 1. Is the built-in camera readily accessible through LC to control capturing video? 2. Could a bluetooth keypad be used to activate, perhaps, 8-10 different

Re: weekdaynames

2011-04-17 Thread Francis Nugent Dixon
Hi from Beautiful Brittany, Klaus, This won't help you at all, but it will explain why Sunday is considered as the first day of the week, http://www.cjvlang.com/Dow/SunMon.html although there appears to be a recent swing to Monday instead of Sunday. Because Monday is now the official choice

Re: weekdaynames

2011-04-17 Thread René Micout
Very good !! Très intéressant !! Rene(é) Le 17 avr. 2011 à 18:17, Francis Nugent Dixon a écrit : Hi from Beautiful Brittany, Klaus, This won't help you at all, but it will explain why Sunday is considered as the first day of the week, http://www.cjvlang.com/Dow/SunMon.html although

Android Phone

2011-04-17 Thread Dan Friedman
Gentlemen, I know nothing about the Android. I am a iPhone user. As I am about to embark on writing for the Android, I thought I should have one to test on. A friend of a friend got a new phone and has offered me his old Android phone for $40. It is a T-Mobile Android G1. It's white and

Re: Check for first run

2011-04-17 Thread dunbarx
Hi. Couldn't you set a custom property that is initially set to unopened, and then set to mature after your questions? The app checks the property each time it opens, and, of course, it mostly finds mature. -Original Message- From: Maarten Koopmans maarten.koopm...@gmail.com To:

Re: Data-Entry in a LiveCode form using the tab key

2011-04-17 Thread dunbarx
Mike is correct of course. Sometimes though, it is either inconvenient or counterproductive to re-order the fields. You can always trap the tabKey message and explicitly select the text of the field you want: on tabKey select the text of fld yourNextField end tabKey Put this in all the

Re: Check for first run

2011-04-17 Thread J. Landman Gay
On 4/17/11 12:56 PM, dunb...@aol.com wrote: Hi. Couldn't you set a custom property that is initially set to unopened, and then set to mature after your questions? The app checks the property each time it opens, and, of course, it mostly finds mature. A standalone can't save changes to

Re: Check for first run

2011-04-17 Thread dunbarx
Jacques. There was to be a connection to an sql database, so I assumed that the stack in question was not the executable. Craig -Original Message- From: J. Landman Gay jac...@hyperactivesw.com To: How to use LiveCode use-livecode@lists.runrev.com Sent: Sun, Apr 17, 2011 2:13 pm

Re: Data-Entry in a LiveCode form using the tab key

2011-04-17 Thread Jim Ault
On Apr 17, 2011, at 11:11 AM, dunb...@aol.com wrote: on tabKey select the text of fld yourNextField end tabKey Put this in all the fields in your tab order and designate the one to follow. Craig Newman and using Craig's technique, you can go to a 'next field' based on the user input in

Re: Android Phone

2011-04-17 Thread Andre Garzia
check the nexus s, it is a better phone or the nexus one, the G1 is terribly underpowered by current standards. On Sun, Apr 17, 2011 at 2:11 PM, Dan Friedman d...@clearvisiontech.comwrote: Gentlemen, I know nothing about the Android. I am a iPhone user. As I am about to embark on writing

Re: Check for first run

2011-04-17 Thread Warren Samples
On Sunday, April 17, 2011 01:42:28 AM Maarten Koopmans wrote: Hi, Is there a best practice for checking if the application is on a first run for a standalone(especially one that will go to an App store eventually)? I simply need to ask the user a few questions on first run (and set up a

Re: Check for first run

2011-04-17 Thread Pete
Even if the db does exist, just set a value into a column in in to indicate initialisation has occurred. Pete Molly's Revenge http://www.mollysrevenge.com On Sun, Apr 17, 2011 at 1:38 PM, Warren Samples war...@warrensweb.uswrote: On Sunday, April 17, 2011 01:42:28 AM Maarten Koopmans wrote:

Re: Data-Entry in a LiveCode form using the tab key

2011-04-17 Thread Pete
I like that! Might even be good to have a custom property that defines the next field? Pete Molly's Revenge http://www.mollysrevenge.com On Sun, Apr 17, 2011 at 11:11 AM, dunb...@aol.com wrote: Mike is correct of course. Sometimes though, it is either inconvenient or counterproductive to

Re: Rev/Livecode project and GPL Licenses

2011-04-17 Thread Richard Gaskin
Peter Brigham wrote: On Apr 15, 2011, at 10:14 AM, Richard Gaskin wrote: Scott McDonald wrote: Where I was getting it mixed up, was that I was equating selling commercially with not making the source code available. But of course, they are not the same thing. Not exactly the same, but

Re: Data-Entry in a LiveCode form using the tab key

2011-04-17 Thread dunbarx
Now you're cooking. If you do this you can have a single handler at the card or stack level instead of millions of local handlers. Just check the property, and where it is directing towards: on tabKey if the tabGizmo is not then select the text of the tabGizmo end tabKey This property

Palette question

2011-04-17 Thread Pete
I must be missing something obvious but how do you prevent a palette window from being resized? When I open a stack in palette mode, it still has the little resize icon at the bottom right but I see the LC tools palette doesn;t have that. Thanks, Pete Molly's Revenge

Re: Palette question

2011-04-17 Thread Mike Bonner
To do it in code, set the resizable of stack stack to false or can do it in the inspector. On Sun, Apr 17, 2011 at 7:04 PM, Pete p...@mollysrevenge.com wrote: I must be missing something obvious but how do you prevent a palette window from being resized? When I open a stack in palette mode,

Re: This Connection is Untrusted

2011-04-17 Thread -=JB=-
Thanks for the info, Sarah. -=JB=- On Apr 17, 2011, at 4:28 PM, Sarah Reichelt wrote: On Fri, Apr 15, 2011 at 9:37 PM, -=JB =- sund...@pacifier.com wrote: I just tried to connect to my On-Rev cPanel and received the message, This Connection is Untrusted What is going on? It also