Re: Disabled objects semi translucent??

2020-03-26 Thread dunbarx--- via use-livecode
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:

Re: LiveCode useless seems to be Junk

2020-04-12 Thread dunbarx--- via use-livecode
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

Re: Long Standing Issue with the defaultStack

2020-04-18 Thread 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

Re: Long Standing Issue with the defaultStack

2020-04-18 Thread dunbarx--- via use-livecode
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 >

Re: Visual Effect

2020-04-18 Thread dunbarx--- via use-livecode
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

Re: Scrollbar scale value not showing in Windows

2020-04-22 Thread dunbarx--- via use-livecode
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

Re: Groups placed on cards

2020-04-24 Thread dunbarx--- via use-livecode
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

Re: Groups placed on cards

2020-04-24 Thread dunbarx--- via use-livecode
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

Re: Groups placed on cards

2020-04-25 Thread dunbarx--- via use-livecode
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

Re: What is a real?

2020-04-25 Thread dunbarx--- via use-livecode
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

Re: Wildcard? replaceText, offset?

2020-04-26 Thread dunbarx--- via use-livecode
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

Re: Wildcard? replaceText, offset?

2020-04-26 Thread dunbarx--- via use-livecode
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

How do I format a handler in the use-List?

2020-04-26 Thread dunbarx--- via use-livecode
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

Re: Wildcard? replaceText, offset?

2020-04-27 Thread dunbarx--- via use-livecode
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

Re: How do I format a handler in the use-List?

2020-04-27 Thread dunbarx--- via use-livecode
? 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

Re: Counting unique items in a file

2020-04-27 Thread dunbarx--- via use-livecode
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

Re: Three very simple questions

2020-04-28 Thread dunbarx--- via use-livecode
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

Re: Quick IDE question

2020-04-29 Thread dunbarx--- via use-livecode
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

Re: Live search box

2018-04-30 Thread dunbarx via use-livecode
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

Re: Live search box

2018-05-01 Thread dunbarx via use-livecode
"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

Re: Live search box

2018-05-01 Thread dunbarx via use-livecode
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

Re: Live search box

2018-05-01 Thread dunbarx via use-livecode
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

Re: Background Long IDs

2018-05-06 Thread dunbarx via use-livecode
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

Re: Active window and mouse location

2018-05-08 Thread dunbarx via use-livecode
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

Re: Navigation Widget Suppressing the hiliteChanged Message

2018-05-08 Thread dunbarx via use-livecode
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 _

Re: HilitedLine of list field lost when unlocked field selected

2018-05-31 Thread dunbarx via use-livecode
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

Re: common code patterns

2017-08-11 Thread dunbarx via use-livecode
The subThread about Switch/Case is a current thread on the forum: Craig -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/common-code-patterns-tp4718218p4718394.html Sent from the Revolution - User mailing

Re: datagrid in group with backgroundbehavior?

2017-09-06 Thread dunbarx via use-livecode
Klaus. Not sure what you mean. Is it that you want specific fields (or all of them) in a DG to have their sharedText property set to true? You can do this by hand: set the sharedText of fld "col 1 0001" to "true" Craig -- Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-

Re: datagrid in group with backgroundbehavior?

2017-09-06 Thread dunbarx via use-livecode
Klaus. Not sure what you mean. Is it that you want specific fields (or all of them) in a DG to have their sharedText property set to true? You can do this by hand: set the sharedText of fld "col 1 0001" to "true" Craig -- Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolut

Re: read from file until a line begins with a certain word

2017-09-16 Thread dunbarx via use-livecode
I would just read the whole file and then let LC truncate the text following the keyword sentence in the usual ways. I bet even with a couple of gigabytes this would not take much time. Craig Newman -- Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html

Re: read from file until a line begins with a certain word

