Struggling with native iOS text input

2015-07-08 Thread Magicgate Software - Skip Kimpel
Good morning LC'ers, I am struggling with native iOS text input fields. Can anybody lead me to some working examples so I can get my app cranking? I took a look at a resource online but it does not seem to work.

Re: Database Input Validation

2015-07-08 Thread Pascal Lehner
Hi Peter Thanks for the link, your webinar stuff does provide some valuable information :-) I saw your work on SQLMagic.. is there any ETA? Best, Pascal 2015-07-07 18:24 GMT+02:00 Peter Haworth p...@lcsql.com: Hi Pascal, Sounds like I may have misunderstood your original question. I'm a

RE: Best way to check if a Field is a label?

2015-07-08 Thread FlexibleLearning.com
Hi Peter As you will have gathered, there is no label property as such, simply a field with pre-defined attributes including lockText. It depends what you are trying to do and why you need to identify them, but if you need to regularly test the easiest way may be to manually specify a

Best way to check if a Field is a label?

2015-07-08 Thread Peter W A Wood
At the moment I’m checking the lockText property to distinguish a Label Field. Is there a better or more reliable way? Regards Peter ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage

AW: how to get an option button with a full size icon?

2015-07-08 Thread Tiemo Hollmann TB
For anybody who will get into this in future, I found the solution. Setting the margin (which is a text property) to 0, aligns the icon to the button border. Setting the borderWidth (which is an icon property) to x gets the text again off the border. A bit paradox, but the result counts. Tiemo

Re: Best way to check if a Field is a label?

2015-07-08 Thread Peter W A Wood
Thanks, Hugh I’m trying to find the best way to clear all the fields in which data can be entered on a card. At the moment I use this code: repeat with y = 1 to the number of fields of this card if not the lockText of Field y then put empty into Field y end if end repeat It

Re: atom editor and livecode server files syntax package available

2015-07-08 Thread Peter TB Brett
On 2015-07-03 17:42, Warren Samples wrote: For those of you who don't participate in the forums for whatever reason, but are interested in livecode server, forum user ghettocottage has converted the TextMate revigniter-livecode syntax module for the cross-platform Atom Text Editor and made it

Re: Best way to check if a Field is a label?

2015-07-08 Thread Mike Bonner
I name my fields with a trailing L or F which lets you do the same thing as using a custom prop. repeat with i = 1 to the number of fields of this card if (the last char of the short name of field i is F) then put random(1525434) into field i end repeat On Wed, Jul 8, 2015 at 4:27

Re: Best way to check if a Field is a label?

