Re: Bitten by Group Default Margins

2017-05-06 Thread Richard Gaskin via use-livecode
Sannyasin Brahmanathaswami wrote: > Are we the only ones who would prefer that the engine not auto set > group margins to 4? I would prefer 0, but we're about 20 years too late to change it now. Easy enough to change the property to anything you want. > it got worse: even if you set the margin

Bitten by Group Default Margins

2017-05-06 Thread Sannyasin Brahmanathaswami via use-livecode
We discussed this before on this list, but I wanted to bring it up again. I don't remember any conclusions. Are we the only ones who would prefer that the engine not auto set group margins to 4? This bit us hard recently as one member of the team who was not familiar with this issue spent a l

Relayering Controls in 9 dp5 problematic?

2017-05-06 Thread Sannyasin Brahmanathaswami via use-livecode
layout card make some controls click on prop inspector try to set the layer of fld now set to layer 6 nothing happens, IDE "blinks" are resets the field to 6 select fld; object menu, arrange, send back… now it works property inspector is not updated. use revApplicationOverview, click on a cont

Shell argv

2017-05-06 Thread JB via use-livecode
To use a shell command it needs to work from the terminal. I am using OS X 10.11.6 and if I try to open a Xcode c build named my_file I type in the terminal, open my_file and the file my_file will open. I want to pass arguments to argv but the never get passed. I have tried the following; op

Escape From Script In Use Blocking?

2017-05-06 Thread Sannyasin Brahmanathaswami via use-livecode
if you manage to do something odd in an on preopencard script such that a) no error msg appears b) attempts to change the script are blocked with: "cannot change script while is it executing How to you get out? I have a good idea what is wrong but cannot change the script or enter a break po

Re: mySQL connection fine in LiveCode but error in standalone

2017-05-06 Thread Mike Bonner via use-livecode
I'm wondering if the mySql db driver is being included. If you view the package contents then drill down to Contents/MacOS/Externals/database_drivers is there a dbmysql.bundle folder? Another thing to check would be WHEN do you try to open the database? If you do it in preopenstack, you might be

mySQL connection fine in LiveCode but error in standalone

2017-05-06 Thread Kaveh Bazargan via use-livecode
Hi folks I am a definite newbie to databases, but I have been reading from a mysql database on the Mac running LC 9. The command is: revOpenDatabase("MySQL", DatabaseAddress, DatabaseName, DatabaseUser, DatabasePassword) When I export to standalone I get the "revdberr, invalid database" type err

Re: Scrollbars in 8.1.3

2017-05-06 Thread Paul Hibbert via use-livecode
In LC 7.1.4 you can set the orientation property in the inspector panel under Basic Properties, but not in LC 8.1.3 for some reason, the option menu is greyed out which suggests it could be a bug to me, however, the dictionary states: Use the orientation property <> to find out whether a scroll

Re: Android label and name

2017-05-06 Thread J. Landman Gay via use-livecode
On 5/6/17 3:21 PM, Richard Gaskin via use-livecode wrote: J. Landman Gay wrote: I need to build two versions of an Android app, one for production and another for testing. It appears that the standalone builder uses the "name" property as the icon label in the Android launcher. I need the stack

Re: Scrollbars in 8.1.3

2017-05-06 Thread Richmond Mathewson via use-livecode
I don't know. I just set up a vertical scrollbar in an LC 7.1.4 stack, saved it and opened it up in 8.1.3. Richmond. On 5/6/17 6:51 pm, Paul Hibbert via use-livecode wrote: How are you trying to set the scrollbar to vertical? Setting or dragging the SB rect to the desired dimensions should

Re: Android label and name

2017-05-06 Thread Richard Gaskin via use-livecode
J. Landman Gay wrote: > I need to build two versions of an Android app, one for production > and another for testing. It appears that the standalone builder uses > the "name" property as the icon label in the Android launcher. I need > the stack name to stay the same, and only the label to differ

