Re: How can I "fake" the appearance of merged cells (like in Excel)

2016-09-18 Thread Roger Eller
As it turns out, a button works better than a field because its label is centered both vertically and horizontally. The issue is defining the size of the rect. If the table field has the same content in item 3 of lines 5 to 7, I need to find the rect of those 3 cells combined. The formattedWidth

LC 8.1 Mac - Crash on name change

2016-09-18 Thread Graham Samuel
I just opened a ‘legacy’ stack (LC7.x format), made a few changes, and tried to save it as an LC8 native version in a new folder. I got several warnings that the stack was already open - seemingly inappropriate - and then LC crashed. I reopened it and my new version had been saved, but not the c

Re: How can I "fake" the appearance of merged cells (like in Excel)

2016-09-18 Thread Curry Kenworthy
Howdy, You can use math for that, either from scratch or starting from formattedrect. Easy if there's a consistent line height, but should be doable even if there isn't. Depending on the content there are ways of faking stuff like this, but there were even more ways in the past with some LC

Re: LC 8.1 Mac - Crash on name change

2016-09-18 Thread Mark Wieder
On 09/18/2016 09:18 AM, Graham Samuel wrote: I just opened a ‘legacy’ stack (LC7.x format), made a few changes, and tried to save it as an LC8 native version in a new folder. I got several warnings that the stack was already open - seemingly inappropriate - and then LC crashed. I reopened it a

Re: LC 8.1 Mac - Crash on name change

2016-09-18 Thread Graham Samuel
Thanks - I will see how repeatable I can make my own crash, and hopefully add my two eurocents to bug 18320 Graham > On 18 Sep 2016, at 18:41, Mark Wieder wrote: > > On 09/18/2016 09:18 AM, Graham Samuel wrote: >> I just opened a ‘legacy’ stack (LC7.x format), made a few changes, and tried >>

Re: LC 8.1 Mac - Crash on name change

2016-09-18 Thread Matthias Rebbe
You are not alone. I noticed that also, but had not the time yet to investigate further or report it as bug. Matthias > Am 18.09.2016 um 18:18 schrieb Graham Samuel : > > I just opened a ‘legacy’ stack (LC7.x format), made a few changes, and tried > to save it as an LC8 native version in a n

Bizarre problem setting a custom property

2016-09-18 Thread David Epstein
From the message box, I type set the autoFitted of group “a” of stack “specs” to false Works as expected. But if I type set the frameOptions of group “a” of stack “specs” to false Fails with this message: Message execution error: Error description: Chunk: error

Re: Bizarre problem setting a custom property

2016-09-18 Thread Peter Bogdanoff
Is this in a version of LC 8.0 or 8.1? I have frequently experienced the IDE losing a connection to open stacks in 8.0. It doesn’t then know anything about them. I had to quit and reopen the stack to get it to work again. Things seem generally better in 8.1. Peter Bogdanoff On Sep 18, 2016,

Re: tSettings["username"]

2016-09-18 Thread Dave Kilroy
Charles, Matthias Thank you so much for adding more and more to this example stack!!! I can now send super-duper emails from the app :) ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and ma

Object inspector question

2016-09-18 Thread Earthednet-wp
Folks, I'm getting used to the object inspector in lc8, but notice that setting the font of a field or button is different. In v7 and earlier, the drop down menu showed a long list of fonts, but the new inspector show a short list of font types (system), etc. I can type in the name of a font and

Re: Object inspector question

2016-09-18 Thread panagiotis merakos
Hi Bill, Indeed the displayed font list in the PI is shorter in LC 8, but you can scroll down this list and choose the font you wish. There is an enhancement request to extend the height of this drop down font menu. Best, Panos -- On Sun, Sep 18, 2016 at 11:05 PM, Earthednet-wp wrote: > Folks,

code folding

2016-09-18 Thread BNig
This is for the adventurous of the community. Some file swapping involved. I modified the Script Editor of Livecode 8.1.0 stable to allow basic code folding. This is experimental so you should not try this on your valuable work, only on copies. I tested it and did not have any data loss but still,

Re: code folding

2016-09-18 Thread BNig
Maybe I should have added that folding takes time. I tested against the livecodeIDE file with nearly 12000 lines of code. That takes about 3 seconds to fold all handlers. For 5000 lines it is about a second. Unfold All for 12000 lines is a little more than a second, less for smaller scripts. tog

Re: How can I "fake" the appearance of merged cells (like in Excel)

2016-09-18 Thread BNig
Hi Rodger this works for me if you are going with formatedRect to get to the left and right it is easier but you would have to find the fudge factors for that. make a button "indic" and change the script to reflect your table field - local sMy

Re: Object inspector question

