Search found 280 matches

by bwmilby
Tue Nov 19, 2019 12:58 am
Forum: iOS Deployment
Topic: mobile player control with hidden controls
Replies: 12
Views: 631

Re: mobile player control with hidden controls

What object are you trying to get to respond to the messages? Have you tried putting a few test buttons on the card?
by bwmilby
Tue Nov 19, 2019 12:51 am
Forum: Databases
Topic: Encrypting or password protecting SQLite file
Replies: 4
Views: 317

Re: Encrypting or password protecting SQLite file

My guess is that encrypting the file would not work well due to how SQLite works. You certainly could store your data inside the database encrypted though. Depending on how much data you are dealing with, you could use other file formats that could be more easily encrypted directly (LSON as one exam...
by bwmilby
Sun Nov 10, 2019 10:52 pm
Forum: Engine Contributors
Topic: little help with combo/option menus?
Replies: 2
Views: 831

Re: little help with combo/option menus?

Is that section of code only dealing with sub menus (CS_SUBMENU)? If so, then 792-811 handles other types. It would take me a bit to wrap my head around the variables in that block (entry and state mainly) and the constants that are used.
by bwmilby
Tue Nov 05, 2019 1:14 pm
Forum: Talking LiveCode
Topic: Msg box still dicey?
Replies: 30
Views: 2064

Re: Msg box still dicey?

Sorry about that. Just type “?” To get the help screen. Error appears when you type “Q”. Mac Mojave, LC 9.5
by bwmilby
Tue Nov 05, 2019 2:58 am
Forum: Talking LiveCode
Topic: Msg box still dicey?
Replies: 30
Views: 2064

Re: Msg box still dicey?

I remember discussing this at San Jose. Pretty cool. I am seeing an error when trying to leave the viewer though. Here's how I solved it: I put this in the card script: on fwClearParentScript set the behavior of cd 1 of stack "4wConsole" to empty end fwClearParentScript Then I changed line 443 of th...
by bwmilby
Sat Nov 02, 2019 10:30 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: I'm pretty sure it can't be done but just checking.
Replies: 6
Views: 579

Re: I'm pretty sure it can't be done but just checking.

It actually sounds like you need ChordPro functionality. That stores chords inline in a text format. Then there are programs that render it with chords over lyrics. Monospaced font is the easiest way though, you just end up with a bunch of spaces and when you edit lyrics the chords don’t move automa...
by bwmilby
Fri Oct 18, 2019 3:46 am
Forum: Talking LiveCode
Topic: Using external script only stack as behaviour
Replies: 27
Views: 1460

Re: Using external script only stack as behaviour

As long as all changes are being made to the text files, Git can handle merging things together. You will probably want to work on separate branches though. Any changes to the binary will need to be carefully controlled and usually done by one person at a time since there is no way for Git to handle...
by bwmilby
Wed Oct 16, 2019 3:43 pm
Forum: Talking LiveCode
Topic: Using external script only stack as behaviour
Replies: 27
Views: 1460

Re: Using external script only stack as behaviour

I always thought that having a button as the only repository of a behavior was bad behavior. I mean, a button? A small control that has to be cradled on a card in a stack? The beauty of behaviors is that they can catch the messages of a vast array of gadgetry within one's project. To have an object...
by bwmilby
Wed Oct 16, 2019 3:31 pm
Forum: Talking LiveCode
Topic: Using external script only stack as behaviour
Replies: 27
Views: 1460

Re: Using external script only stack as behaviour

Yes, but the question I now have is, did the "hi" message pop up because it is in the openStack handler of the script stack, or because of the behavior setting? In my previous post, I am assuming it is because of the former, not the latter :? I added “put the long id of me after msg” to the behavio...
by bwmilby
Wed Oct 16, 2019 2:35 am
Forum: Talking LiveCode
Topic: Using external script only stack as behaviour
Replies: 27
Views: 1460

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: 2259

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: 631

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: 477

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: 2251

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: 805

Re: Expanding one's mind

Why not use the min/max width/height properties of the stack?

Go to advanced search