Re: Best practice for menus...

2017-01-17 Thread Jeanne A. E. DeVoto via use-livecode
At 12:49 PM -0500 1/17/2017, Paul Dupuis via use-livecode wrote: For desktop applications on Windows and OSX, I am lookingf or what people consider the best practice to be for enabling, disabling, or updating menu items based on context. You have so many ways in the LiveCode language to do

Re: Documentation on Dispatch

2017-01-16 Thread Jeanne A. E. DeVoto via use-livecode
At 6:56 PM + 1/13/2017, Sannyasin Brahmanathaswami via use-livecode wrote: But I found this in a script from an associate: setprop portal_RowNames [headerName] rowNames and it compilesŠ the first param is a variable inside square braces. Not sure it this is some LC magic or just this

Re: Memory leak?

2017-01-15 Thread Jeanne A. E. DeVoto via use-livecode
At 2:02 PM -0600 1/15/2017, J. Landman Gay via use-livecode wrote: I've been watching Activity Monitor on OS X while LC 8.1.2 is running. On launch it registered about 52 MB of memory. I opened a stack that has no background scripts running, it's completely inert, and after a while it jumped

Re: Clone graphic does not respect dimensions

2016-12-02 Thread Jeanne A. E. DeVoto
At 12:23 PM -0800 12/2/2016, Richard Gaskin wrote: I believe the original post here was about cloning, presumably done via Option+drag (on macOS, or Cntrl+drag on Win and Linux). Hmm, I was under the impression that it was scripted using the "clone" command. I'd forgotten about option-drag...

Re: Clone graphic does not respect dimensions

2016-12-02 Thread Jeanne A. E. DeVoto
At 3:02 AM -0800 12/2/2016, BNig wrote: It seems the consensus is to lower the threshold when graphics are changed to default sizes. I will do an enhancement request next week and propose that the currrent threshold of 8 by 8 and lower will be reduced to 5 by 5 and lower. Is there any reason

Re: Clone graphic does not respect dimensions

2016-12-01 Thread Jeanne A. E. DeVoto
At 7:39 AM -0800 12/1/2016, Richard Gaskin wrote: BNig wrote: Scott Rossi wrote It's wrong but it's always been like this. LC doesn't like graphics >> smaller than 9 pixels. > that is determined somewhat arbitrarily by the revBackScriptLibrary in handler on newGraphic if the width

Re: Drop Shadow Not Available on SVG widget

2016-10-30 Thread Jeanne A. E. DeVoto
At 4:51 AM + 10/31/2016, Sannyasin Brahmanathaswami wrote: Any work arounds? Can you put it in a group and set a drop shadow for the group? ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe,

Re: OT - cross platform zero slashed font

2016-10-23 Thread Jeanne A. E. DeVoto
At 4:52 PM +0100 10/18/2016, David V Glasgow wrote: Is there really no cross platform zero slashed (like Monaco 0) font? Is there one which is substituted by another zero slashed font on different platforms? If you just need a font where the 0 character has a slash (or dot), we discussed a

Re: Understanding 'the defaultStack'

2016-10-09 Thread Jeanne A. E. DeVoto
At 8:40 AM -0400 10/9/2016, Paul Dupuis wrote: Your paused script continues executing, but now the defaultStack has changed. As a precaution against users of the app doing (resonable) things like this, I now explicitly set the defaultStack after any ask or answer file dialog. I also use code

Re: Understanding 'the defaultStack'

2016-10-09 Thread Jeanne A. E. DeVoto
At 11:23 AM +1100 10/9/2016, Monte Goulding wrote: stack A - is defaultStack in its own script go stack B stack B preOpenStack - stack B now defaultStack in its own script go stack C stack C preOpenStack - stack C no defaultStack in its own script stack B preOpenStack continues but

Re: Understanding 'the defaultStack'

2016-10-08 Thread Jeanne A. E. DeVoto
At 10:26 AM +1100 10/9/2016, Monte Goulding wrote: I just had a look into the source and here's the but in the go command causing confusion: if (t_stack->getmode() == WM_TOP_LEVEL || t_stack->getmode() == WM_TOP_LEVEL_LOCKED) MCdefaultstackptr = t_stack; What this means is that

Re: Understanding 'the defaultStack'

2016-10-08 Thread Jeanne A. E. DeVoto
ense, mind you) -- jeanne a. e. devoto livec...@jaedworks.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/li

Re: "Command" as control structure?

2016-09-26 Thread Jeanne A. E. DeVoto
At 1:20 PM -0700 9/25/2016, Peter Bogdanoff wrote: I see that "command" is a synonym of "on" in LC script. Is using "command" rather than "on" a purely style preference? I see in the old LiveCode dictionary: The command synonym, along with the ability to declare private handlers was added in

Re: Random topic: What script font do you like/use?

2016-09-21 Thread Jeanne A. E. DeVoto
At 9:21 AM -0700 9/21/2016, Richard Gaskin wrote: I was a big fan of Andale Mono for many years, deeply in love were it not for one failing critical in programming: the descending tail of the comma is too short, requiring a closer look than should be necessary to distinguish it from a period.

Re: Random topic: What script font do you like/use?

2016-09-21 Thread Jeanne A. E. DeVoto
At 7:45 AM +0100 9/21/2016, Peter TB Brett wrote: I currently use Source Code Pro. I find Courier nearly unreadable, unfortunately. In the past (by which I mean pre-2009) I used to mostly use the "MiscFixed" X11 bitmap font. There are odd differences between Courier and Courier New