2017-09-17 Thread dunbarx via use-livecode
The fact that the keyword both starts lines and is also embedded within lines makes me believe even more that the required processing work within LC, and not in gadgetry in the "read" command. A keyword that starts a sentence may not have a return in front of it. That would only occur if it starte

Re: = sign in script editor, Mac

2017-09-19 Thread dunbarx via use-livecode
Klaus. Huh? My "=" key works fine, and if I use shift-0 I get ")" Or is this an 8.x thing? Craig -- Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html ___ use-livecode mailing list use-livecode@lists.runrev.com

Re: How to to type bottom to up and right to left in a field

2017-09-21 Thread dunbarx via use-livecode
Hi. Not sure at all what that handler does. But something like this, off the top of my head: on keyDown, tKey if the optionKey is down then put return & tKey before me else put tKey before me end keyDown Craig Newman -- Sent from: http://runtime-revolution.278305.n4.nabble.com/Revoluti

Re: How to to type bottom to up and right to left in a field

2017-09-21 Thread dunbarx via use-livecode
Well it just goes to show that I do need a computer. Mental scripting only sounds, er, sound. This works: on keyDown, tKey    if the shiftkey is down and the capsLockKey is down then put tKey & return before me    else put tKey before me select before me end keyDown All the other "control" key

Re: How to to type bottom to up and right to left in a field

2017-09-21 Thread dunbarx via use-livecode
Well, at least this explains it:\ "...essentially" on textchanged select before me end textchanged -- Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html ___ use-livecode mailing list use-livecode@lists.runr

Re: Making the clipboard Excel compatible

2017-10-02 Thread dunbarx via use-livecode
Hmm. If I place a few lines of text into a field,, with the words separated by tabs, and: set the clipBoardData["text"] to fld 1 and then paste into excel, all comes out just fine. I am in v.6.7, however. Craig Newman -- Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-

Re: Making the clipboard Excel compatible

2017-10-02 Thread dunbarx via use-livecode
Well and good, but, barring the version difference, the OP was talking about Excel, and my setup acts normally. Craig -- Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html ___ use-livecode mailing list use-livecod

Re: 'manual' Copy and paste of multiple objects to new card ungroups grouped objects

2017-10-13 Thread dunbarx via use-livecode
Just to be clear, turning OFF "Select Grouped" will allow an intact group to be copied. If that feature is on (made bold), even with all the controls within a group copied to another location, those copies will come over as individual controls, and the group will be lost. Craig Newman -- Sent f

Re: 'manual' Copy and paste of multiple objects to new card ungroups grouped objects

2017-10-13 Thread dunbarx via use-livecode
I always have to think twice about of that feature. I really just "see" if it is bold or not, remembering that bold is for the control, and plain is for the group. It would be far better if it toggled between "Select Group" and "Select Control" (maybe "Select Grouped Control" is just too wide?).

Re: [OT] Myst and The Manhole

2017-10-19 Thread dunbarx via use-livecode
My favorite was "Cosmic Osmo" 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 subscribe, unsubscribe and manage your

Re: Go card "xyz"

2017-10-31 Thread dunbarx via use-livecode
If you have a button on a stack with: on mouseUp go stack "otherStack" answer "XYZ" end mouseUp and in the stack script of that other stack: on resumeStack answer "ABC" end resumeStack The "ABC" appears before the "XYZ". Is that what you meant? Craig Newman -- Sent from: http://ru

Re: Go card "xyz"

2017-10-31 Thread dunbarx via use-livecode
"When you go to another card, lots of things happen before and after the go... What Bob said. I assumed you knew that lots of messages are generated in the case you described, all the comings and goings, and were only asking about the order of events between the two lines of code in the initial h

Re: Why is everything in the IDE so tiny?

2017-11-01 Thread dunbarx via use-livecode
There are other things you can do. In the preferences, Under the "Object Sizes" pane, you can set the default sizes of all controls. This is similar to setting the template(control) to your own style, that virtual object being able to set defaults on any property available to the control. Craig N

Re: Awful quiet around here

2017-11-14 Thread dunbarx via use-livecode
The forum went quiet for a couple of days last week, but it seems that it just, er, went quiet. The law of averages is a law in name only. Craig Newman -- Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html ___ us

Re: Find WHAAAAAY faster!

2017-11-30 Thread dunbarx via use-livecode
I am in 8.1.6. Where did the speed increase come in? Craig Newman -- 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 subscri

Re: Trapping multiple keystrokes

2017-12-01 Thread dunbarx via use-livecode
If you have this in the script of a field: on arrowKey tKey add 1 to me end arrowKey The continuous addition stops instantly after release. As Jacque mentioned, how are you doing it? Craig Newman -- Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html __

Re: sorting with number late in name

2017-12-07 Thread dunbarx via use-livecode
"...Ascending is implied when you sort numeric. " "Ascending" is the default regardless of the sortKey. Craig -- Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html ___ use-livecode mailing list use-livecode@list

Re: Copying text in boxes to clipboard

2017-12-07 Thread dunbarx via use-livecode
A table made up of boxes? Are thee boxes individual fields? Or are they the "cells" that comprise table fields or dataGrids? In either case, or in any case at all, one can place the data in those boxes onto the clipboard by setting the clipbardData to the text of those, er, boxes. This either all

Re: Copying text in boxes to clipboard

2017-12-08 Thread dunbarx via use-livecode
Easy, if I understand what you are asking. So do you have pairs of fields, each pair a "name" and a "score"? Something like: name1, score1 name2, score2 etc. ?? Are these pairs of fields associated with each other in the way I assumed, that is, by their names, or in some other way? In any case

Re: Copying text in boxes to clipboard

2017-12-08 Thread dunbarx via use-livecode
Ah. Hmmm. Do i understand you want to take a "picture" of your existing field array, and place that in the clipboard? -- Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html ___ use-livecode mailing list use-livecod

Re: Copying text in boxes to clipboard

2017-12-08 Thread dunbarx via use-livecode
Does the "export snapshot" command do what you want? That is an old gadget. 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

Re: Copying text in boxes to clipboard

2017-12-08 Thread dunbarx via use-livecode
Sorry, I meant "import snapshot". Try this, and read the dictionary to set it up the way you want, likely from a rect. The resulting img control can then be placed into the clipboard. Quality should be pretty good. Craig -- Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-

Re: Copying text in boxes to clipboard

2017-12-08 Thread dunbarx via use-livecode
"This is why I was trying to utilize the clipboard using text directly rather than a graphic. " Not understanding (again). How would you reproduce the physical fields as any form of text? That is how I started, with the field data, which I see now was not what you wanted. Craig -- Sent from:

Re: Copying text in boxes to clipboard

2017-12-08 Thread dunbarx via use-livecode
"I want to duplicate the borders of the fields in copying the fields to the clipboard. " Right, so you need an image, not any sort of text wizardry. I did a quick test using the "import snapshot" command, and pasted the result into another app. It seems to have the same resolution as the img in t

Re: Copying text in boxes to clipboard

2017-12-08 Thread dunbarx via use-livecode
But the OP wants everything in the clipboard, so he can paste away. I suppose that the target apps might have a feature to import pdf's as a menu command, but that would require scaling and who knows what else. Craig -- Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User

Re: Script Editor problem

2017-12-09 Thread dunbarx via use-livecode
Its just a stack, called something like "revDebuggerLibrary" or someSuch. >From msg, can you change its rect? Craig -- Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html ___ use-livecode mailing list use-livecode

Re: Script Editor problem

2017-12-09 Thread dunbarx via use-livecode
Actually tested, and though I can access the "revDebuggerLibrary" stack, I cannot do much with it. I can get its properties, but cannot change them, and if I do something like, as you might need: get the loc of stack "revDebuggerLibrary" set the loc of stack "revDebuggerLibrary" to item 1 of it &

