Search found 285 matches

by bwmilby
Wed Oct 16, 2019 2:35 am
Forum: Talking LiveCode
Topic: Using external script only stack as behaviour
Replies: 27
Views: 2633

Re: Using external script only stack as behaviour

Need to add the behavior to the Stack Files of the main stack. Behaviors do not need to be placed in front/back or have "start using" called on them. They just need to be in memory when the object that references them is opened. When the main stack file is loaded into memory, some work is done to pl...
by bwmilby
Fri Oct 11, 2019 3:14 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Possible to easily assign lists to variables & vice-versa?
Replies: 52
Views: 3338

Re: Possible to easily assign lists to variables & vice-versa?

Back to the original question: on mouseUp local tData, tName, tAge, tTitle, tCity, tCode put "Dave,46,sr. engineer,colorado,23" into tData _split5 tData, tName, tAge, tTitle, tCity, tCode answer (tName, tAge, tTitle, tCity, tCode) end mouseUp private command _split5 pData, @pV1, @pV2, @pV3, @pV4, @p...
by bwmilby
Fri Oct 11, 2019 2:36 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Various ways of matching a line
Replies: 7
Views: 972

Re: Various ways of matching a line

I would also check out the filter command. Converting to an array would be good if you needed to repeatedly go into your list and pull out values. If it is more of a one shot type of thing, filter may be faster. You can use a regex to specify a number at the beginning of a line. It can either be des...
by bwmilby
Thu Oct 03, 2019 1:01 am
Forum: Talking LiveCode
Topic: Version control – which system?
Replies: 7
Views: 856

Re: Version control – which system?

ScriptTracker is an option that I created. Ideal for a single developer that wants to keep track of changes to scripts in a binary stack without converting everything to behaviors.
by bwmilby
Thu Sep 26, 2019 12:55 pm
Forum: Talking LiveCode
Topic: Collapse and expand Tree View Widget from code
Replies: 15
Views: 2978

Re: Collapse and expand Tree View Widget from code

That is not possible as a single command in the current implementation. You can get the fold state array and then create one that will have everything expanded. Since the widget constructs the fold state array in a lazy manner (only adds keys as they are visited and unfolded) and the entire tree is ...
by bwmilby
Sun Sep 22, 2019 1:04 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Expanding one's mind
Replies: 13
Views: 1159

Re: Expanding one's mind

Why not use the min/max width/height properties of the stack?
by bwmilby
Thu Sep 05, 2019 1:54 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Decrypt from php is not working
Replies: 6
Views: 828

Re: Decrypt from php is not working

Check out https://github.com/bwmilby/lc-community ... r/AES_Demo
I’m not sure if it has everything you need, but worth a look.
by bwmilby
Thu Aug 08, 2019 9:40 pm
Forum: Engine Contributors
Topic: compiling on modern linux distros (2019 version)
Replies: 5
Views: 3310

Re: compiling on modern linux distros (2019 version)

Develop is always the latest. 9.5 will be for all point updates to 9.5 while also progressing toward 9.6 or whatever is next on develop.
by bwmilby
Wed Jul 03, 2019 11:06 pm
Forum: Mac OS
Topic: macOS 10.14 Mojave compatibility.
Replies: 22
Views: 4408

Re: macOS 10.14 Mojave compatibility.

I don’t think the back end code for profiles changed but rather when the IDE was rewritten, the profile feature was not built. I have built a mobile stack that used profiles to have different layouts for portrait and landscape. Here is the issue that I ran into... profiles are extremely sticky. If y...
by bwmilby
Mon Jun 10, 2019 2:58 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Sprite sheets
Replies: 11
Views: 1229

Re: Sprite sheets

I recently saw a demo of using a sprite sheet with a group doing the clipping and it worked well. I believe that the performance of that method is much better than you can get showing different images.
by bwmilby
Thu Jun 06, 2019 10:21 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Free & Paid app versions
Replies: 3
Views: 901

Re: Free & Paid app versions

You can do both. There are several apps that I have where the free version can be upgraded to the full version via in app purchase and a full version is also sold separately.
by bwmilby
Wed Jun 05, 2019 1:14 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: iPhone xr recommended fullscreenmode?
Replies: 15
Views: 1723

Re: iPhone xr recommended fullscreenmode?

I think that a background pattern will fill the screen as well. You do not need to exactly fill the screen just as long as the background image is as large or larger than the virtual coordinates of the scaled screen size. My code was demonstrating that I could draw a box outline that traced the outl...
by bwmilby
Wed Jun 05, 2019 12:38 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: iPhone xr recommended fullscreenmode?
Replies: 15
Views: 1723

Re: iPhone xr recommended fullscreenmode?

See: https://github.com/bwmilby/mobileDemo Specifically the SetBackground handler here: https://github.com/bwmilby/mobileDemo/blob/master/mobileDemo_Scripts/stack_MobileDemo_card_id_1002.livecodescript Using showAll you can set a background object a precise size to cover the whole screen. Unfortunat...
by bwmilby
Fri May 31, 2019 5:17 pm
Forum: iOS Deployment
Topic: iOS app has begun opening very slowly
Replies: 10
Views: 1579

Re: iOS app has begun opening very slowly

It isn’t needed in the built app but does make setting up the profiles easier in the IDE. Depending on how complex the UI is, it may be easier to just write the resizeStack handler to account for orientation and size changes manually. Here is another mobile demo that has a manual resizeStack handler...
by bwmilby
Fri May 31, 2019 2:56 pm
Forum: iOS Deployment
Topic: iOS app has begun opening very slowly
Replies: 10
Views: 1579

Re: iOS app has begun opening very slowly

You no longer need to manually include the common and profile library scripts in LC 9 like you are doing. That was something that I had to do before the IDE was updated to support those inclusions in mobile. You also probably are going to want to verify the fullscreenmode since it may not work as ex...

Go to advanced search