2015-07-08 Thread Peter W A Wood
That’s a good tip. Thanks Mike On 8 Jul 2015, at 21:11, Mike Bonner bonnm...@gmail.com wrote: I name my fields with a trailing L or F which lets you do the same thing as using a custom prop. repeat with i = 1 to the number of fields of this card if (the last char of the short name

Re: Best way to check if a Field is a label?

2015-07-08 Thread Richard Gaskin
Mike Bonner wrote: I name my fields with a trailing L or F which lets you do the same thing as using a custom prop. Same here. The first three letters are lbl, and if I don't need to handle them in a resizeStack message that's usually their whole name. But if I do need to identify them

Re: Best way to check if a Field is a label?

2015-07-08 Thread Mark Wieder
On 07/08/2015 07:24 AM, Richard Gaskin wrote: Same here. The first three letters are lbl, and if I don't need to handle them in a resizeStack message that's usually their whole name. But if I do need to identify them individually, then it's lbl the short name of whatever field they relate to.

Re: Best way to check if a Field is a label?

2015-07-08 Thread J. Landman Gay
I do something similar by naming the field with either a suffix -lbl or just lbl alone. Then the field scan can just check whether the name contains lbl. On July 8, 2015 5:27:08 AM CDT, Peter W A Wood peterwaw...@gmail.com wrote: Thanks, Hugh I’m trying to find the best way to clear all the

Re: Multitouch displays and Livecode?

2015-07-08 Thread Richard Gaskin
Matthias Rebbe wrote: i see your request is from 2009. How can be reactivate that request. I fear it´s forgotten at Livecode. Feature requests not marked as Closed are still open. There's no guarantee of course that all feature requests will be implemented immediately, and given the many

Re: Multitouch displays and Livecode?

2015-07-08 Thread Richard Gaskin
Matthias Rebbe wrote: today i was asked by a Director developer if LiveCode supports Multitouch screens/displays on Windows 8. He needs to track 1-finger and 2-finger touches. 1-finger touches i would assume are normal mouse clicks, but what about 2-finger touches. Is this possible with

Re: Multitouch displays and Livecode?

2015-07-08 Thread Matthias Rebbe | M-R-D
Richard, i see your request is from 2009. How can be reactivate that request. I fear it´s forgotten at Livecode. Matthias Am 08.07.2015 um 17:45 schrieb Richard Gaskin ambassa...@fourthworld.com: Matthias Rebbe wrote: today i was asked by a Director developer if LiveCode supports

Multitouch displays and Livecode?

2015-07-08 Thread Matthias Rebbe | M-R-D
Hi, today i was asked by a Director developer if LiveCode supports Multitouch screens/displays on Windows 8. He needs to track 1-finger and 2-finger touches. 1-finger touches i would assume are normal mouse clicks, but what about 2-finger touches. Is this possible with LC? Regards, Matthias

Re: How can I strip away formatting from an RTF file?

2015-07-08 Thread J. Landman Gay
On 7/8/2015 12:31 PM, Devin Asay wrote: Another trick I’ve learned (unless it’s been changed recently) is thatusing ‘replace’ on a field strips formatting. replace space with space in fld “myRTF” I usually skip the intermediary and just do: set the RTFText of field File Text to url

Re: LiveCode Server - where to start?

2015-07-08 Thread J. Landman Gay
Thanks, both of you. I almost never log into my account, I always download directly from the public download page, so I assumed all available builds were there. It's odd that the commercial edition of the IDE/engine is listed there but not the commercial edition of server. On 7/7/2015 4:01

Re: How can I strip away formatting from an RTF file?

2015-07-08 Thread Devin Asay
On Jul 8, 2015, at 11:58 AM, Richard Gaskin ambassa...@fourthworld.com wrote: Replacing a single character should ideally only affect the text style for that character, even if it occurs in multiple places, so personally I would consider the second example a bug if it strips all styles from

Re: How can I strip away formatting from an RTF file?

2015-07-08 Thread Devin Asay
On Jul 8, 2015, at 12:20 PM, J. Landman Gay jac...@hyperactivesw.com wrote: I usually skip the intermediary and just do: set the RTFText of field File Text to url (file: longFileName) put fld File Text into fld File Text” Right, that works, and is the least messy way if you don’t need to

Re: LiveCode Server - where to start?

2015-07-08 Thread Devin Asay
On Jul 8, 2015, at 12:24 PM, J. Landman Gay jac...@hyperactivesw.com wrote: Thanks, both of you. I almost never log into my account, I always download directly from the public download page, so I assumed all available builds were there. It's odd that the commercial edition of the IDE/engine

How can I strip away formatting from an RTF file?

2015-07-08 Thread Gregory Lypny
Hi everyone, I imported an RTF file and put it into a field using set the RTFText of field File Text to url (file: longFileName) Of course, the text in the field is formatted as in the file that was imported. How can I import the text while stripping away the formatting, which I do not

Re: How can I strip away formatting from an RTF file?

2015-07-08 Thread Devin Asay
On Jul 8, 2015, at 11:24 AM, Gregory Lypny gregory.ly...@videotron.ca wrote: Hi everyone, I imported an RTF file and put it into a field using set the RTFText of field File Text to url (file: longFileName) Of course, the text in the field is formatted as in the file that was

Re: How can I strip away formatting from an RTF file?

2015-07-08 Thread Richard Gaskin
Devin Asay wrote: On Jul 8, 2015, at 11:24 AM, Gregory Lypny wrote: I imported an RTF file and put it into a field using set the RTFText of field File Text to url (file: longFileName) Of course, the text in the field is formatted as in the file that was imported. How can I import the

Using sudo in shell

2015-07-08 Thread Glen Bojsza
I was wondering if there is a way to do a shell that has sudo in it? On the first attempt (Note dart is an internal application) put shell (sudo dart) I get the following error message sudo: no tty present and no askpass program specified Is there any way to run sudo from the shell? thanks,

Re: How can I strip away formatting from an RTF file?

2015-07-08 Thread Thierry Douez
2015-07-08 19:24 GMT+02:00 Gregory Lypny gregory.ly...@videotron.ca: Hi everyone, I imported an RTF file and put it into a field using set the RTFText of field File Text to url (file: longFileName) after your line of code, do: put fld File Text into fld File Text HTH, Thierry

Re: Using sudo in shell

2015-07-08 Thread Thierry Douez
Hi Glen, Not knowing your context, this might not be what you are looking for. but as a start? http://superuser.com/questions/256981/non-interactive-ssh-sudo-prompts-for-the-password-in-plain-text Regards, Thierry Thierry Douez -

Re: Using sudo in shell

2015-07-08 Thread Glen Bojsza
Hi Thierry, I already can modify my system so I won't be prompted for a password as noted in your link but I need something so it will work on systems that are not modified. Since this is being done locally on the machine the ssh -t option won't help. regards, On Wed, Jul 8, 2015 at 1:54 PM,

Stacks that won't delete

2015-07-08 Thread J. Landman Gay
Has anyone seen an issue where the delete this stack command in a script doesn't remove the stack from RAM? I have an auto-build tool that creates a lot of stacks and issues that command after each one is saved to disk. For a couple of years now it's worked fine. Suddenly it stopped working

Re: How can I strip away formatting from an RTF file?

2015-07-08 Thread Gregory Lypny
Thanks everyone! Paste the RTF field into another field: formatting gone. Gregory ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences:

Re: LiveCode Server - where to start?

2015-07-08 Thread Peter Haworth
Crazy ideas can be true too :-) On Wed, Jul 8, 2015 at 12:25 PM Richard Gaskin ambassa...@fourthworld.com wrote: J. Landman Gay wrote: You and Richard both came up with the same thought so it must be true. :) By itself that's no indicator of truth. After all, Devin and I have a few

