Re: Problem with converting time

2017-03-19 Thread Sannyasin Brahmanathaswami via use-livecode
Hmm, this is odd if you are located in North Carolina…it means your server is off shore, out in the Atlantic, because it is running 3 hours ahead of you. but, unless HostM has now floatilla ISP data center ships, or secret bunkers on the sea floor, something is amiss. Ditto everything Richard

Re: Scrolling Menu

2017-03-19 Thread dunbarx via use-livecode
Jacque. I actually never tried using a stack as a menu. So I just did. But in both v6.7 and 8.1.3, if I create and name a new stack, add a single button to it, and set the "menuName" of the button to the stack name, as soon as I click on the button, LC crashes and quits. Was it something I said?

Re: Scrolling Menu

2017-03-19 Thread dunbarx via use-livecode
"I suspect that Craig didn't know that stacks can be menus. " I did, but did not connect those dots. And as you say, I also do not know how to add a scrollbar to a stack. But a kluge ought to be doable. I will play around for a bit. Craig -- View this message in context:

Re: Scrolling Menu

2017-03-19 Thread Craig Newman via use-livecode
Ah. Have tried to set the size, top or bottom of the stack window to accommodate? This should be easy to manage based on the parameters of your selection gadgetry. I am not quite clear how you are selecting the various buttons, but a single handler in the card script ought to suffice. Craig

Re: Scrolling Menu

2017-03-19 Thread J. Landman Gay via use-livecode
On 3/19/17 8:22 PM, Dan Friedman via use-livecode wrote: Craig, It’s that the stack this is acting as the menu is higher (taller) than the screen. So, the bottom of the stack is below the bottom of the screen. Can’t scroll the menu (the stack) to see or select the button that are out of view.

Re: Changing a group visible boundaries by script

2017-03-19 Thread J. Landman Gay via use-livecode
On 3/19/17 7:23 PM, Alejandro Tejada via use-livecode wrote: How could I resize the visible boundary of a group (with many controls) to show only the rectangle of the clicked control? Try setting the group's boundingRect to the rect of the control, then setting the rect of the group. --

Re: Changing a group visible boundaries by script

2017-03-19 Thread Mike Bonner via use-livecode
When you shrink the group, it does indeed move things around, so you'll need to do the math to adjust the vscroll and hscroll. Something like this.. *set* the hscroll of me to the hscroll of me -(the left of me - the left of the target ) *set* the vscroll of me to the vscroll of me -( the top

Re: Changing a group visible boundaries by script

2017-03-19 Thread dunbarx via use-livecode
Hi. Untested, but something like: set the rect of grp "yourGroup" to the rect of control "yourControlToShrinkTo" Craig Newman -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Changing-a-group-visible-boundaries-by-script-tp4713184p4713186.html Sent from the

Re: Scrolling Menu

2017-03-19 Thread dunbarx via use-livecode
I almost know what you are seeing, but not quite. Is it a menu-style button that is in question? Or some other control, like a scrolling table field? And do you mean that the "top" of the stack is above the "top" of the screen? Please explain. Craig Newman -- View this message in context:

Changing a group visible boundaries by script

2017-03-19 Thread Alejandro Tejada via use-livecode
Hi All, How could I resize the visible boundary of a group (with many controls) to show only the rectangle of the clicked control? For example, in a new stack create 3 or 4 controls (buttons, fields, images or graphics) and group them. Using the pointer tool change the size of the visible

Suggestions regarding a webgl problem

2017-03-19 Thread Jonathan Lynch via use-livecode
I just put the beta version of Augmented Earth on my website. My wife downloaded and installed it. When she got to the map group, it would not display the map. Instead it gets a page saying "your browser does not support WebGL". This seems rather odd to me. As I understand it, the browser widget

Scrolling Menu

2017-03-19 Thread Dan Friedman via use-livecode
Greetings! I have created a stack with a column of buttons and set it’s name to the menuName of a button. It’s popuping up perfectly except that if the height of the stack is highter than the screen, it doesn’t scroll with the mouse as a normal menu does. I tried grouping the buttons and

Linux 32bit?

2017-03-19 Thread Alejandro Tejada via use-livecode
Hi Richmond, on Sun, 19 Mar 2017, Richmond Mathewson wrote: > This just echos what LiveCode have been doing > for a long, long time, and I get slammed every time > I mention it: They talk "the talk" about FOSS, 'Community' > and so on, and listen when it suits them, but don't when it doesn't. I

Widget usage examples

2017-03-19 Thread hh via use-livecode
Today I started a new collection, hope some of you come in with "LC-specials". This demo shall show that you need nothing more than a browser widget and a set of image files located locally (e.g. in tmp-folder from stack resources) or from a server in order to have a HQ Ken-Burns-effect show --

Re: Colour Manipulation

2017-03-19 Thread Graham Samuel via use-livecode
Yes I agree wholeheartedly with Johnathan - I once (maybe five years ago) wanted to use ImageMagick but was put off, partly because I wanted to put it into a commercial product and couldn’t understanding the licensing rules: in particular, it seemed that I had to give all my users (purchasers)

Re: Colour Manipulation

2017-03-19 Thread hh via use-livecode
> Jonathan L. wrote: > It would be amazing if the LC folks created an ImageMagick wrapper so that > we could use it as an external or widget! There is a Java interface (JMagick, see https://www.imagemagick.org/script/api.php) and the brand-new LiveCode FFI for Java. > If you can find a