Changing a group visible boundaries by script

2017-03-20 Thread Alejandro Tejada via use-livecode
Hi All, Many Thanks for sharing your code! :D This works great to fold and expand a group. -- Fold a group on mouseUp set the rect of grp 1 to the rect of graphic "NODESTART" of grp 1 set the hscroll of grp 1 to the hscroll of grp 1 -(the left of grp 1 - the left of grc "NODESTART" of grp

Re: Scrolling Menu

2017-03-20 Thread dunbarx via use-livecode
So I made a stack that had a group of a dozen buttons piled up vertically. The height of that pile was greater than the height of the stack. I placed another thin button alongside the group that was of the same height as the stack, tall and skinny. The numbers are not important, but I placed this

Re: Hanging indents in LC fields?

2017-03-20 Thread Terry Judd via use-livecode
Thanks Devin – the negative first indent works nicely on normal text! Unfortunately I have an added complication in that I’m working with list style lines as well and list behavior seems to override some of the other indenting stuff. What I’m really trying to do is replace the ‘disc’ character

Re: Hanging indents in LC fields?

2017-03-20 Thread Devin Asay via use-livecode
You can either set the left margin of the field to some large value like 20, or I believe there is a leftIndent property that you can set for a paragraph. Then set the first indent property of the paragraph to a negative number. Devin Sent from my iPhone > On Mar 20, 2017, at 5:15 PM, Terry

Hanging indents in LC fields?

2017-03-20 Thread Terry Judd via use-livecode
Has anyone used livecode’s text formatting commands to create paragraphs with hanging indents (all lines but the first indented)? If so, any clues on how to do it? Best regards, Terry... ___ use-livecode mailing list use-livecode@lists.runrev.com

Re: Linux 32bit?

2017-03-20 Thread Richmond Mathewson via use-livecode
On 3/20/17 10:56 pm, Alejandro Tejada via use-livecode wrote: on Mon Mar 20 2017, William A. Prothero, Jr wrote: Something that might draw in New users who want a ready made solution I think that "a ready made solution" is a bit low down the pecking order; LiveCode is not, and has never

Linux 32bit?

2017-03-20 Thread Alejandro Tejada via use-livecode
on Mon Mar 20 2017, William A. Prothero, Jr wrote: > Something that might draw in New users who want a ready made solution > are template stacks for various kinds of apps. Users would get a head start > on an app, then customize it for their own purposes. Perhaps this already exists, > as I

Re: Widget usage examples

2017-03-20 Thread hh via use-livecode
Hi Jonathan, the problem is the slowdown/stuttering because base64 encoding increases data sizes by round 30%. To avoid a huge html file I had to use an extra callback for that. The other method I described is simpler and faster anyway and can easily be LC-scripted. As this is a widget usage

Re: OT: SQL Integer Math not working

2017-03-20 Thread Bob Sneidar via use-livecode
NVM. The solution was to first set the result column to signed, then cast the start and end mileage to signed. Turns out one of my techs does not get the concept that when a dialog pops up telling him that he cannot have negative mileage, it doesn't occur to him, "... and therefore I've made an

OT: SQL Integer Math not working

2017-03-20 Thread Bob Sneidar via use-livecode
Hi all. I have 3 columns all defined as INT(10) unsigned default 0. I attempt this sql statement: update service set totalmileage = endmileage - startmileage I get the error: Error Code: Error Code: 1690. BIGINT UNSIGNED value is out of range in '(`formsgen`.`service`.`endmileage` -

Re: Scrolling Menu

2017-03-20 Thread Bob Sneidar via use-livecode
I seem to remember in the past that I could set the label of a button, then set the htmlText of a character to some html code, and was able to get that to work. I may be misremembering. Bob S > On Mar 19, 2017, at 23:23 , J. Landman Gay via use-livecode >

Re: Suggestions regarding a webgl problem

2017-03-20 Thread Jonathan Lynch via use-livecode
Hi Lagi, Thanks for checking! After doing lots of research, I think the problem is that chrome CEF blocks webgl for certain graphics cards. I am trying to figure out how to set the ignore-gpu-blacklist flag in CEF. As for the app layout - I need to have it provide instructions on first open.

Re: Widget usage examples

2017-03-20 Thread Jonathan Lynch via use-livecode
Hi Herman, To get the base64encoded data to work for an image in the browser widget, don't forget the following line in LC: Replace linefeed with empty in tBase64data When you export an image to a variable and then base64encode the variable, LC adds in extra linefeeds. They have to be

Re: Suggestions regarding a webgl problem

2017-03-20 Thread Lagi Pittas via use-livecode
Hi Jonathan I downloaded it here - running on Windows 7 virtual machine in Parallels. I got the same message. Just a point , I know this is beta but the interface is very ambiguous as to what you have to press to signup etc. Why the two password fields when you only need 1. f you have a

Re: Problem with converting time

2017-03-20 Thread pink via use-livecode
My experience is that HostM's time is set to GMT when I run: put 1489755600 into tVar convert tVar into dateitems put tVar I get: 2017,3,17,13,0,0,6 - --- Greg (pink) Miller mad, pink and dangerous to code -- View this message in context:

Re: hilited segmented control DE-hilites if clicked again

2017-03-20 Thread Klaus major-k via use-livecode
Hi all, > Am 20.03.2017 um 13:30 schrieb Klaus major-k via use-livecode > : > > Hi friends, > > see Subject, I, personally, do not see any real case for this behavior. > > Even Livecode uses a segmented control for the "text align" setting > in the property

Re: Scrolling Menu

2017-03-20 Thread Richard Gaskin via use-livecode
Dan Friedman wrote: > 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

Re: Scrolling Menu

2017-03-20 Thread dunbarx via use-livecode
Jacque. Aha. I will try using another stack. The user guide does not make this as clear as it might, which is where I went to read up on how to make one. Craig -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Scrolling-Menu-tp4713182p4713205.html Sent from the

Re: Widget usage examples

2017-03-20 Thread hh via use-livecode
Correction. My widget usage example (Ken-Burns-Effekt) http://forums.livecode.com/viewtopic.php?p=152547#p152547 misses one feature I have announced: The images list is currently only working if you use image files from a server (may be also a local server). My variant for local files was, not

hilited segmented control DE-hilites if clicked again

2017-03-20 Thread Klaus major-k via use-livecode
Hi friends, see Subject, I, personally, do not see any real case for this behavior. Even Livecode uses a segmented control for the "text align" setting in the property inspector and obviously scripted this control to NOT behave this way. Click the "LEFT" icon a couple of times and see what I

Re: SFTP with .PPK file

2017-03-20 Thread Stephen MacLean via use-livecode
Hi Charles, Thank you so much, that did the trick!!! Best Regards, Steve MacLean > On Mar 18, 2017, at 4:05 AM, Charles Warwick via use-livecode > wrote: > > Hi Steve, > > Ahh... it's been a while since I wrote the SSH component of tsNet and I've > been

[ANN] This Week in LiveCode 75

2017-03-20 Thread panagiotis merakos via use-livecode
Hi all, Read about new developments in LiveCode open source and the open source community in today's edition of the "This Week in LiveCode" newsletter! Read issue #75 here: https://goo.gl/FPpuCs This is a weekly newsletter about LiveCode, focussing on what's been going on in and

Re: Linux 32bit?

2017-03-20 Thread Lagi Pittas via use-livecode
Hi If I didn't know about livecode or Hypercard and stumbled on the main site today - I would be off in a flash. If I landed on the Xojo main page and went to the store the prices and the layout are not eye watering https://xojo.com/store/index.php I actually prefer livecode (I have enterprize

Re: Linux 32bit?

2017-03-20 Thread Richmond via use-livecode
Template stacks is an idea that comes up periodically: what is needed is for LiveCode to sort out "Rev-Online" . . . Richmond. On 20/03/17 10:18, William A. Prothero, Jr via use-livecode wrote: Something that might draw in New users who want a ready made solution are template stacks for

Re: Linux 32bit?

2017-03-20 Thread William A. Prothero, Jr via use-livecode
Something that might draw in New users who want a ready made solution are template stacks for various kinds of apps. Users would get a head start on an app, then customize it for their own purposes. Perhaps this already exists, as I haven't perused the site for awhile. I do know that the short

Re: Widget usage examples

2017-03-20 Thread hh via use-livecode
> BR wrote > Now, if only we could layer objects on top. I'm seeing more and more apps now > that are using this kind of effect as the background, they also use looping > video - not animated gif, but actual video: short small looping clips that > run behind/ underneath a scrolling group of

Re: Scrolling Menu

2017-03-20 Thread J. Landman Gay via use-livecode
On 3/19/17 10:03 PM, dunbarx via use-livecode wrote: 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,