Re: Script Editor problem

2017-12-09 Thread dunbarx via use-livecode
Ah. So the name of the bebugger stack has changed yet again. Third time in my lifetime.. I wonder why the old stack "revdebuggerLibrary" still lives, though maybe it has evolved into the library paradigm that v.8+ has embraced. Anyway that is the solution. And a reminder that all of LC is just

Re: Script Editor problem

2017-12-11 Thread dunbarx via use-livecode
You might place a keyboard shortcut in a library script or plugin to reset the rect of the SE to your liking. Better than slogging through the msgs. Craig -- Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html ___

Re: mumbling towards a crash cause

2017-12-22 Thread dunbarx via use-livecode
Hi. I have never seen an issue with accessing a custom property immediately after it was created, and before the stack was saved. Craig Newman -- Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html ___ use-livecod

Re: How to tell if it's a datagrid

2018-01-04 Thread dunbarx via use-livecode
Hi. Can you both check dgProp ["control type"] AND see if the owner of that control is a group where that property also exists? Or, and I hesitate to mention it, why not just either name all your DG's a certain way, or set a custom property for each of them? After all, you had to have created the

Re: Lower part of Script Editor (the one with variabels etc.) disappeared, how to get it back?

2018-01-05 Thread dunbarx via use-livecode
Klaus is new at this. Be patient with him 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 subscribe, unsubscribe an

Re: Object layers

2018-01-07 Thread dunbarx via use-livecode
"I have experienced that ungrouping may send the individual objects to random layers. " First, what Klaus said. Second, layer order is preserved pretty well in LC. When you set the layer of the group to top, as Kluas suggests, and then ungroup, all the child controls take the topmost layers, with

Re: Object layers

2018-01-07 Thread dunbarx via use-livecode
Klaus. I never can figure out who the authors of these posts are. It seems that each day one user garners all of them. I have no idea how that is managed. With--over at midnight GMT? I asked years ago that everyone sign their full names because the list structure itself is useless. Craig Newman

Re: Object layers

2018-01-07 Thread dunbarx via use-livecode
Jacque. I do receive them as emails, but the text is not well formed, and the thread is not preserved. So I go to babble to get the context and timing. It would all be fine if we signed our names. Craig -- Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html

Re: Object layers

2018-01-08 Thread dunbarx via use-livecode
I do get a lot of eye rolling about that. Stuck in the past, you see. 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 t

Re: how to refer to a custom prop that is a multidimensional array

2018-01-23 Thread dunbarx via use-livecode
Hi. I am not sure I understand your question. What is different about this: on mouseUp put 6 into myArray["x"]["a"] put 7 into myArray["x"]["b"] put 8 into myArray["x"]["c"] answer myArray["x"][any char of "abc"] end mouseUp Craig Newman -- Sent from: http://runtime-revolutio

Re: how to refer to a custom prop that is a multidimensional array

2018-01-23 Thread dunbarx via use-livecode
Oh. Now I see. You want to retrieve "interior" elements of an array directly from a single call to a custom property. As said, I think you have to retrieve the property, and then retrieve the element. Two lines of code. Craig -- Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolu

Re: Pasting tabs into Excel

2018-02-02 Thread dunbarx via use-livecode
Jacque. As if you needed this, confirmed here. What on earth can v.8 be doing to the tab character??? Craig -- Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html ___ use-livecode mailing list use-livecode@lists.

Re: Pasting tabs into Excel

2018-02-03 Thread dunbarx via use-livecode
I have no access to Excel at the moment, but I cannot believe that the default field delimiter could possibly have changed from tab. May just as well change the record delimiter from return It would break just about everything. Craig -- Sent from: http://runtime-revolution.278305.n4.nabble.c

Re: how to format text for copy-pasting as a spreadsheet table

2018-02-08 Thread dunbarx via use-livecode
Hi. Not sure I understand. If I make a list: put "cat" & tab & "dog" & tab & "eel" & return & "red" & tab & "blue" & tab & "yellow" into myList set the clipBoardData to myList I should be able to paste directly into any spreadsheet. There is a thread that describes an issue pasting into google

Re: Getting current line number of a table field.

2018-02-14 Thread dunbarx via use-livecode
You know, this proved more of a problem than I thought. Richmond, the issue is with tab and return keyPresses, not mouse clicks. Anyway, given a table field 1 and another field 2, this works if you tab or return in the table field: on rawKeyUp tKey put the selectedLoc && the selectedChunk into

Re: Getting current line number of a table field.

2018-02-14 Thread dunbarx via use-livecode
You know, I have given advice many times to people trying to find the selected field in a DG. The target is always of the form, for example, "field Col 3 0005". But how does the focussedObject return similar data in a table field? The fact that is does is marvelous indeed, but I never would have

Re: Getting current line number of a table field.

2018-02-14 Thread dunbarx via use-livecode
The extra field is what I once called a "phantom" field, ephemeral and elusive. But it does exist: In a table field script: on mouseEnter put the number of flds end mouseEnter If you move around the table field without a selection, you get 1, If you click on a "cell" to "select" it, and then

Re: Am I Dreaming?

2018-02-17 Thread dunbarx via use-livecode
Richomnd. Yes and no, that is to say, I think it both does and it doesn't. Some SE windows always open at the bottom. Some open where I left off. In other words, I am not sure at all. I think. Craig -- Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html __

Re: Am I Dreaming?

2018-02-19 Thread dunbarx via use-livecode
Richmond. Not the first time I have been caught replying to the last person that posted, that being the way the nabble thing works, and why I alway sign my name. In this instance, of course, Roger did indeed sign his name, and so the above comment is valueless. Oh, and as for the name typo, since

Re: Background color in an 'answer' dialog?

2018-02-28 Thread dunbarx via use-livecode
This is a great example of the maxim "Everything in LC is simply a stack" Craig Newman -- Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit

Re: Background color in an 'answer' dialog?

2018-02-28 Thread dunbarx via use-livecode
As a follow-up, is there anywhere a list of all IDE stacks? For example, the stack named "answer dialog", though perfectly logical, is not listed anywhere, and the names of some stacks, like the script editor, have changed over the several LC versions. It is a great way to get oneself in real trou

Re: Background color in an 'answer' dialog?

2018-02-28 Thread dunbarx via use-livecode
Panos. Ah, of course. Thanks. I see one can get into real trouble. 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

Re: how to copy a card?

2018-03-08 Thread dunbarx via use-livecode
Note that one can also copy a card, navigate to another spot in the same or another stack, and paste. The advantage is that the copy can be inserted anywhere in the card suite. This can all be done under script control. Craig -- Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolut

Re: Issues with storage of data in stack

2018-03-08 Thread dunbarx via use-livecode
Hi. I store data in both external files and within the stack itself. Never used a DB. But no issues of any kind ever. Craig Newman -- Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html ___ use-livecode mailing l

Re: Standalone compile problem including more than two stack files to the mainstack

2018-03-08 Thread dunbarx via use-livecode
Jacque usually has a way out. But I have no problem making a standalone with two added stack files. Craig Newman -- Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html ___ use-livecode mailing list use-livecode@li

Re: Mouse wheel scrolling support...

2018-03-19 Thread dunbarx via use-livecode
Paul. What beyond trapping the "scrollBarDrag" message were you looking for? Craig Newman -- Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html ___ use-livecode mailing list use-livecode@lists.runrev.com Please v

Re: [OT] Web based HyperCard

2018-03-27 Thread dunbarx via use-livecode
Could only see a black screen when opening in Safari on OS 10.9. Craig Newman -- 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

Re: Multiple Windows

