Search found 413 matches
- Wed Jun 01, 2022 1:51 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: How to "re-resize" Stack (elements)
- Replies: 37
- Views: 11340
Re: How to "re-resize" Stack (elements)
Profiles may be another option although the IDE does not really support their use in the GUI. You didn’t mention if you tried the scale option.
- Tue May 31, 2022 8:00 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: How to "re-resize" Stack (elements)
- Replies: 37
- Views: 11340
Re: How to "re-resize" Stack (elements)
@Richard You are correct in general, but for this specific use case I think the solution needed is just being able to shrink due to the pixel size difference between monitors.
- Tue May 31, 2022 7:18 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: How to "re-resize" Stack (elements)
- Replies: 37
- Views: 11340
Re: How to "re-resize" Stack (elements)
Look up “scaleFactor” in the dictionary. That may be what you are after.
- Sun May 29, 2022 4:56 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: How to "re-resize" Stack (elements)
- Replies: 37
- Views: 11340
Re: How to "re-resize" Stack (elements)
Is it a bug or a feature that it is not possible to scale AND position the element? It is a design decision. In one direction (H or V), you can either position or scale. You can have a single object that scales one direction and positions on the other. stam's example does that for the line. One oth...
- Tue May 24, 2022 2:46 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: recursion
- Replies: 18
- Views: 5337
Re: recursion
You could shave a bit of time by using a script local and splitting the data into an array. Then accessing each line would be constant time, but probably still noticeable. Somewhere at the top of your code (outside any handler): local sData, sLine Someone in the mouseUp that starts everything: put f...
- Mon May 23, 2022 10:52 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: recursion
- Replies: 18
- Views: 5337
Re: recursion
I think you should be able to do this without recursion. You just need to keep track of the folder depth at any time and account for changing levels.
- Thu May 12, 2022 3:29 pm
- Forum: Android Deployment
- Topic: Deploy several stacks as an application to android
- Replies: 34
- Views: 10115
Re: Deploy several stacks as an application to android
Should be able to use special folder path in either environment.
- Mon Apr 25, 2022 10:36 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: Export long texts to PDF?
- Replies: 40
- Views: 9525
Re: Export long texts to PDF?
I also find doing a search in Atom useful, but the main reason I externalize my stack’s scripts is for version tracking. Git makes it very easy to see the changes to scripts over time. ScriptTracker provides this to me without the need to convert everything to real script only stacks (the files coul...
- Fri Apr 01, 2022 2:54 pm
- Forum: Announcements
- Topic: [ANN] VSCode extension for Livecode
- Replies: 14
- Views: 8043
Re: [ANN] VSCode extension for Livecode
I had it working on my previous company laptop with Atom. Pretty much the same as on the Mac though. Just download the server binaries for Windows and enter the path (I’ve only done it in Atom).
- Fri Apr 01, 2022 2:24 pm
- Forum: Announcements
- Topic: [ANN] VSCode extension for Livecode
- Replies: 14
- Views: 8043
Re: [ANN] VSCode extension for Livecode
The server component is a separate download. The community version should work fine for linting (at least until the new LC 10 syntax is used).
- Sat Mar 12, 2022 11:51 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: Data added to Array lost 3 commands deep
- Replies: 15
- Views: 6426
Re: Data added to Array lost 3 commands deep
This the root of the problem: command Routine_B InData,aOutputData_A @OutputData_B You are shadowing your script local via the function call, so the data is not being saved. In Routine_B, aOutputData_A is a copy of what is passed in (LC does a copy on write for parameters not passed by reference) Yo...
Re: FN Key?
When you hold the Fn key and press a (valid?) key, then the action is trapped before any key message would make it to the OS. It is handled by the BIOS I think. Most of my work PC laptops have had these keys. As your clip stated, it is frequently used to adjust volume and screen brightness. I’ve als...
- Tue Jan 25, 2022 3:03 am
- Forum: Announcements
- Topic: [ANN] VSCode extension for Livecode
- Replies: 14
- Views: 8043
Re: [ANN] VSCode extension for Livecode
Linting should not be a problem until LC10 adds new syntax. The community version (which you probably could still compile from source if needed) should be fine for this purpose. ScriptTracker could be a possible solution to the integration issue. It exports all of the scripts of a binary stack to fi...
- Wed Nov 17, 2021 5:46 am
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: Nested Data Grid Behaviors
- Replies: 3
- Views: 3488
Re: Nested Data Grid Behaviors
I’ve never actually tried to build a stand alone that uses the code, so I’m not positive about the steps. But, if you updated the script in the LC installed on your machine, that same code should be brought into your compiled app. I would need to play with it some. If it doesn’t make it into version...
- Fri Oct 29, 2021 5:03 am
- Forum: Android Deployment
- Topic: Orientation change
- Replies: 8
- Views: 3695
Re: Orientation change
You should not need to do anything with the size of the stack/card. You should only need to position elements on the card. The engine takes care of adjusting the size of the stack/card when the device rotates (or launches on a device that doesn’t match the development size). resizeStack is the bette...