Re: libURL gone mad

2016-09-15 Thread Jeanne A. E. DeVoto
At 2:41 PM -0400 9/15/2016, Michael Doub wrote: Matthias, I am getting a error when attempting the download. So am I. I can get to the index.html page, but when I try downloading, the server is claiming the file doesn't exist. ___ use-livecode

Re: Resolving an imageSource object reference

2016-09-06 Thread Jeanne A. E. DeVoto
At 1:06 PM -0700 9/6/2016, Richard Gaskin wrote: See the "resolve image" command, introduced in v6.5. Excellent! Thanks. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your

Re: Resolving an imageSource object reference

2016-09-06 Thread Jeanne A. E. DeVoto
At 6:05 AM +1000 9/7/2016, Monte Goulding wrote: You could use the resolve image command. It was my first open source contribution a few years ago ;-) I'm so glad I don't have to do it. ;-) ___ use-livecode mailing list

Resolving an imageSource object reference

2016-09-06 Thread Jeanne A. E. DeVoto
I need to take an imageSource (short ID or short name) and figure out a full object reference to the image in question. Before I do it, has anybody done this already? Or has a built-in way to get the object been added at some point and I missed it?

Re: IDE puzzler...

2016-09-02 Thread Jeanne A. E. DeVoto
At 2:04 PM -0400 9/2/2016, Paul Dupuis wrote: But, here is the puzzler, is there a way to tell the IDE to NOT handle menu keyboard equivalents and send those keyboard commands to the Applications menu so that all the functions of the App's menu can really be tested in the IDE? Develop >

Re: What's everyone working on this month? (September 2016)

2016-09-02 Thread Jeanne A. E. DeVoto
For an application with a complicated set of data types and a growing ability to collect and export them, I'm working on a set of routines to export ALL the things - text, HTMLText, tabular data (as HTMLText, plain text, or a 2D array), images, or any combination of several of the above - to a

Re: Underneath

2016-08-26 Thread Jeanne A. E. DeVoto
At 12:27 AM +0300 8/27/2016, Richmond wrote: This doesn't seem to work because this cycles through ALL the controls, and, of course, the object being dragged is also a control. Ah. Forgot about that. You'll need to add a condition: if within(control x, the mouseLoc) \ AND ("P" is

Re: Underneath

2016-08-26 Thread Jeanne A. E. DeVoto
At 9:40 PM +0300 8/26/2016, Richmond wrote: on mouseUp *--pseudocode* if the name of the object *underneath* this image contains "P" then do nothing else send image "P" somewhere else end if *--end pseudocode* end mouseUp and I'm looking for help. I think you'll need to

Re: unicode? troubles

2016-08-26 Thread Jeanne A. E. DeVoto
___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode -- jeanne a. e. devoto livec...@jaedworks.com

Re: Garbage collection (crashing on Windows)

2016-08-18 Thread Jeanne A. E. DeVoto
At 3:28 PM +0100 8/18/2016, Ben Rubinstein wrote: The real problem is that the script was written originally 13 years ago, and the basic architecture was to load everything into large global arrays for cleanliness. I've had ugly crashes with large or complex arrays (that weren't anywhere

Re: Trouble setting the font of the text of a field

2016-08-11 Thread Jeanne A. E. DeVoto
At 11:28 AM -0700 8/11/2016, Dr. Hawkins wrote: This code has been around a while; it's part of the maintenance routines. But now it's glitching. [...] set the textFont of the text of tgTg to empty "the text of tgTg" would be parsed as the text content of the field. Try using this

Re: Refer to new group?

2016-08-02 Thread Jeanne A. E. DeVoto
At 10:41 AM -0700 8/2/2016, Phil Davis wrote: Not so. Try this: You're right. I was thinking in terms of grouping objects that are already at the top of the layers, as with a bunch of newly created objects. ___ use-livecode mailing list

Re: Refer to new group?

2016-08-02 Thread Jeanne A. E. DeVoto
At 9:37 AM -0700 8/2/2016, Phil Davis wrote: If you use the "owner" method of getting the group's ID, be sure you refer to the child control by ID - its number will *always* be changed by the act of grouping it. ... if you refer to it as "control N", but not if you refer to it as "field N"

Re: Refer to new group?

2016-08-02 Thread Jeanne A. E. DeVoto
At 8:37 AM -0700 8/2/2016, Richard Gaskin wrote: Apparently the "group" command is an exception to the general rule that "it" will contain the long ID of a newly-created object after a command that creates it. And using "last" is not always reliable with groups. Since your script knows

pageHeights woes

2016-08-01 Thread Jeanne A. E. DeVoto
I'm trying to debug a printing problem, and getting (under certain circumstances) crazy values for the last line of a field's pageHeights. Specifically, the last line of the pageHeights is sometimes either negative or very large (closer to 2^32 than I think can be coincidental). I'm working

Re: Script Indenting?

2015-12-14 Thread Jeanne A. E. DeVoto
it changed. -- jeanne a. e. devoto livec...@jaedworks.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode

Re: flushEvents(system)

2014-03-21 Thread Jeanne A. E. DeVoto
in OS X for a while. -- jeanne a. e. devoto livec...@jaedworks.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman

Re: Escaping the Filter command's wildcards

2013-05-25 Thread Jeanne A. E. DeVoto
at all. The wildcard syntax is different (it's what's used in Unix shells - that's where it came from). -- jeanne a. e. devoto livec...@jaedworks.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe