Search found 2333 matches

by jmburnod
Sun Jun 16, 2019 11:59 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Counter Intuitive
Replies: 8
Views: 197

Re: Counter Intuitive

Hi Richmond,
This is both inconsistent, and because everywhere else images are referred to as images
counter intuitive.
Yes, but pattern is pattern and icon is icon
Your students can see the difference between them and choose the better control to build what they want.
Best
Jean-Marc
by jmburnod
Mon Jun 10, 2019 10:27 am
Forum: Talking LiveCode
Topic: mouseChunk in a loop
Replies: 8
Views: 283

Re: mouseChunk in a loop

Hi rcmills ,
I am trying to do this in a locked text field.
Yes You can. You have to set the traversalon of your fld to true ("focus with keyboard" in inspector on a Mac).
Best regards
Jean-Marc
by jmburnod
Mon Jun 10, 2019 10:21 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Pasteurized Arrowkeys
Replies: 13
Views: 324

Re: Pasteurized Arrowkeys

Hi Richmond, What about this cd script ? local sStartTime on opencard initStartime end opencard on initStartime put the milliseconds into sStartTime end initStartime on arrowkey pDir if the milliseconds < (sStartTime + 500) then beep exit arrowkey else put pDir & sStartTime into fld "fSpy"-- you hav...
by jmburnod
Sun Jun 09, 2019 9:40 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Image Problems
Replies: 14
Views: 505

Re: Image Problems

Hi Quinton,
I guess you want to resize an image proportionally
There is a lesson here
http://lessons.livecode.com/m/4071/l/15 ... e-an-image
Best regards
Jean-Marc
by jmburnod
Wed May 29, 2019 9:55 pm
Forum: iOS Deployment
Topic: iOS app has begun opening very slowly
Replies: 10
Views: 393

Re: iOS app has begun opening very slowly

Hi rcmills I remembrer that Jacqueline said that a short preopenstack with a send in time is better than a long preopenstack message. I tested it with success. You may make your preopenstack shortest as possible and use a send in time for next step Something like that: on preOpenStack if the environ...
by jmburnod
Mon May 27, 2019 9:57 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Simple example of start using stack
Replies: 16
Views: 615

Re: Simple example of start using stack

Hi dntknwjck,
If I believe LC dictionary (no tested)
The start using command places a stack's script into the message path after the current stack and before any objects in the backScripts.
You may call your function by its name

Code: Select all

put myFunction(something) into tVar
Best regards
Jean-Marc
by jmburnod
Mon May 27, 2019 1:31 pm
Forum: Talking LiveCode
Topic: Using "of me" fails to throw an error - is this expected?
Replies: 7
Views: 290

Re: Using "of me" fails to throw an error - is this expected?

Hi Simon,
When you use the cd script me = "cd id...."
When you use a btn script the name of me = button "Button"
It seems LiveCode ignore that we can't have a group inside a button and return by default the loc of the btn
Best regards
Jean-Marc
by jmburnod
Thu May 23, 2019 4:30 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Field number in a group
Replies: 27
Views: 1050

Re: Field number in a group

Hi PaulClaude,
I think there is not a direct Livecode function to do what you want, but you may roll your own function
Best
Jean-Marc
by jmburnod
Wed May 22, 2019 1:46 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Field number in a group
Replies: 27
Views: 1050

Re: Field number in a group

Why you dont use the name of your flds "MyField_1", "MyField_2" for group flds ? You may get the name of your fld at openfield, put it into a variable or a customprop of your group, add 1 to this name to know the name of next fld.
by jmburnod
Wed May 22, 2019 1:26 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Field number in a group
Replies: 27
Views: 1050

Re: Field number in a group

Hi,
What bogs said.
Just to be sure you want the number or the layer of a field
If you want the number of a fld I think you can't avoid a loop
Best regards
Jean-Marc
by jmburnod
Mon May 20, 2019 12:58 pm
Forum: Internet
Topic: Read mail server
Replies: 2
Views: 184

Re: Read mail server

Hi,

I never use sockets but there is a live code lesson about it here
http://lessons.livecode.com/m/4071/l/12 ... ng-sockets
Best regards
Jean-Marc
by jmburnod
Thu May 09, 2019 6:05 pm
Forum: Talking LiveCode
Topic: Option Menu
Replies: 9
Views: 460

Re: Option Menu

Hi,
I wondered in which case we could need such feature and I remember i used this to keep label "Font" in a menu instead the name font.
Not sure that was clever but I choosed this way for one kid who couldn't accept label change.
Best
Jean-Marc
by jmburnod
Thu May 09, 2019 4:40 pm
Forum: Talking LiveCode
Topic: Option Menu
Replies: 9
Views: 460

Re: Option Menu

Hi chipsm,
option-menu value
Do you mean "label" ?
If this is the case you may use

Code: Select all

local sMYVar = "TheSame" 
on menupick pItem
   set the label of me to sMYVar
end menupick
Best regards
Jean-Marc
by jmburnod
Sat Apr 27, 2019 4:14 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Find closed figures within a group of points?
Replies: 22
Views: 730

Re: Find closed figures within a group of points?

David
Relevant naming becomes the base for me.
I lost a lot of times avoiding this step.
Probably use array would be a good way in this case
I'm not a specialist but I'am sure someone will help soon
Best
Jean-Marc
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: 730

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

Go to advanced search