Re: align field scrolls

2017-03-06 Thread dunbarx via use-livecode
So if your two fields have different number of lines, you must scale the "slave" field to the "master. You cannot just align their scroll values. If the master has, say 100 lines, and the slave 75, you simply set the ratio of the scroll of the master to its total line count to the ratio of the

Re: fontNames

2017-02-03 Thread dunbarx via use-livecode
I fear I am becoming more and more orphaned around here, languishing in v.6x. For what it is worth, the fontNames returns only a list of fonts, one per line, in my world. Is it a v.8 thing? Craig Newman -- View this message in context:

Re: Auto scrolling a locked field when mouse comes to edge

2017-02-01 Thread dunbarx via use-livecode
Hi. Not sure, I guess, what you are asking. I make an ordinary field, fill it with lots of dross, and lock the text. If I click on any visible line and then drag the mouse around, the text below the cursor, whether above or below the original clickLine, are all hilited. Craig NEwman -- View

Re: SubMenu

2017-01-25 Thread dunbarx via use-livecode
I assume that v8 works the same as v6. The menuItems are just the contents of a button. So in any of the button types that suit you, subMenus are distinguished by preceding tab characters: A B (tab) c (tab) d E F Her the "c" and "d' will be a submenu of "B". Check out the user guide. There are

Re: Storing and object reference in a var

2017-01-25 Thread dunbarx via use-livecode
Hmmm. SetProps notwithstanding, one could; on mouseUp put the name of fld 1 into hh set the abc of hh to "xyz" end mouseUp This will indeed create a custom property (abc) of field 1 and set it to "xyz". In this case LC evaluates the variable "hh" as an object reference. I would have

Re: Storing and object reference in a var

2017-01-24 Thread dunbarx via use-livecode
I am not sure what you mean. Both lines of code seem fine. What is not working? Craig Newman -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Storing-and-object-reference-in-a-var-tp4711908p4711919.html Sent from the Revolution - User mailing list archive at

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:

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

<    1   2   3