Search found 2206 matches

by jmburnod
Sun Aug 12, 2018 9:17 am
Forum: iOS Deployment
Topic: Rotate an image in iOS
Replies: 1
Views: 123

Re: Rotate an image in iOS

Hi hutchfx,

Code: Select all

set the angle of img "myImage" to 30
should works with an image lockLocation = false
Best regards
Jean-Marc
by jmburnod
Thu Aug 09, 2018 6:41 pm
Forum: Android Deployment
Topic: Double-click Button on Android Touch Screen
Replies: 2
Views: 173

Re: Double-click Button on Android Touch Screen

Hi Marra, the user must have the option to double-click or long-click the button to Subtract 1 from the Total. This should work: local sStartTime on mousedown put the milliseconds into sStartTime end mousedown on mouseUp if the milliseconds > (sStartTime + 200) then subtract 1 from fld "TotalScore" ...
by jmburnod
Sat Aug 04, 2018 6:12 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: timer with progress bar?
Replies: 3
Views: 138

Re: timer with progress bar?

Hi Mike, You may use send command, a pendingmessage. Something like that: on mouseUp send "doMyMessage" to me in 20 seconds end mouseUp on doMyMessage if the mouse is down then exit doMyMessage send "doMyMessage" to me in 20 seconds put the seconds end doMyMessage Please check "send" and "pendingmes...
by jmburnod
Mon Jul 30, 2018 8:20 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: download a lot of .png files
Replies: 9
Views: 362

Re: download a lot of .png files

Hi Paul,
Thanks for explanations. That is clearer for me 8)
Best regards
Jean-Marc
by jmburnod
Sun Jul 29, 2018 9:16 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: download a lot of .png files
Replies: 9
Views: 362

Re: download a lot of .png files

I was surprised that exporting an image changes its resolution ( from 300 dpi to 72 dpi) like export snapshot. Is it what is expected ? Using put url tFileS into url("binfile:" tFileD) keeps resolution to 300 dpi @ Sparkout Thank you for your post That was just a feed-back about Jim's suggestion abo...
by jmburnod
Sun Jul 29, 2018 12:10 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: download a lot of .png files
Replies: 9
Views: 362

Re: download a lot of .png files

Hi Jim, Thank you for your help. You pointed why i was unable to set the text of one image form a remote file. I was wrong when i used url("binfile:" & tFileS) into url("binfile:" & tFileD) to download remote files directly. I have to use put url tFileS into url("binfile:" & tFileD) -- 22 seconds fo...
by jmburnod
Thu Jul 26, 2018 9:01 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: download a lot of .png files
Replies: 9
Views: 362

Re: download a lot of .png files

After many tries, export snapshot from an image with filename = url distant file seems the safest way i found to download 3500 png in a loop. put "https://..." into tDistantFolder repeat with i = 1 to 3500 put line i of fld "fListImgDL" into tOneImg put tDistantFolder & "/" & tOneImg into tfileS set...
by jmburnod
Tue Jul 24, 2018 8:59 am
Forum: Talking LiveCode
Topic: How to delete the selected text
Replies: 13
Views: 1630

Re: How to delete the selected text

Hi,
Is there any way to delete that empty line?

Code: Select all

filter fld "myField" without empty
works (LC 9, OS X 10.13)
Best regards
Jean-Marc
by jmburnod
Sat Jul 21, 2018 1:15 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Option Menu
Replies: 9
Views: 345

Re: Option Menu

Hi,

This should work

Code: Select all

on mouseup
   put empty into t
   repeat with i = 2018 down to 1918
      put i & cr after t
   end repeat
   delete char -1 of t
   set the text of btn "myMenuOption" to t
end mouseup
Best regards
Jean-Marc
by jmburnod
Fri Jul 20, 2018 9:05 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: download a lot of .png files
Replies: 9
Views: 362

download a lot of .png files

Hi All, We need download 3500 .png files from a server, All file name are urlEncoded because some have accented letters. I tried several methods 1. download a .zip file (160 Mo) using liburldownloadToFile with callback Since mai 2108 i have got a "request out timed" error for iOS version and OSX ver...
by jmburnod
Wed Jul 18, 2018 8:42 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: property inspector size issue
Replies: 1
Views: 90

Re: property inspector size issue

Hi BlackBook ,
Welcome to this forum,
It seems that is an issue with windows
The link without typo
https://drive.google.com/open?id=1jdSFo ... 0P-AkY_VrA
Best regards
Jean-Marc
by jmburnod
Mon Jul 16, 2018 10:55 am
Forum: Talking LiveCode
Topic: Field Validation
Replies: 6
Views: 220

Re: Field Validation

Hi jwtea , Probably a lot of ways to do this. Here is one way on t_analyse pPW put "! @ # $ % ^ & *)" into tSymbol put empty into tSymbolInString put empty into tUpperL put the num of chars of pPW into tNbC repeat for each char tChar in pPW get offset(tChar,tSymbol) if it <> 0 then put it into tSymb...
by jmburnod
Sun Jul 15, 2018 9:16 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: How to get all the menu items of all buttons on one card
Replies: 7
Views: 188

Re: How to get all the menu items of all buttons on one card

Hi Cogito, Welcome to this forum. I dont understand why it doesn't work you may try this: on getTextofAllBtns put gettextBtns() end getTextofAllBtns function getTextBtns put the num of btns into nbl repeat with i = 1 to nbl get the text of btn i replace cr with "," in it put the name of btn i & "," ...
by jmburnod
Sat Jul 14, 2018 8:50 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Standalone In LC 9.0
Replies: 4
Views: 247

Re: Standalone In LC 9.0

Hi Tom,
If you have a closestack message please take a look at this thread:
http://forums.livecode.com/viewtopic.php?f=7&t=31221
Best regards
Jean-Marc
by jmburnod
Mon Jul 09, 2018 7:42 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Image as Tooltip?
Replies: 6
Views: 259

Re: Image as Tooltip?

Hi All, Here is a simple stack to compare mouseenter/mousemove for this case. stToolTipImage01.zip 1. by MouseEnter script behavior and mouseenter in cd script 2. by Mousemove script behavior and mouseenter in cd script Both need a grc "TrapMouseenter" which send mouseenter catched by mouseenter cd ...

Go to advanced search