Search found 26 matches

by windowsLC
Sun Feb 04, 2018 1:42 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: file transfer over sockets
Replies: 16
Views: 10325

Re: file transfer over sockets

I got as far as sending medium size files and it works just fine. Your 1meg will be no problem. What I meant earlier in the thread was if your file sizes start approaching sizes you wouldn't want to be loading fully into memory. In such a case what you can do is read out chunks and send those chunks...
by windowsLC
Tue Jan 16, 2018 1:06 am
Forum: Talking LiveCode
Topic: Changes in snapshot over versions
Replies: 5
Views: 3434

Re: Changes in snapshot over versions

I've determined the bug surfaced at least on windows after 6.6.5 stable. Bug exists in 6.7 stable. I have filed a bug report.
by windowsLC
Mon Jan 15, 2018 10:00 pm
Forum: Talking LiveCode
Topic: Changes in snapshot over versions
Replies: 5
Views: 3434

Re: Changes in snapshot over versions

thanks for the testing. I tested a bit also on Windows. On version v6.0.2 it works and I get full screenshot I tried a few v7 stable builds and it just fails silently. I tried v9 dp11 and it script fails with this info: button "Button": execution error at line 4 (snapshot: no screen), char 1 so if i...
by windowsLC
Mon Jan 15, 2018 9:25 am
Forum: Talking LiveCode
Topic: Changes in snapshot over versions
Replies: 5
Views: 3434

Changes in snapshot over versions

I have an old standalone (maybe version 2.9) that uses the import snapshot command (with no object or rec) and you get the cross icon to click and drag. Well If you do not move the cursor and double click an image of the whole desktop is imported. If I do a snapshot with version 9 dp11(windows) and ...
by windowsLC
Fri Jan 05, 2018 10:31 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: the polygon tool
Replies: 7
Views: 4803

Re: the polygon tool

Ok got my better polygon graphic tool with the line to the mouse working. Needs a little code for the cross mouse cursor and to move on to the next polygon if needed, but I have to say I'm happy with the result. local drawing, closeit on mouseUp pButtonNumber put true into drawing set the points of ...
by windowsLC
Fri Jan 05, 2018 9:58 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: the polygon tool
Replies: 7
Views: 4803

Re: the polygon tool

Dont think it will be needed, I'm trying my hand at rolling my own polygon graphic tool I create a graphic called Polygon and then this in the card script works well to draw the polygon local drawing, closeit on mouseUp pButtonNumber put true into drawing set the points of grc "draw" to the points o...
by windowsLC
Fri Jan 05, 2018 7:09 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: the polygon tool
Replies: 7
Views: 4803

Re: the polygon tool

the correct title of this thread should have been Polygon Graphic tool as the Polygon tool for paint drawing doesn't have the problem. Seems odd that it needs to be there while "drawing" or clicking the points of the polygon as it has no purpose until all the polygons points are set, and after it is...
by windowsLC
Fri Jan 05, 2018 5:53 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Scale image proportionally on resizestack
Replies: 22
Views: 15104

Re: Scale image proportionally on resizestack

Got it thanks much. I got it working but ended up not liking with stack resize effect for this UI so I went with using a slider set with ratios to resize the image contained with some similar code. Seriously thanks to everyone that posted, this forum has been so helpful I'm nearly finished with the ...
by windowsLC
Thu Jan 04, 2018 11:03 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: the polygon tool
Replies: 7
Views: 4803

the polygon tool

The polygon tool has the dashed edit thing around it (editmode I think it has to do with) as you click the points to form the polygon. Is there a way to not have that around it. I am using a button that chooses polygon tool and the user needs to draw the polygon but having that editmode thing around...
by windowsLC
Thu Jan 04, 2018 4:52 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Scale image proportionally on resizestack
Replies: 22
Views: 15104

Re: Scale image proportionally on resizestack

I guess the proper terminology for what I am trying to achieve would be that I want to constrain the aspect ratio of the image. like if you shift-click and drag on the corner of an image. I tried your script -hh and it is a nice relative scale, it does not constrain the aspect ratio of the image tho...
by windowsLC
Wed Jan 03, 2018 4:56 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Scale image proportionally on resizestack
Replies: 22
Views: 15104

Re: Scale image proportionally on resizestack

I've played with the GM enough now that I can see there is no way to keep proportion when scaling with it. There are anchors (static for top and left and relative or static for right and bottom) to the sides and will adjust the image depending on which side of the stack you move, so there is no way ...
by windowsLC
Wed Jan 03, 2018 3:22 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Scale image proportionally on resizestack
Replies: 22
Views: 15104

Re: Scale image proportionally on resizestack

I played with GM a little but am not seeing a way to scale image proportionally keeping the images original perspective.
by windowsLC
Wed Jan 03, 2018 7:23 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Scale image proportionally on resizestack
Replies: 22
Views: 15104

Scale image proportionally on resizestack

I have an image I am importing into the center of a stack. I want the image to scale proportionally when I manually resize the stack. I've found code on the forum for proportionally scaling the image on import but I don't think that code will help in a situation where I am using the mouse to stretch...
by windowsLC
Sun Dec 31, 2017 11:27 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: file transfer over sockets
Replies: 16
Views: 10325

Re: file transfer over sockets

Fourthworld, I've created a server and a client program like in all the Chat demo stacks around. I will need file distribution abilities along with the chat which is what I have started with sending the files over the sockets. the use case for this is purely over a local LAN and I won't have an exis...
by windowsLC
Fri Dec 29, 2017 11:35 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Graphic takes on look of image below.
Replies: 7
Views: 4021

Re: Graphic takes on look of image below.

Yes! backgroundpattern thanks, that is what I was trying to remember.

Go to advanced search