Re: LiveCode Server - where to start?

2015-07-08 Thread Richard Gaskin
J. Landman Gay wrote: You and Richard both came up with the same thought so it must be true. :) By itself that's no indicator of truth. After all, Devin and I have a few crazy ideas in common. :) -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop,

Re: Using sudo in shell

2015-07-08 Thread Mike Bonner
Not sure if this will work for what you need, but can you just open elevated process.. to start your process with privileges? The user would have to be able to provide a password of course. Alternatively, and NOT recommended (because its asking for trouble) you can do this.. echo passwordhere

OT: Looking to Hire

2015-07-08 Thread Brahmanathaswami
I'm looking to hire someone to help with our RevIgniter web site and we server. http://www.himalayanacademy.com [side note... is there some kind of job exchange thing over on the forums? I don't see it, but I want to post over there too... if so what is the best forum to use?] This is not

Re: Stacks that won't delete

2015-07-08 Thread Peter Haworth
Probably not helpful, but I've had issues for a long time with delete stack not removing it from RAM, over several releases of LC. It usually manifests itself when I save as, followed by a delete stack, followed by opening the original stack, at which point I get the dreaded message about

Re: Struggling with native iOS text input

2015-07-08 Thread Scott Morrow
I’m not sure what issue that you are having with tmControl2. Can you provide us with some code that isn’t working correctly. Maybe we can spot something. — Scott Morrow Elementary Software (Now with 20% less chalk dust!) web http://elementarysoftware.com/ email

Re: Best way to check if a Field is a label?

2015-07-08 Thread Dr. Hawkins
On Wed, Jul 8, 2015 at 3:27 AM, Peter W A Wood peterwaw...@gmail.com wrote: I’m trying to find the best way to clear all the fields in which data can be entered on a card. At the moment I use this code: Situation dependent, of course, but I have sections with things like switch case

Re: how to check for unnecessary local declarations?

2015-07-08 Thread Peter M. Brigham
Late to the party, but here's another approach (not fully tested). Iterate the function over the full list of stacks/cards/controls of your stacks. -- Peter Peter M. Brigham pmb...@gmail.com http://home.comcast.net/~pmbrig --- function findUnusedLocals pObjRef -- returns a

Re: LiveCode Server - where to start?

2015-07-08 Thread Richard Gaskin
J. Landman Gay wrote: I almost never log into my account, I always download directly from the public download page, so I assumed all available builds were there. It's odd that the commercial edition of the IDE/engine is listed there but not the commercial edition of server. I'd guess it's

Re: LiveCode Server - where to start?

2015-07-08 Thread J. Landman Gay
On 7/8/2015 1:31 PM, Devin Asay wrote: On Jul 8, 2015, at 12:24 PM, J. Landman Gay jac...@hyperactivesw.com wrote: Thanks, both of you. I almost never log into my account, I always download directly from the public download page, so I assumed all available builds were there. It's odd that the