Search found 4706 matches

by jacque
Thu Feb 14, 2019 9:56 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: How to flow text around an image in LC?
Replies: 23
Views: 640

Re: How to flow text around an image in LC?

The video doesn't play for me, but from your description everything sounds normal. show/hide with visual effect -- animates the object rectangle lock screen -- no visual effects supported lock screen for visual effect -- buffers the whole card for animation lock screen for visual effect in rect -- l...
by jacque
Thu Feb 14, 2019 7:12 pm
Forum: Android Deployment
Topic: File path to Download folder
Replies: 3
Views: 103

Re: File path to Download folder

Right, specialFolderPath("external documents") gives access to the public downloads folder. SpecialFolderPath(" documents") refers only to the app's sandboxed private folder. .
by jacque
Thu Feb 14, 2019 6:44 pm
Forum: iOS Deployment
Topic: View the Xcode Project File?
Replies: 1
Views: 80

Re: View the Xcode Project File?

As far as I know, LC doesn't create a project file. Aside from the command line tools, I don't think it uses XCode at all. LC apps are their own animal, with a different file structure and organization. Even if you got the app into XCode, it wouldn't be able to read it. You can use XCode to manage c...
by jacque
Wed Feb 13, 2019 11:49 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: How to flow text around an image in LC?
Replies: 23
Views: 640

Re: How to flow text around an image in LC?

Which LC version? You need to "lock screen for visual effect". That was added a while ago, in older versions you don't need it. I can't remember which version changed it.

Code: Select all

lock screen for visual effect
hide group whatever
unlock screen with visual effect shrink to top
by jacque
Wed Feb 13, 2019 6:02 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: How do I get the byte size of a substack?
Replies: 13
Views: 349

Re: How do I get the byte size of a substack?

Ah. Right, I missed that. On the other hand, if the variable is what you're uploading, wouldn't the length of it be the actual size? It wouldn't be the same as the memory footprint but it should be the size for transport. (This may be wrong-think, I've never compared the two.) The only other way I c...
by jacque
Wed Feb 13, 2019 5:45 pm
Forum: LiveCode for FM
Topic: Error in build
Replies: 4
Views: 156

Re: Error in build

The error codes are briefly described in the "errorDialog" entry in the dictionary. Basically the first number is what you want to look up, that's the actual error code. The codes are stored in LC but it's easier to use the lookup stack we've posted to LiveCode Share. Click the User Samples icon in ...
by jacque
Wed Feb 13, 2019 4:58 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: How do I get the byte size of a substack?
Replies: 13
Views: 349

Re: How do I get the byte size of a substack?

Since the file is in a variable I'd think you could just get the length of the variable.
by jacque
Tue Feb 12, 2019 6:26 pm
Forum: Databases
Topic: Standalone not connecting to mySQL
Replies: 16
Views: 680

Re: Standalone not connecting to mySQL

No worries mate! i make myself the most stupid things too :lol: (is that good english?) Almost. :-) But the sentiment is universal. I almost reported a bug once when I forgot to check the Internet box in the Android standalone settings. I usually feel stupid at least once a day. It's good practice.
by jacque
Tue Feb 12, 2019 6:20 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: mergJSONDecode utf-8: where to textDecode
Replies: 7
Views: 231

Re: mergJSONDecode utf-8: where to textDecode

Well, "deprecated" doesn't mean "gone". You can still safely use it. We're encouraged not to, but those functions will be around for a while.
by jacque
Tue Feb 12, 2019 6:08 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: How to flow text around an image in LC?
Replies: 23
Views: 640

Re: How to flow text around an image in LC?

It's possible to collapse whole groups. The basic idea is to lock the screen, set the height of the group to something small, and unlock the screen. You can add an animation effect when unlocking if you want. To expand, do the same thing only set the height back to the original height before unlocki...
by jacque
Mon Feb 11, 2019 11:06 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Button Icons not appearing in iOS
Replies: 4
Views: 145

Re: Button Icons not appearing in iOS

You'd still need to import the icons to your stack. In the Development menu, open the Image Library. Select the icons you use in one of the libraries and choose "Import selected". That will embed them into your stack. If you just use the icon picker in the property inspector, it references those ico...
by jacque
Mon Feb 11, 2019 11:02 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: mergJSONDecode utf-8: where to textDecode
Replies: 7
Views: 231

Re: mergJSONDecode utf-8: where to textDecode

Interesting bug report you linked to. I've never tried FastJSON but it couldn't hurt for you to give it a whirl. if you do decide to use it, let us know, I may change my technique in the future. ;)
by jacque
Mon Feb 11, 2019 8:16 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Some design questions
Replies: 7
Views: 255

Re: Some design questions

Performance won't be affected, LC mostly ignores hidden controls except for passing messages through them as needed via the message hierarchy. You won't have any problems, and the approach you suggest is very common. The extra size of the controls themselves are minimal. If you plan to show megabyte...
by jacque
Mon Feb 11, 2019 8:01 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Button Icons not appearing in iOS
Replies: 4
Views: 145

Re: Button Icons not appearing in iOS

Did you import the images into the stack? If not, you'll probably need to reset the button icon IDs after that, since importing will give the images new IDs.
by jacque
Mon Feb 11, 2019 7:52 pm
Forum: Android Deployment
Topic: mobilePickPhoto & Landscape
Replies: 3
Views: 169

Re: mobilePickPhoto & Landscape

The templateImage will not change unless you specifically reset it. It will be whatever size it was last set to otherwise. In this case it will be 320x480, since you set it that way in preOpenStack and locked it before calling the camera.(You could probably, move the lockLoc command to the preOpenSt...

Go to advanced search