Re: "save as" of stack file from a script

2015-07-03 Thread Dr. Hawkins
On Fri, Jul 3, 2015 at 5:56 PM, Richard Gaskin wrote: > A mainstack has a filename property, which can be set from the value > returned from "ask file". Follow that with a save command and you're done. Wow. That easy. And it turns out that save can even take a filename argument . . . So it

Re: Datagrid Form

2015-07-03 Thread Phil Davis
Hi Pete, Try commenting out all the code inside your 'LayoutControl' handler and see if that changes your outcomes. Using the code you posted here, I was able to build a DG and populate two rows, but I commented out the layoutControl code for the test. Best - Phil Davis On 7/3/15 6:10 PM,

Re: [ANN] Super quick and easy deployment to plugged in iOS devices

2015-07-03 Thread J. Landman Gay
On 3 Jul 2015, at 5:08 pm, David Bovill wrote: Thanks Monte - what about for iOS. What is the latest on TestFlight and their ilk? I hesitate to suggest AirLaunch because I don't know how it would work with Apple's new personal testing mode. But if you're willing to have an Apple developer a

Re: Datagrid Form

2015-07-03 Thread Mike Bonner
Silly question, but do you have the "cache controls" box checked in the inspector for the datagrid? If you uncheck it, and click the refresh datagrid button, does the data show up? If so, is there anywhere that you are manually telling the datagrid to refresh in your code after the dg is populate

Re: "save as" of stack file from a script

2015-07-03 Thread Peter Haworth
What Richard said, except sounds like you know the filepath so just set the filename to it. Also be aware that when you "save as" the saved as version of the file becomes the one you are working on not the version that was in memory. On Fri, Jul 3, 2015 at 5:56 PM Richard Gaskin wrote: > Dr. Ha

Re: Datagrid Form

2015-07-03 Thread Peter Haworth
Hi Sri, Yes I tried a refresh (from the Inspector palette for the datagrid), didn't make any difference. Here's my FillIInData code. on FillInData pDataArray put pDataArray["Company Name"] into field "Company Name" of me put pDataArray["Address"] into field "Address" of me set the hili

Re: "save as" of stack file from a script

2015-07-03 Thread Richard Gaskin
Dr. Hawkins wrote: > Anyway, if anyone knows where "save as" goes so that I can set its > options and call it, it would be a great help. A mainstack has a filename property, which can be set from the value returned from "ask file". Follow that with a save command and you're done. -- Richard

"save as" of stack file from a script

2015-07-03 Thread Dr. Hawkins
Odd as it sounds, I want to do a "save as" of my stack from code, rather than hitting a dialog box. I have a prepCmpl routine to get the stack ready for building a standalone. I've previously set things up so that the various standalone options are set to what I want based on the file name (prima

Re: Datagrid Form

2015-07-03 Thread Sri
Hi Pete: I'd like to see the code (stripped down version). Also, did you try to manually refresh the datagrid and see (after stepping over some code)? Regards, Sri -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Datagrid-Form-tp4693596p4693598.html Sent from

Re: [ANN] Super quick and easy deployment to plugged in iOS devices

2015-07-03 Thread Monte Goulding
I haven't played with test flight since apple ruined it. Maybe look at test fairy? Sent from my iPhone > On 3 Jul 2015, at 5:08 pm, David Bovill wrote: > > Thanks Monte - what about for iOS. What is the latest on TestFlight and > their ilk? ___ use-

Datagrid Form

2015-07-03 Thread Peter Haworth
Can't believe I haven't used a datagrid form before but trying one for the first time this morning, following the instructions in the dg manual. Set the dg type to "form" Edited the row template to include a couple of fields and a check box Added a button that sets up an array keyed by the field/c

Re: how to check for unnecessary local declarations?

2015-07-03 Thread Mark Wieder
On 07/03/2015 11:11 AM, Peter Haworth wrote: Nice! Only thing I don't see is dealing with block comments - the things surrounded by "/*" and "*/" and possibly spanning several lines. There's some DRY cleanup that could be done as well. Feel free to make it better and submit the changes. It's a

Re: how to check for unnecessary local declarations?

2015-07-03 Thread Peter Haworth
Nice! Only thing I don't see is dealing with block comments - the things surrounded by "/*" and "*/" and possibly spanning several lines. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin

atom editor and livecode server files syntax package available

2015-07-03 Thread Warren Samples
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 available to all. You can install it directl

Re: menu buttons and showname

2015-07-03 Thread David Epstein
“Set the label of button myBtn to space” makes an option button appear blank but does not interfere with a user’s subsequent choice of an option. While disabling the button or hiding the button are other ways of making clear that no option is in effect, an able but blank option button means that

Re: [ANN] Super quick and easy deployment to plugged in iOS devices

2015-07-03 Thread David Bovill
Thanks Monte - what about for iOS. What is the latest on TestFlight and their ilk? On 3 July 2015 at 01:13, Monte Goulding wrote: > > > On 3 Jul 2015, at 12:06 am, David Bovill wrote: > > > > On this topic - what is the best way to get an entire class of learners > to > > be able to put an app