Search found 1438 matches

by sturgis
Wed May 12, 2021 12:18 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: "Behave like a background" doesn't work
Replies: 19
Views: 11133

Re: "Behave like a background" doesn't work

Do you create the first card, put the controls on the card, group the controls, set the background behavior property, and then create the 2 other cards? Or do you create 3 cards, place controls on 1 card, group them, set the background behavior property.. IF the first is what you're doing, it should...
by sturgis
Sat Apr 24, 2021 1:40 am
Forum: Talking LiveCode
Topic: LC can drive you nuts
Replies: 31
Views: 11329

Re: LC can drive you nuts

Hey Mark. Good to dip the toes in the lc pool again. :) Things have been a bit on the difficult side of life, so I'm here to seek distraction. How are you? And your better half? (ok so maybe this isn't the place, but it is truly great to be able to say hi to good people)
by sturgis
Sat Apr 24, 2021 1:30 am
Forum: Talking LiveCode
Topic: LC can drive you nuts
Replies: 31
Views: 11329

Re: LC can drive you nuts

I've run into similar in the past. At the time, it seemed to me that a script managed to get into a "thinks its compiled, but its really not" state. I seem to recall having a recipe to make it happen, but its been a while, and i'm foggy enough to be almost useless anymore. However. If it happens aga...
by sturgis
Fri Feb 22, 2019 2:05 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: SQLite Questions
Replies: 32
Views: 17620

Re: SQLite Questions

If the default folder is pointing to the location that contains your "data" folder, I think it should locate and open up your database correctly. If this is happening in the IDE, its likely that the default folder is pointing to a wrong, and likely un-writeable location. Check to see what the defaul...
by sturgis
Thu Mar 29, 2018 12:34 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: widget Browser + Port 80 + htaccess
Replies: 6
Views: 5298

Re: widget Browser + Port 80 + htaccess

I ran across this issue, and ended up using revbrowseropen rather than a widget to get around it. It would be very nice if this capability was added to the widget, or if there was a way to make it work as it is. I really like being able to drag and drop a browser.
by sturgis
Fri Jul 14, 2017 6:51 pm
Forum: Games
Topic: Kids' exam, summer 2017
Replies: 4
Views: 8424

Re: Kids' exam, summer 2017

My take on it.

https://www.dropbox.com/s/c40jiwn36lroh ... ecode?dl=0

I too used an image object. oops.
by sturgis
Wed Mar 15, 2017 2:26 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: store and compare data in variable?
Replies: 11
Views: 6755

Re: store and compare data in variable?

In the case of multiple mouseups that do generally the same thing I move the main handler to the card or stack and then call that one with a passed parameter. 2 buttons both alike each with the handler on mouseup switchgroups "mygroup1" end mouseup on mouseup switchgroups "mygroup2" end mouseup And ...
by sturgis
Mon Feb 06, 2017 5:43 am
Forum: iOS Deployment
Topic: 360º Panorama
Replies: 19
Views: 18468

Re: 360º Panorama

I don't think it would be too bad. You would need more than 1 copy of the same image to do it as I envision, that way as the left edge is about to show in the viewport, you tack a copy of the image to the left side and line it up, same with the right side if it is going to come into view. Pretty muc...
by sturgis
Tue Aug 30, 2016 2:40 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Underneath
Replies: 28
Views: 16856

Re: Underneath

One more thing you might consider, get rid of field fscrip entirely. Since you're doing a name change of the new tile, its easy enough to add a conditional to your code.. if the short name of me contains ".jpg" then do the clone stuff.. (and "set the script of.." will no longer be necessary) and of ...
by sturgis
Sun Aug 28, 2016 9:07 pm
Forum: Talking LiveCode
Topic: all data from one datagrid to column i another datagrid?
Replies: 1
Views: 2291

Re: all data from one datagrid to column i another datagrid?

I'm hoping I understand what you area asking.. When you -- put the dgdata of grp "tmpldatagrid" into thedataB you end up with an array like this.. thedatab[1] [column] data [another column] data theDataB[2] [column] data [another column] data etc.. So when you -- put thedataB["data"] into tdata tDat...
by sturgis
Sun Aug 28, 2016 7:16 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Underneath
Replies: 28
Views: 16856

Re: Underneath

EDIT: Changed the line that checks for intersect to the following if the mouseloc is within the rect of img tLine then Using "within" removes a little bit of odd behavior ENDEDIT Here, try this in your tile buttons (or just one to see what it looks like) on mouseDown lock screen set the itemdel to "...
by sturgis
Sun Aug 28, 2016 6:51 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Underneath
Replies: 28
Views: 16856

Re: Underneath

Nice catch! I fixed the issue while messing with your stack by using long id's wherever necessary, but think I like your method better. I've been messing around with a) cloning, and then b) immedietly grabbing the new cloned letter tile, but haven't managed to make that work. I'm wondering if an alt...
by sturgis
Sat Jun 18, 2016 6:25 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Basket help
Replies: 48
Views: 23274

Re: Basket help

You can use "dispatch" or "send" for this. Look earlier in this thread for an example using dispatch. dispatch "addItem" to <where do you want it go go? " with the info you want to go along goes here. For example if you had a command that adds 2 numbers on a different stack, in a button on a card yo...
by sturgis
Thu Jun 16, 2016 6:37 pm
Forum: Talking LiveCode
Topic: Moving button unwanted behaviour
Replies: 28
Views: 15984

Re: Moving button unwanted behaviour

Yep. Relayer is interesting. I've never needed to relayer, so its all new to me.

you can relayer before, relayer after, or front, or back or..
by sturgis
Thu Jun 16, 2016 5:18 pm
Forum: Talking LiveCode
Topic: Moving button unwanted behaviour
Replies: 28
Views: 15984

Re: Moving button unwanted behaviour

YOu set the layer to the highest layered control in the group. That way, it takes over that position, (still in the group) and the other controls shift downward to fill the vacated hole. And if I understand what I read in the dictionary for "relayer" thats exactly what "relayer <control> after the o...

Go to advanced search