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 this:
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 progr
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 to
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...
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 n
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
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, unsubscri
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 f
At 4:42 PM -0400 10/9/2016, Paul Dupuis wrote:
Some long time ago, someone on this list suggested a control block such
as "using " ... "end using"
Where any object references in the block would always be evaluated
relative to the object referred to in the start of the using block.
So:
using car
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 suc
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 sta
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 u
claim this makes actual sense, 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://li
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
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.
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 depending
I've used Andale Mono by preference, but I don't have the bold, and
so on versions of LC after 5.x, bolding for comments and keywords
doesn't show up in the script editor. (Bah.)
I liked it because it was:
1) clean-looking with a good x-height
2) has easily distinguishable lowercase l, capita
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 mai
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 subs
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
use-livecode@lists.runrev.com
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?
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 > Suspen
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
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
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 te
Claudi
___
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...@jae
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 nea
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 inst
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
use-liveco
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" (o
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 whic
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 o
7;s why 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
ing now - the flushEvents call has
been deprecated 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
pref
mmand 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 t
35 matches
Mail list logo