Search found 2349 matches

by jmburnod
Sat Apr 27, 2019 1:54 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Find closed figures within a group of points?
Replies: 22
Views: 969

Re: Find closed figures within a group of points?

Hi David,
if you give a relevant name for yours groups (you began it with "Resistor_A"), this will be clearer and you will be able to define yours loops.
Best
Jean-Marc
by jmburnod
Sat Apr 27, 2019 1:42 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Image Rotation
Replies: 41
Views: 4341

Re: Image Rotation

Hi All Hermann said: There is a stack "Angle and Resize an Image" (by Paul Hibbert) on "Sample Stacks" to that problem. Yes for an image resized proportionaly mais no for a distorded image. but I experimented "imageHandles89_v110" from hh and it works for this goal :D You may download it on sample s...
by jmburnod
Sat Apr 27, 2019 12:15 pm
Forum: Talking LiveCode
Topic: Allow navigation in field but prevent editing
Replies: 16
Views: 836

Re: Allow navigation in field but prevent editing

Hi,
A quick and dirty solution

Field Script:

Code: Select all

on openfield
   set the uMyText of the target to the text of the target
end openfield

on textChanged
   put the uMyText of the target into me
end textChanged
Best
Jean-Marc
by jmburnod
Sat Apr 27, 2019 9:36 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Find closed figures within a group of points?
Replies: 22
Views: 969

Re: Find closed figures within a group of points?

Hi, The "points" of a graphic, though unfortunately they do not work with rectangle graphics. Yes, but we can use effective points for a grc rectangle. I notice that if you set the points of a grc polygon to the effective points of a grc rectangle, you get a curious result as below. iEffectivePoints...
by jmburnod
Fri Apr 26, 2019 10:32 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Find closed figures within a group of points?
Replies: 22
Views: 969

Re: Find closed figures within a group of points?

Hi David, I apologize!!! Please, no apology (I've 'made worst) :D I think you have to find a system allow to know intersections between objects. I mean a system based on object names. You might rename you bullet like a grid (For example line of bullet "mybullet_Row_Range" like this: "mybullet_1_1" "...
by jmburnod
Fri Apr 26, 2019 5:44 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Find closed figures within a group of points?
Replies: 22
Views: 969

Re: Find closed figures within a group of points?

Hi David,
I played with your stack. Polygon grcs seems better than rectangle grcs in this case.
If i think correctly a polygon is closed if last point = first point.
Best regards
Jean-Marc
by jmburnod
Thu Apr 25, 2019 9:23 am
Forum: iOS Deployment
Topic: How only show "enunciate" btn
Replies: 0
Views: 350

How only show "enunciate" btn

Hi All,
While waiting a Livecode way to use text to speech on ios, I wonder if there is a way to show only the btn "enunciate".
Best regards
Jean-Marc
by jmburnod
Wed Apr 24, 2019 8:39 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Use images of a stack in another stack
Replies: 19
Views: 795

Re: Use images of a stack in another stack

Hi Alessio, You may set the text of your destination image to the text of the source image if it is a non referenced image. set the text of image "myImg" of stack "myStackDest" to the text of image "OneImg" of stack "myStackSource" Using external file is an other way. External file can be use by sev...
by jmburnod
Tue Apr 16, 2019 9:56 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Ask interface with pulldown
Replies: 9
Views: 659

Re: Ask interface with pulldown

Craig said,
Otherwise, there is no difference at all
Yes for code, but I found one difference for an ios version which is limited to one window.
I think that is easier to simulate dialog with a group than use a custom stack.
Jean-Marc
by jmburnod
Mon Apr 15, 2019 2:03 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Ask interface with pulldown
Replies: 9
Views: 659

Re: Ask interface with pulldown

Hi Alessio
Interesting, can you give me an example?
Here is one.
GroupAsDialog.png
Best regards
Jean-Marc
by jmburnod
Sun Apr 14, 2019 4:48 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: tabKey o exitField
Replies: 5
Views: 366

Re: tabKey o exitField

@Alessio
Just after i've written my post I wondered why you need it.
As I have guessed, Jacque posted a smartest answer 8)
Jean-Marc
by jmburnod
Sun Apr 14, 2019 11:52 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: tabKey o exitField
Replies: 5
Views: 366

Re: tabKey o exitField

Hi Alessio, It seems possible. Here is a way to do it: on exitfield if the uMyUseExitFld of this cd then -- message comes from mouse beep else -- message comes from tabkey end if end exitfield on tabkey setMyUseExitFld false send "setMyUseExitFld true" to me in 10 milliseconds pass tabkey end tabkey...
by jmburnod
Sat Apr 13, 2019 4:15 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: CreateProcess failed:The system cannot find the path specified
Replies: 15
Views: 793

Re: CreateProcess failed:The system cannot find the path specified

Hi Marra, Not sure that help but if you have a closestack message you maybe need using this: on closeStack if there is a stack "revStandaloneProgress" then if the mode of stack "revStandaloneProgress" > 0 then exit closeStack end if else pass closeStack end if end closeStack Best regards Jean-Marc
by jmburnod
Tue Apr 09, 2019 10:05 am
Forum: Talking LiveCode
Topic: textEncode and Google Forms
Replies: 23
Views: 1258

Re: textEncode and Google Forms

We noticed url encode make some fantaisies
https://forums.livecode.com/viewtopic.p ... =urlencode

put urlencode("Ç") = %82
put urldecode("%82") = Ç

but if you copy "Ç" from a file name on finder
put urlencode("Ç") = C%3F

Jean-Marc

Go to advanced search