Re: looking for a smart approach to "sort" an array

2017-05-06 Thread J. Landman Gay via use-livecode
Use tabwidths instead of tabstops. I was working off faulty memory. On 5/6/17 2:32 PM, Mike Bonner via use-livecode wrote: Cool stuff! Didn't know you could hide things with tab, and will have to look at metadata now. Thanks! On Sat, May 6, 2017 at 1:30 PM, Jim Lambert via use-livecode < use-

Re: looking for a smart approach to "sort" an array

2017-05-06 Thread J. Landman Gay via use-livecode
On 5/6/17 2:30 PM, Jim Lambert via use-livecode wrote: But I realized Tiemo might not even need to bother hiding the otherData if he takes advantage of another property of fields - the metadata property: I forgot all about that, even though I've used it in the past. That's the best idea so far

Re: looking for a smart approach to "sort" an array

2017-05-06 Thread Mike Bonner via use-livecode
Cool stuff! Didn't know you could hide things with tab, and will have to look at metadata now. Thanks! On Sat, May 6, 2017 at 1:30 PM, Jim Lambert via use-livecode < use-livecode@lists.runrev.com> wrote: > > > Jacque wrote: > > I've done this often, it's a nice clean solution. And now that we ca

Re: looking for a smart approach to "sort" an array

2017-05-06 Thread Jim Lambert via use-livecode
> Jacque wrote: > I've done this often, it's a nice clean solution. And now that we can > set tabstops to 0, the second item won't be visible whether there's a > horizontal scrollbar or not. That’s right! tabwidths are handy for this hiding too. But I realized Tiemo might not even need to bo

Android label and name

2017-05-06 Thread J. Landman Gay via use-livecode
I need to build two versions of an Android app, one for production and another for testing. It appears that the standalone builder uses the "name" property as the icon label in the Android launcher. I need the stack name to stay the same, and only the label to differ. I have tried building wit

Re: looking for a smart approach to "sort" an array

2017-05-06 Thread J. Landman Gay via use-livecode
On 5/6/17 12:10 PM, Jim Lambert via use-livecode wrote: Set the tabstops to a number greater than the width of the field. Set the itemdelimter to tab. Then put the OtherData of each line into the second item of each line. As long as there’s no horizontal scrollbar on the field the user will neve

Re: looking for a smart approach to "sort" an array

2017-05-06 Thread Jim Lambert via use-livecode
Tiemo, > I have a list field of words and a correspondent array with the words of the > field as the keys plus some data per key. I can store the array in a file, > read it later from file and rebuild the list of words from the keys of the > array. Up to now, I had this list of words alphabeticall

Re: Scrollbars in 8.1.3

2017-05-06 Thread Paul Hibbert via use-livecode
How are you trying to set the scrollbar to vertical? Setting or dragging the SB rect to the desired dimensions should automatically change it’s orientation as soon as it's width is less than it's heigh, is this not working? Paul > On May 6, 2017, at 6:42 AM, Richmond Mathewson via use-livecod

Re: looking for a smart approach to "sort" an array

2017-05-06 Thread Mike Bonner via use-livecode
Wasn't my post originally, but the gist of the problem was, how does one get data back out of an array based on a custom sorted list of words that are used as main array key back out of the array in the desired sequence. IE there is a list of words in a field. And an array that has extra informat

Scrollbars in 8.1.3

2017-05-06 Thread Richmond Mathewson via use-livecode
I seem quite unable to set a scrollbar to be vertical in LC 8.1.3 (Mac OS 10.7.5). Richmond. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://li

Re: looking for a smart approach to "sort" an array

2017-05-06 Thread Quentin Long via use-livecode
sez "Tiemo Hollmann TB" : To: "LiveCode User Liste senden" > I have a list field of words and a correspondent array with the words of the > field as the keys plus some data per key. I can store the array in a file, > read it later from file and rebuild the list of words from the keys of the > arra