Search found 2578 matches

by jmburnod
Sun Apr 11, 2021 6:21 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Limiting the scope of a loop in a field
Replies: 2
Views: 63

Re: Limiting the scope of a loop in a field

Hi Glenn, Here is one way to. Is the user able to scroll your fld list ? If that is the case you'll have to manage (or prevent) the user stop scroll between two lines. This function get the number of the line at top and the num of allowed visible lines . on mouseup put getVisLine(myFldList) end mous...
by jmburnod
Sat Apr 10, 2021 10:08 am
Forum: Windows
Topic: Finding The Highest Number From Three Numbers.
Replies: 2
Views: 120

Re: Finding The Highest Number From Three Numbers.

Hi,
max() function is your friend

Code: Select all

put max(1,2,3)
Best regards
Jean-Marc
by jmburnod
Fri Apr 09, 2021 6:30 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: changing first to open, card....SOLVED
Replies: 20
Views: 730

Re: changing first to open, card....SOLVED

Craig,
No. I'am able to get an id with 5 digits I guess depends the num of control of the stack

Jean-Marc
by jmburnod
Fri Apr 09, 2021 2:18 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: changing first to open, card....SOLVED
Replies: 20
Views: 730

Re: changing first to open, card....SOLVED

Hi Craig,
I guess that is a control id
Jean-Marc
by jmburnod
Fri Apr 09, 2021 10:49 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: changing first to open, card....SOLVED
Replies: 20
Views: 730

Re: changing first to open, card....SOLVED

Hi, I can see an Id 6 digit number but can't reach it, could you show here how you edit that number ? Yes, we can change the id of a control but it is recommanded to read informations about it in LC dictionary. I never needed to change id but i know it can be useful. Best regards Jean-Marc Best rega...
by jmburnod
Thu Apr 01, 2021 4:36 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Find broken behaviours
Replies: 4
Views: 339

Re: Find broken behaviours

Hi, One way i use to find broken behaviors path for one card function getListControlsBadBEH put empty into rListControlsBadBEH repeat with i = 1 to the num of controls put the short name of control i into tName put the behavior of control i into tBEH if tBEH = empty then next repeat if there is a tB...
by jmburnod
Wed Mar 31, 2021 9:58 am
Forum: Talking LiveCode
Topic: Preventing control selection
Replies: 5
Views: 414

Re: Preventing control selection

Does cantselect could be usefull ?
After Klaus's post I feel i dont understand the goal :oops:
Jean-Marc
by jmburnod
Thu Mar 25, 2021 6:57 pm
Forum: Talking LiveCode
Topic: More PNG probs.
Replies: 41
Views: 6000

Re: More PNG probs.

Thanks Richmond to conforte me for external files use :D
Same issue with OSX 10.14.6 LC 9.6.1
No image in cd 2 of standalone
by jmburnod
Thu Mar 25, 2021 5:23 pm
Forum: Talking LiveCode
Topic: More PNG probs.
Replies: 41
Views: 6000

Re: More PNG probs.

Hi Richmond,
9.6.3 RC 3 IDE:
Last version is LiveCode 9.6.2 rc 3, not 9.6.3 rc 3 for me
When do you import image ? Before or after building standalone
Kind regards
Jean-Marc
by jmburnod
Sat Mar 20, 2021 5:38 pm
Forum: Mac OS
Topic: Restoring the size of a image object.
Replies: 3
Views: 436

Re: Restoring the size of a image object.

Hi Fermin, You may use formattedWidth and formattedHeight. Something like this: ... lock screen put the loc of img 1 into tLoc set the width of img 1 to (the formattedWidth of img 1) set the height of img 1 to (the formattedheight of img 1) set the loc of img 1 to tLoc ... Best regards Jean-Marc
by jmburnod
Sat Mar 20, 2021 10:17 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Adding Script to a Navigation Bar Icons
Replies: 11
Views: 1625

Re: Adding Script to a Navigation Bar Icons

hi,
You. may get the clicked icon by hiliteChanged message

Code: Select all

on hiliteChanged
   put the hilitedItem of me && the hilitedItemName of me
end hiliteChanged
Best regards
Jean-Marc
by jmburnod
Wed Mar 17, 2021 6:46 pm
Forum: Announcements
Topic: iOS TextToSpeech extension for free
Replies: 14
Views: 3186

Re: iOS TextToSpeech extension for free

Hi,
I read that you want export files to use on Raspberry.
If you have a Mac, You may do it with a applescript.
I' can send your mesage to authors of SpeechSynthetizer
I hope they can take some time (i believe they have exam session now).
Best regards
Jean-Marc
by jmburnod
Tue Mar 16, 2021 10:59 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Printing from the Browser widget
Replies: 3
Views: 312

Re: Printing from the Browser widget

Hi Richmond,

This work here (LC 9.6.1)

Code: Select all

on getImgFromWidget
   put globalLoc(topleft of widget 1 ) into tTL
   put globalLoc(bottomright of widget 1 ) into tBR
   import snapshot from rect tTL,tBR 
end getImgFromWidget
Kind regards
Jean-Marc
by jmburnod
Tue Mar 16, 2021 10:05 am
Forum: Talking LiveCode
Topic: CloseStack, CloseStackRequest don't run in standalone
Replies: 4
Views: 534

Re: CloseStack, CloseStackRequest don't run in standalone

Hi Simon, I think you have to add this scriot in your stack script 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 Here is explanation about it https://forums.liveco...
by jmburnod
Mon Mar 15, 2021 11:26 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: modifying an existing sub-stack ? How
Replies: 11
Views: 1039

Re: modifying an existing sub-stack ? How

HI,
If it is a substack, this substack is linked to one main stack
You may search it in project browser once you have open the mainstack which call your substack
Best regards
Jean-Marc

Go to advanced search