2016-09-18 Thread William Prothero
Ah, yes! Thanks. Nice addition. Bill > On Sep 18, 2016, at 1:17 PM, panagiotis merakos wrote: > > Hi Bill, > > Indeed the displayed font list in the PI is shorter in LC 8, but you can > scroll down this list and choose the font you wish. There is an enhancement > request to extend the height of

Another stupid question

2016-09-18 Thread William Prothero
Folks: I am building a simple stack and have a navigation bar widget on each card. When I run the app on the simulator, I don’t see the group that holds the navigation bar. The group holds the navigation bar widget and a field. Also, if I load a single widget on a card, it doesn’t show up. This

Re: Copying text from LC Script Editor

2016-09-18 Thread Ben Rubinstein
On 17/09/2016 01:56, Monte Goulding wrote: > On 17 Sep 2016, at 10:00 AM, Paul Hibbert wrote: > > It’s not just the SE that has this behaviour, any text from a LC field does the same, with in the IDE and in a standalone, on Mac at least. Yes… perhaps it isn’t what I thought as it looks like it

Re: Another stupid question

2016-09-18 Thread William Prothero
Never mind. Found it with a Google search. Bill > On Sep 18, 2016, at 2:25 PM, William Prothero wrote: > > Folks: > I am building a simple stack and have a navigation bar widget on each card. > When I run the app on the simulator, I don’t see the group that holds the > navigation bar. The grou

Re: code folding

2016-09-18 Thread Tom Glod
great addition...thanks. On Sun, Sep 18, 2016 at 4:25 PM, BNig wrote: > Maybe I should have added that folding takes time. > > I tested against the livecodeIDE file with nearly 12000 lines of code. That > takes about 3 seconds to fold all handlers. For 5000 lines it is about a > second. > > Unfo

As easy as talking english

2016-09-18 Thread Alejandro Tejada
Hi All, Could you answer a question from a Slashdot Reader? Yesterday, Slashdot published news about Apple's contributions for teaching computer programming among young learners: https://news.slashdot.org/story/16/09/17/224204/codeorg-disses-wolfram-language-touts-apples-swift-playgrounds?sbsrc=

Playing Sound question

2016-09-18 Thread Alejandro Tejada
Hi Bill, Just for curiosity. I tested your stack on Ubuntu Linux. In Ubuntu, the first button does not work at all, (Play MP3 AudioClip) but second button (Play Audioclip 1) loads mplayer into memory, and after clicking "Stop Playing" button the sound starts. As far as I know, there is no way to

Re: code folding

2016-09-18 Thread Sannyasin Brahmanathaswami
Thanks for this! Fold All doesn’t work here though.. fold-unfold for a single handler does. BR On 9/18/16, 10:25 AM, "use-livecode on behalf of BNig" wrote: Maybe I should have added that folding takes time. I tested against the livecodeIDE file with nearly 12000 lines of co

Re: How can I "fake" the appearance of merged cells (like in Excel)

2016-09-18 Thread Roger Eller
Thanks for the ideas, and for the script. This is great! The thing I like about math in a program is - only having to do it once. :) ~Roger ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and

Re: Object inspector question

2016-09-18 Thread Roger Guay
Hi Bill, I was complaining about this just a few weeks ago and decided to build my own plugin which you might like to look at. I’m sure you could easily tailor to suit your needs. https://www.dropbox.com/s/3ztkejxxgqpa4o4/TextOmatic.livecode?dl=0 Cheers, Roger >

Re: Playing Sound question

2016-09-18 Thread William Prothero
That’s very interesting. I wonder if it warrants a bug report? It works as promised on iOS and Mac 10.11.6. It’s a really simple demo, so perhaps it would help if I or you filed a bug report and the stack was a sample. The dictionary says the player works on Linux. The top buttons are just playi

Re: Playing Sound question

2016-09-18 Thread Alejandro Tejada
Hi Bill, After playing a bit more with this Sound Player Livecode Stack, the IDE crashed. LC 7.1.4 crashed after setting the playrate to 2 and changing the volume to 50. In fact, these features works and you could change the playrate and the volume of mplayer from the Properties Palette but afte

Re: Playing Sound question

2016-09-18 Thread Earthednet-wp
Alejandro, I built it on livecode 8.1.0, the release version. It should be tested on that version before giving up. Bill William Prothero http://es.earthednet.org > On Sep 18, 2016, at 9:29 PM, Alejandro Tejada wrote: > > Hi Bill, > > After playing a bit more with this Sound Player > Livecode

Re: code folding

2016-09-18 Thread AndyP
Hi Bernd, Thanks for this.. you may want to look at this enhancement request.. http://quality.livecode.com/show_bug.cgi?id=6937 On LC 8.1 Win 10, folding individual handlers work great but not fold all. - Andy Piddock My software n