Can you explicitly set the rect of the SE? I do this all the time because I
have it located on a large vertically oriented monitor adjacent to my main
screen, and the loc needs to be refreshed now and then depending on other stuff
I use them for.
Craig
-Original Message-
From: Graham S
The user guide?
It certainly is searchable. I do it all the time.
Craig
-Original Message-
From: Graham Samuel via use-livecode
To: How to use LiveCode
Cc: Graham Samuel
Sent: Tue, Apr 28, 2020 3:44 pm
Subject: Re: Three very simple questions
Bill, I think you’re right about the Guide
Hi.
You are getting empty because the information returned from the function is an
array.
"combine " the array with "return and "comma"
Craig
-Original Message-
From: Skip Kimpel via use-livecode
To: Dan Friedman
Cc: Skip Kimpel ; How to use LiveCode
Sent: Mon, Apr 27, 2020 1:52 pm
S
?
On 4/26/20 2:20 PM, dunbarx--- via use-livecode wrote:
> Try as I might, I cannot format a handler example copied from the SE. The
> result is always run-on, even though I add spaces and returns where
> appropriate. The text seems readable when I send, but reverts to a run-on
> s
there was a very simple one liner or character that
would do it for me.
I think I have a solution now.
Rick
> On Apr 26, 2020, at 3:15 PM, dunbarx--- via use-livecode
> wrote:
>
> on mouseUpput offset("(",yourString) into startCharput offset(")",
> you
Try as I might, I cannot format a handler example copied from the SE. The
result is always run-on, even though I add spaces and returns where
appropriate. The text seems readable when I send, but reverts to a run-on
string when I read in the list.
Why is this so much more difficult than the foru
Pay no attention to the previous post, which only dealt with a single integer.
Sloppy.
THIS old fashioned method works, though:
on mouseUpput offset("(",yourString) into startCharput offset(")", yourString)
into endCharput random(999) into char (startChar + 1) to (endChar -1) of
yourStringend mo
Or, more oil-fashioned, and again assuming that the integer in question is
always the very first one in parentheses:
on mouseUpput random(99) into char offset("(",yourString) + 1 of yourStringend
mouseUp
You will get tired of running this after only a few invocations.
Craig
-Original Message
I am a little confused. I do not sea "real" as a valid LC word, unless the
dictionary entry for "real number". in the "synonyms", needs a comma after the
word "real" in the string "real number".
Craig
-Original Message-
From: Mark Waddingham via use-livecode
To: How to use LiveCode
C
ote:
>> On the contrary, I want each instance of the group to be exactly the same.
>> I’m not seeing that when I place a group—it now seems to be a new object.
>>
>> Peter
>>
>>> On Apr 24, 2020, at 12:51 PM, dunbarx--- via use-livecode
>>> wrote
er Bogdanoff via use-livecode
To: How to use LiveCode
Cc: Peter Bogdanoff
Sent: Fri, Apr 24, 2020 3:22 pm
Subject: Re: Groups placed on cards
Thanks Craig,
> On Apr 24, 2020, at 12:14 PM, dunbarx--- via use-livecode
> wrote:
>
> Hi.
> You can certainly create a group and set its
Hi.
You can certainly create a group and set its backgroundbehjavior, then "place"
it on any or all existing cards. This assumes that the group comes after the
multi-card stack. Then any changes to the physical structure of your group will
appear in all instances.
But I am not sure how you would
Hi.
I thought this was a bug in the control years ago, until I inadvertently
stretched it, and the values simply appeared. Eureka! This on a Mac.
Craig
-Original Message-
From: Michael Lew via use-livecode
To: use-livecode@lists.runrev.com
Cc: Michael Lew
Sent: Tue, Apr 21, 2020 11:37
Hi.
I never use visual effects, but I think you may need to go to the dictionary.
One thing it says is:
"The visual effect command affects only navigation within a window. If you
want to create a transition effect when moving between stacks, use the go...in
window form of the go command :
visual
stack, then went back to
the stack that called it, the defaultStack remained the database setup stack,
and THAT wasn’t even a sub stack!
Until I can figure out what is causing it, I cannot trust the defaultStack.
Bob S
> On Apr 18, 2020, at 9:53 AM, dunbarx--- via use-livecode
>
Bob.
I make a new stack "XXX", and a substack "YYY", and save the lot. To be sure, I
quit LC and open "XXX" from the desktop.
There is a single button on "XXX" that:on mouseUp go stack"yyy"answer the
defaultStackend mouseUp
I get "YYY"
What are you seeing?
Craig
-Original Message-
From
Richmond.
I was going to lay into you, until I saw that "useless" was actually "use-list"
Close one.
Craig
-Original Message-
From: Richmond via use-livecode
To: Skip Kimpel via use-livecode
Cc: Richmond
Sent: Sun, Apr 12, 2020 2:12 pm
Subject: LiveCode useless seems to be Junk
This i
Bob.
Yep, disabled objects are translucent. The default blendLevel is 0, so no help
there.
You can fool around with the backColor, of course.
Craig
-Original Message-
From: Bob Sneidar via use-livecode
To: How to use LiveCode
Cc: Bob Sneidar
Sent: Thu, Mar 26, 2020 11:46 am
Subject:
I am with Bob on this.
Oftentimes, just out of stubbornness, I will try to create a "native" solution
to some problem. Native here means that I try to force, bend, cajole, whatever,
the built-in functionality of LC to make an effect the way I want it. The
stubbornness comes from trying to be as
load 6.3.1
Okay so downloading from the updater failed twice. Going to the website and
downloading from there succeeded.
Bob S
> On Mar 23, 2020, at 12:28 PM, Bob Sneidar via use-livecode
> wrote:
>
> Sorry 9.6 dp3 brain fart
>
>> On Mar 23, 2020, at 12:24 PM, dunbarx
Bob.
6.1.3?
I do not see 6.3.1 as an option.
Craig
-Original Message-
From: Bob Sneidar via use-livecode
To: How to use LiveCode
Cc: Bob Sneidar
Sent: Mon, Mar 23, 2020 2:14 pm
Subject: Can't download 6.3.1
I am getting Error downloading Livecode 6.3.1. It gets all the way through the
A bit of LC lore from the dictionary:
If the user presses the key while editing a field, normally the
insertion point moves to the next control whose traversalOn property is
true. If the tabStops property is not empty, the user can enter tab
characters in the field. Each time the Tab key is press
Hi.
I may not really understand what you want, but doesn't the "Find string"
variant solve your problem?
If you have a field 1 with "cat" on line 1, with "cât" on line 2 and "cat" on
line 3, that is, the line 2 "cat" has charToNum(137) in place of the standard
"a".
on mouseUpfind string numToCha
Sure. Any object that has an inspector, and that means everything, can hold
custom properties. Open the stack inspector and check it out.
The trick is to know where to place these things. It depends on what is going
to need them. In a sense, you might think they ought to fall into some sort of
"
All.
It did just occur to me that ALL my crashes occur when the SE is open. Never
just playing with the stack. I am trying to remember now whether I am modifying
code or not when the crash occurs. The problem, (actually the beauty, of
course) of LiveCode is that one can jump in a and out of the
Curry.
We are all fortunate in that you found the culprit in a single command in a
line of code.
It crashes LC 9.5.1 in Mac OS. If I change the second parameter (tDel) to a
single char, all is well,
The issues I am having with my project occur in random places in different
handlers at random tim
bject: Diagnosing a crasher (was Re: Quality, reputation, and improving both)
dunbarx wrote:
> Richard wrote:
>> Crashers are of course serious, but the good news is that you're only
>> seeing it in one project. Feel free to email me directly if you're
>> in a posit
Cc: Richard Gaskin
Sent: Thu, Feb 20, 2020 2:57 pm
Subject: Quality, reputation, and improving both (was Re: text copied form LC
generated PDF, WTF?)
dunbarx wrote:
> Several threads on the forum have bemoaned what is labeled an
> overarching bug issue in LC.
...
> I am really onl
@Curry, mainly.
The easy one. WTF has lost most of its bite due to simple continued usage. As
Lenny Bruce noted 60 years ago, if you use a bad word often enough, it loses
its badness.
The hard one. Several threads on the forum have bemoaned what is labeled an
overarching bug issue in LC. There h
So I tried it. Works fine, though you have to use gadgetry to print only the
field of interest.
on mouseUpopen printing to pdf ("/users/yourPathNameHere/desktop/xxx"&
".pdf")print this cdclose printingendmouseUp
Craig
-Original Message-
From: dunbarx--- v
This is done with "revPrintField", where it is only in the print dialog that I
can divert the process to make a PDF.
What is the story with "open printing to "PDF"...?
-Original Message-
From: Klaus major-k via use-livecode
To: How to use LiveCode
Cc: Klaus major-k
Sent: Fri, Feb 14,
Klaus.
Yep, I get the same thing you did as pdf.
Craig
-Original Message-
From: Klaus major-k via use-livecode
To: How to use LiveCode
Cc: Klaus major-k
Sent: Fri, Feb 14, 2020 8:24 am
Subject: Re: revprintfield and RIGHT tabalign?
> Am 13.02.2020 um 20:30 schrieb Klaus major-k via u
Sssh.
OK.
Craig
-Original Message-
From: Klaus major-k via use-livecode
To: How to use LiveCode
Cc: Klaus major-k
Sent: Thu, Feb 13, 2020 3:50 pm
Subject: Re: revprintfield and RIGHT tabalign?
Hi Craig,
> Am 13.02.2020 um 21:43 schrieb dunbarx--- via use-livecode
> :
>
Klaus.
I made a test stack and printed to pdf. Mine had a long string at the right
side of one line.
Everything came out fine. Mac 10.13.4, LC 9.5.1
Why are you not in the forum, where it is so easy to post screen shots?
Craig
-Original Message-
From: Klaus major-k via use-livecode
To:
Trevor.
I am helping You??
I don't see anything in the dictionary about progressive indentation. Never
used any of these, but it looks like you have to roll your own.
Craig
-Original Message-
From: Trevor DeVore via use-livecode
To: How to use LiveCode
Cc: Trevor DeVore
Sent: Tue, Feb
Here is some unhelpful information from the dictionary:
The list of font names includes a set of special-purpose names which
automatically select the matching font for the platform. You can use these to
request "the font used for buttons" without having to hard-code
platform-specific font names.
Bob may have much of what you are asking for.
Many years ago I made a form filling stack. The user clicked on various
controls an/or images, and either a popup of available options or a dialog
appeared. It worked as if each image, say, was its own popUp. Once the
selection was made, the user was
s blue and the text of the first tab is green when selected,
> and the other tabs the text is yellow when selected. Again, it's no big
> deal it just seems odd.
>
> Bob S
>
>
>> On Jan 23, 2020, at 19:47 , dunbarx--- via use-livecode
>> wrote:
>>
>&g
Hi.
If you set the foregroundColor to, say, red, and the backgroundColor to, say,
yellow, the text of the tabs will show one or the other as each tab is
"selected".
Is this what you are seeing? Or did you mean that the entirety of the tab is
colored? For me, each tab, when selected, is blue.
Cra
Mark.
Ah. Never knew the name of those.
Craig
-Original Message-
From: Mark Waddingham via use-livecode
To: How to use LiveCode
Cc: Mark Waddingham
Sent: Tue, Jan 21, 2020 12:26 pm
Subject: Re: Apple Mac menubar?
On 2020-01-21 17:22, dunbarx--- via use-livecode wrote:
> @Sean
>
ple Mac menubar?
Do you possibly mean the System Menu Extensions found on the right of the menu
bar? If so then that is not currently possible from LiveCode.
Sean Cole
Pi Digital Prod Ltd
> On 21 Jan 2020, at 16:27, Richard Gaskin via use-livecode
> wrote:
>
> dunbarx wr
Hi.
The menubar is fully configurable when LC is in front, but I do not believe it
can be so modified when not.
Are you just asking if LC is the right tool for such a thing? There must be
other gadgets that perform this task.
Craig
-Original Message-
From: Colin Kelly via use-livecode
Sorry,
I meant "closeControl".
Craig
-Original Message-
From: Sannyasin Brahmanathaswami via use-livecode
To: How LiveCode
Cc: Sannyasin Brahmanathaswami
Sent: Tue, Jan 21, 2020 9:12 am
Subject: closeControl -- "switchable" ?
Using text only script behavior files has advantages and d
Hi.
"SetControl" doesn't take a parameter, as far as I know, so a switch control
structure would have to be managed by hand, perhaps looping through all the
groups (or other controls of interest) on the card that one just navigated away
from.
Craig
-Original Message-
From: Sannyasin B
Hi.
I have two monitors as well. And I use a key combination and a plug-in to
reset the loc of the very stacks you mentioned, plus the SE. These change
each time I save a stack.
The point being that I never have a problem saving, only that I have to
reset the loc of the topStack and the others e
Or perhaps post to the forum.
Craig
-Original Message-
From: Pi Digital via use-livecode
To: How to use LiveCode
Cc: Pi Digital
Sent: Tue, Dec 17, 2019 7:13 am
Subject: Re: Table Text Livecode vs .
Hi Terence
This list doesn’t display images in the mail. Perhaps you could provide
Hi.
It is hard for me to understand without more info about the case statements.
But when you have this:
# I click on button "starWidget"
-- nothing happens…hmm, no errors either…
Do you really mean nothing, not even that the:
put the short name of the target
does not fire?
Craig
-Origina
Klaus.
Type CMD-F as if you were trying to simply find something. All those lower
tools will reappear.
Craig
-Original Message-
From: Bob Sneidar via use-livecode
To: How to use LiveCode
Cc: Bob Sneidar
Sent: Fri, Dec 6, 2019 5:02 pm
Subject: Re: How to revoke that bottom pane of the
I used Compile-it forever. It was faster than the compiled v.2x HC by orders of
magnitude.
But, and this is hardly a fair test, I get over 8 million passes per second
through a repeat loop in LC if I do not tax it overmuch, say, adding 1 to a
variable on each pass.
The point is, how much more sp
The "mouseControl" is very straightforward. The "target" would work just as
well. In the card script:
on mouseUp answer the targetend mouseUp
But for a line graphic, you must click right on the line, or the function will
not work. In other words, the extent of each graphic is the same, but only
y | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On November 25, 2019 11:51:14 AM dunbarx--- via use-livecode
wrote:
> Hi.
> This was posted a couple of weeks ago, no?
> I suggested then that you could write a short handler that loops through
> all t
Hi.
This was posted a couple of weeks ago, no?
I suggested then that you could write a short handler that loops through all
the scripts in all the controls on all the cards, and isolate words that are
not preceded by either "command", "on" or "function". In this way you might
see, for example, t
Hi Klaus.
I never have worked at all with this group, and was surprised that it was a LC
stack in the first place.
So I do not know why one cannot set it to empty, except maybe that something
inside LC prevents that.
On a completely tangential note, my defaultMenubar contains ten buttons, t
loc of the field, and otherwise has no
relationship to the field itself, that is, the Y coordinate within that field.
Craig
-Original Message-
From: Mark Wieder via use-livecode
To: dunbarx--- via use-livecode
Cc: Mark Wieder
Sent: Wed, Nov 13, 2019 11:20 am
Subject: Re: Y coordinate
Mark,
Yep, that will do the translation. But I am no longer sure what the OP
originally wanted.
OP?
Craig
-Original Message-
From: Mark Wieder via use-livecode
To: dunbarx--- via use-livecode
Cc: Mark Wieder
Sent: Wed, Nov 13, 2019 11:20 am
Subject: Re: Y coordinate for a line of
The selectedLoc will give the loc in window coordinates, not the "local" Y
coordinate within the field of interest, which is what I thought you wanted. I
cannot imagine what value that would have, since it depends on where the stack
window is currently placed.
Craig
-Original Message-
Why not just ask Klaus?
Craig
-Original Message-
From: Klaus major-k via use-livecode
To: Tom Glod via use-livecode
Cc: Klaus major-k
Sent: Tue, Nov 12, 2019 11:59 am
Subject: Disappearing "column lables" of Datagrid
Hi friends,
what might cause the fact that in my datagrids on card
Hi.
"unused functions and commands"?
Do you mean handlers that exist in a script somewhere but are never called from
anywhere?
I suppose you can search all scripts, and if a certain handler name does not
appear without being prepended by either "on" & space(s) or "function" &
space(s) then you c
How do I format a simple handler so that it is not strung out like a 1960's
hippie? Why is there no forum-like area to post scripts? Is this because I am
using AOL as a portal to the use list?
Craig
-Original Message-
From: dunbarx--- via use-livecode
To: use-livecode
Cc: du
Hi.
Assuming you have a field 1 with several lines of text in it, and have set the
textHeight of that field, then in a button script somewhere;
on mouseUpanswer the textHeight of fld 1 * lineOffset(yourText,fld 1) + the top
of fld 1end mouseUp
Craig
-Original Message-
From: scott--- via
Hi.
I don't suppose you have tested on a Mac? If not, I will when I get to my
office tomorrow.
Craig
-Original Message-
From: Dan Friedman via use-livecode
To: How to use LiveCode
Cc: Dan Friedman
Sent: Sat, Nov 2, 2019 1:04 pm
Subject: Windows, Underlines and Printing
Greeting!
I am with Richmond, mainly.
I hate to learn another language. That is why I live in the United States.
LC, if you introduce only a handful or three of native words, controls and
concepts, is accessible to anyone with a real desire to learn this sort of
thing. Even a first grader; they just need
Message-
From: dunbarx--- via use-livecode
To: use-livecode
Cc: dunbarx
Sent: Mon, Oct 28, 2019 2:25 pm
Subject: Re: past unformatted & inspector field "styled text"
Klaus.
All works for me here.
It is possible you have not placed a blinking cursor into the inspector field?
ctor field "styled text"
Hi Craig,
> Am 28.10.2019 um 18:43 schrieb dunbarx--- via use-livecode
> :
>
> Klaus.
> Yes, from the menu. Works the same as CMD-V.
> I get something each way. But it is NOT unformatted, each way.
???
That works here as advertized, no formatted
& inspector field "styled text"
Hi Craig,
> Am 28.10.2019 um 18:01 schrieb dunbarx--- via use-livecode
> :
>
> Klaus.
> I get whatever I copied into that inspector field. But it retains the
> formatting of the source.
sure you did "past UNformatted&quo
Klaus.
I get whatever I copied into that inspector field. But it retains the
formatting of the source.
Craig
-Original Message-
From: Klaus major-k via use-livecode
To: How to use LiveCode
Cc: Klaus major-k
Sent: Mon, Oct 28, 2019 12:53 pm
Subject: past unformatted & inspector field "
Hi.
I have taught several newbies. I always start with a simple app, like an
address book. I show how controls are created, and how scripts are built.
During that process, I am off in the weeds, writing short handlers showing how
the cursor can trigger things like mouseEnter or mouseMove, these
. But that hardly recommends the original dot.
Craig
-Original Message-----
From: dunbarx--- via use-livecode
To: use-livecode
Cc: dunbarx
Sent: Sat, Oct 26, 2019 11:14 pm
Subject: Re: Red Dot Breakpoint Crashes
My red dots are fixed in 9.0.4. Not sure about 9.5, if that might be a
regressi
My red dots are fixed in 9.0.4. Not sure about 9.5, if that might be a
regression.
Bottom line, I am thrilled that they finally work. It is the reason I migrated
from v.8.
Craig
-Original Message-
From: Brian Milby via use-livecode
To: How to use LiveCode
Cc: Brian Milby
Sent: Fri, O
ages) but I seem
to recall that I was unable to successfully or reliably create separate reports
unless I closed printing after each one.
Terry...
Sent from my iPad
> On 24 Oct 2019, at 12:53 am, dunbarx--- via use-livecode
> wrote:
>
> Hi.
> Are you repeat
Hi.
Are you repeatedly using "open printing to PDF"?
Craig
-Original Message-
From: Terry Judd via use-livecode
To: use-livecode@lists.runrev.com
Cc: Terry Judd
Sent: Tue, Oct 22, 2019 9:11 pm
Subject: Slowdown when printing to PDF in a loop
I'm printing a whole bunch of PDFs (multipa
I still maintain a HC server stack, accessible by clients over a network, of
many thousands of cards. Access to any of them using the "find" command is
virtually instantaneous.
It is LC that starts to visibly slow after about 2000 cards. Someone like
Richard or Jacque may know a bit about why th
This goes back to 1987. The HC team assumed that most people would navigate
like crazy, think rolodex, and being able to retrace ones history would be a
very useful tool.
There should be a "clear recent" command, so that the piles of cards in that
history can be eliminated. But LC has things that
Hi.
The "target" tells LC which control received a message. If you had a script in
the card, something like:
on mouseUp
set the bordercolor of the Target to "orange"
set the showBorder of the target to "true"
--- do somethingend mouseUp
You would not only have quotes in places you ought to, but ne
Should, of course, be:
on mouseUp
answer "Sub" && random(99)
-- pass mouseUp
end mouseUp
I really, really do not like the use-list.
Craig
-Original Message-
From: dunbarx--- via use-livecode
To: use-livecode
Cc: dunbarx
Sent: Wed, Sep 25, 2019 3:45 pm
Subject:
Hi.
Substacks are below (Hi, Jacque) the mainStack which own them in the message
hierarchy. Try this:
Make a new stack, name it "Main1". Make a sub stack of that stack, and name
it "Sub1". Put this into the script of the main stack:
on mouseUp
answer "Main" && random(99)
end mouseUp
Now put t
Hi.
You probably mean script-only stacks.
Substacks are just stacks, but they live in the same file as the mainStack. It
helps with organization, and when you save one, you save them all. You can only
have one mainStack, but as many subStacks as you like.
For me, I have projects that use substack
I hear you, Mark.
And yes it is.
Craig
-Original Message-
From: Mark Waddingham via use-livecode
To: How to use LiveCode
Cc: Mark Waddingham
Sent: Mon, Sep 16, 2019 9:17 am
Subject: Test post: Its awfully quiet around here...
Testing...
--
Mark Waddingham ~ m...@livecode.com ~ http:
Richmond.
I do not see this in either v 8 or v.9. Both methods work just fine.
I am not sure that you will see this post. I am having issues with the use
list. If I do not see it, I will forward to the forums
Craig
-Original Message-
From: Richmond via use-livecode
To: use-livecode
Cc:
Hi.
This seems like a good case for arrays (pseudo):
You have to create an array for each parent. The only way i see to find those
is to go through the list looking for lines that DO NOT start with a space. If
you work from the bottom up, since children are always at the bottom and they
always h
line that follows an object
Double click to stop drawing?
Rick
> On Jun 28, 2019, at 4:16 PM, dunbarx--- via use-livecode
> wrote:
>
> Not sure how you want to stop drawing. Let me know how you decide that.
> Craig
___
use-livecode
Hi.
So much fun. Change the handler to this:
local pointsListon mouseDown show btn 1 at "200,200" set the points of grc 1
to "0,0" & comma & the loc of btn 1 put the points of grc 1 &return into
pointsList trackButtonend mouseDown
on trackButton if the optionKey is down then exit to top -- e
Probably a brain typo.
But I cannot imagine that item 4 of the rect of a stack window that lies below
the bottom of the screen can be less item 4 of the screenRect.
Craig
-Original Message-
From: Alex Tweedly via use-livecode
To: use-livecode
Cc: Alex Tweedly
Sent: Wed, Jun 26, 2019
Confirmed here.
I have never really tried any of the things you mentioned, but no messages at
all are sent to the group I just made. Interestingly, and consistent so far,
double clicking within the group boundary, but not in any child control, opens
the inspector for the card.
So although the d
Not sure what you could mean.
on mouseUp if the mouseLoc is within the rect of btn 3 then breakPoint if
the visible of btn 3 then breakPoint if the...
Surely I am missing this.
Craig
-Original Message-
From: Bob Sneidar via use-livecode
To: How to use LiveCode
Cc: Bob Sneidar
S
the handler I posted earlier? It is a good start.
Craig
-Original Message-
From: Paul Dupuis via use-livecode
To: use-livecode
Cc: Paul Dupuis
Sent: Fri, Jun 21, 2019 9:29 am
Subject: Re: Help with drawing in LiveCode...
On 6/20/2019 11:34 PM, dunbarx--- via use-livecode wrote:
>
I implemented a fairly complex drawing module to a stack we use all the time.
It isn't CAD, but it looks like it, albeit rather less professional looking
than, say, AutoCad or SoldWorks would produce.
We send these drawings out daily to clients. They are based on data calculated
within the stack
Hi.
I am in v. 8.1.9 and do not see this in either locked or unlocked fields. I
made three, clicked on a line in each, which hilited correctly, and then
both tabbed and clicked all morning through them. Each hilited line stuck
unless I changed it.
Craig
--
Sent from:
http://runtime-revolution
Instead of locking messages, can you not include a hilitedChanged handler
that will trap and bury the message? Not sure where the best place for that
would be.
Craig
--
Sent from:
http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html
_
Hi.
The "screenMouseLoc" is a property, but the "mouseLoc" is a function.You
cannot set a function.
Why this was wrought this way is anybody's guess. I recommend that you make
a library gadget that automatically takes the open LC window properties and
does the math. Then your "newMouseLoc" proper
Hi.
Maybe I am not building this correctly. I made a new stack of five cards. I
placed a BG group on card 3. It has ID 1005.
On card 1 in a button script:
on mouseUp
put the long id of background ID 1005 of this stack into fld 2
end mouseUp
In new sessions, whether I visit card 3 or not, I a
maybe I did not answer your question correctly.
You can conveniently:
set the rawText of btn "XYZ" to the clipBoardData
Craig
--
Sent from:
http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html
___
use-livecode mailing list
u
Hi.
When you change an ordinary property, you set it to a new value:
set the width of btn 3 to 50.
A custom property is "filled" in the same way:
set the rawText of me to chapterOneOfDonQuixote
Custom properties are created just like variables; you just do it. Try this.
make a new button named
"I already have that."
Hmmm. Then what is it that you are asking?
Craig
--
Sent from:
http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to s
Hi.
This is fun to do. Make two fields. In the target field, the one you will
type into, set a custom property "rawText" to some long list of words,
perhaps chapter 1 of your favorite novel. It is a good idea to strip all
punctation from that text before setting the prop.
In that field, place thi
Hi.
If I were you, with the task you laid out, I would not use an option menu.
It is not good with wide menuItems, and it is not natural, if even possible,
to select multiple lines in the way you want.
Use a list field instead. A field has many properties that are denied an
optionMenu, which is r
I think this is expected behavior.
If you have a group of three buttons:
1- disable one of them
2- disable the group
3 enable the group
You do get all three buttons enabled. But the thinking is likely along the
lines of: "That guy enabled the group, right? That means enable the group,
which inc
Does it make it more palatable to think about it the other way around? There
should be no real difference:
You have a group where one button is already enabled, and one already
disabled.
By disabling the group, should the enabled button stay enabled?
Craig
--
Sent from:
http://runtime-revolu
i would say this is expected behavior.
If you disable a control in a group, and then enable the group, LC assumes
you want to, er, enable the group, and that means all members of that group.
So as you mentioned, make a gadget that stores the states of all the
members, and resets when the group is
I wrote:
"Randy.
There must be something different in our setups. All I did was write a
rawkeyUp handler to return the value of my mouse's right-click. Either you
get a different value with that action, or something in your machine is
intercepting that "message" before LC does.
This was a w
1 - 100 of 1284 matches
Mail list logo