2018-03-31 Thread dunbarx via use-livecode
Richmond. I saw your construction of two stacks displayed in a "frame", so it appeared that two cards were simultaneously present in a single "stack". I see what you are after; the goal being be able to navigate in each card separately. Why only two? Anyway, I have never needed such a feature,

Re: formatForPrinting

2018-04-06 Thread dunbarx via use-livecode
I am intrigued as well. The dictionary is quite clear. Set this property before it ever is in memory. Does the engine store properties just in case a stack of the appropriate name opens? Are there other such properties? The dictionary states that this property can be cleared if text is to be edi

Re: 9.0 Crashes Constantluy

2018-04-10 Thread dunbarx via use-livecode
I have never seen this through 8.1.8. But all my stacks that I make standalones from are set to destroy themselves. Is that possibly the reason? Craig Newman -- Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html

Re: name resolution stinker

2018-04-11 Thread dunbarx via use-livecode
Have not tried any of the offerings. But, at least in HC, it was important to isolate all card references with parentheses. Otherwise the engine would concatenate any text following the ostensible card reference and create a mess: blah, blah, blah of (cd id 1002) of stack Not sure if LC is mo

Re: how to print a csv as formatted table?

2018-04-12 Thread dunbarx via use-livecode
Why not, indeed? Is it more complicated than replacing all commas with tab? 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 thi

Re: How to get the line break char?

2018-04-18 Thread dunbarx via use-livecode
Hi. You cannot ask for the "last" char of a line, because LC will give you the last "non-control" char. Say you have the below text in a field: abc def So the last char of line 1 is "c". But the number of chars of that text snippet is 7 But numToChar(char 4 of fld 1) = 10. That is a return ch

Re: AW: How to get the line break char?

2018-04-18 Thread dunbarx via use-livecode
Tiemo. I guess I do not understand. put charToNum(the number of chars of line (lineOfInterest + 1) of yourText) into tChar Then tChar can be compared to the "tChar" of any other line. Craig -- Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html __

Re: TOOLS ROUNDUP! TOOLS ROUNDUP!

2018-04-23 Thread dunbarx via use-livecode
Hi. My most useful gadget is a very simple plug-in. It toggles the Browse and Pointer tools when right-clicking my mouse: on rawKeyUp tKey if (tKey = 65473 and the tool = "browse tool") then choose "pointer tool" else choose "browse tool" end rawKeyUp Craig Newman -- Sent from: http://runt

Re: TOOLS ROUNDUP! TOOLS ROUNDUP!

2018-04-23 Thread dunbarx via use-livecode
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. Craig -- Sent from: http

Re: TOOLS ROUNDUP! TOOLS ROUNDUP!

2018-04-24 Thread dunbarx via use-livecode
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

Re: Enable/disable Group enables/disables all children

2018-04-26 Thread dunbarx via use-livecode
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

Re: Enable/disable Group enables/disables all children

2018-04-26 Thread dunbarx via use-livecode
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

Re: Enable/disable Group enables/disables all children

2018-04-26 Thread dunbarx via use-livecode
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

Re: Splitting long elements into two lines in an Option Menu

2018-04-26 Thread dunbarx via use-livecode
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

Re: Help: Odd menu behavior under LC6.7.11 on OSX

2017-01-09 Thread dunbarx via use-livecode
I am still in 6.7 and perfectly fine. So if you click on the "File" menu, and then release and then click on "Edit", I assume the menuItems for "Edit" appear normally? It is only when you click on "File" and then, mouse-still-down, move over to "Edit" that the thing happens? Craig -- View this

Re: Help: Odd menu behavior under LC6.7.11 on OSX

2017-01-09 Thread dunbarx via use-livecode
Hi. 6.7 on Mavericks I am hunkered down in v6 until I can swallow the new "look" of v8/9. The only thing I really miss from those is the new multi-char itemDelimiter. Craig -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Help-Odd-menu-behavior-under-LC6-7-11-o

  1   2   3   >