Search found 341 matches

by shawnblc
Wed Jun 03, 2015 6:23 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: lockLocation top of graphic "line" ??
Replies: 27
Views: 12704

Re: lockLocation top of graphic "line" ??

Thanks klaus and dunbarx. Here's what I have now and it seems to be working, I'll continue testing.

Code: Select all

   set the bottom of graphic "bar1" to the top of graphic "line" +2
Update: edited.
by shawnblc
Wed Jun 03, 2015 5:40 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: lockLocation top of graphic "line" ??
Replies: 27
Views: 12704

lockLocation top of graphic "line" ??

I'm trying to anchor bar1 to the top of graphic line. The below isn't working, any help is appreciated. Thanks.

Code: Select all

   set the lockLocation of graphic "bar1" to true
   set the lockLocation of graphic "bar1" to the top of graphic "line"
by shawnblc
Wed Jun 03, 2015 4:21 pm
Forum: Talking LiveCode
Topic: LiveCode Blog Posts ----> Business type and web apps ...
Replies: 1
Views: 2206

LiveCode Blog Posts ----> Business type and web apps ...

For the past several months it seems like the LiveCode Blog has been focusing on mobile app development. I'd like to see more blog posts on business type applications, internet aware applications, and web apps (html5 is coming). Show off the power of LC. Very few mobile apps make money for the devel...
by shawnblc
Thu Feb 05, 2015 1:16 am
Forum: Off-Topic
Topic: Why so hard to purchase LC?
Replies: 5
Views: 5464

Re: Why so hard to purchase LC?

Since you know your bank is like that, I'd suggest calling the bank prior to making the purchase and letting them that in the next hour or two you plan on making an online purchase from Scotland and for them to let the transaction go through. I've done this and it's quick and painless.
by shawnblc
Mon Jan 26, 2015 2:27 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: [Beginner] Is among and word 2
Replies: 9
Views: 5146

Re: [Beginner] Is among and word 2

Let me do a little more testing, but I think I got it now Dave. Thanks. Will update.

UPDATE: NOPE! I won't rest!
by shawnblc
Mon Jan 26, 2015 1:03 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: [Beginner] Is among and word 2
Replies: 9
Views: 5146

Re: [Beginner] Is among and word 2

Code: Select all

   if tWord is among the words of gSentence and word 2 of gSentence is "Scooby-Doo" then
      set the visible of img "imgRed" to false

.....
Everything works UNTIL I want to add word 2 of gSentence
by shawnblc
Mon Jan 26, 2015 12:04 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: [Beginner] Is among and word 2
Replies: 9
Views: 5146

Re: [Beginner] Is among and word 2

Ah if you're using split you are creating an array and maybe should be dealing with elements rather than words - exactly how are you populating your variables? A 'repeat for each' should be pretty fast and by no means should mean you have to force quite LiveCode - are you by any chance reading the ...
by shawnblc
Sun Jan 25, 2015 11:15 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: [Beginner] Is among and word 2
Replies: 9
Views: 5146

Re: [Beginner] Is among and word 2

Hi shawnblc - you don't appear to be putting a value into tWord in order to make valid comparisons - so use something like this: repeat for each word tWord in gSentence   if tWord is among the words of gSentence and word 2 of gSentence is "Scooby-Doo" then put true into tContains end repeat answer ...
by shawnblc
Sun Jan 25, 2015 8:59 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: [Beginner] Is among and word 2
Replies: 9
Views: 5146

Re: [Beginner] Is among and word 2

SparkOut wrote:Did you forget to put the contents of the text file into the gSentence variable?
No. I put URL "http://domain.com/testfile.txt" into gSentence
by shawnblc
Sun Jan 25, 2015 8:37 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: [Beginner] Is among and word 2
Replies: 9
Views: 5146

[Beginner] Is among and word 2

I'm trying to only proceed (mark correct) if word 2 is on the same line as word 1. Believe it or not, I had this working the other day, but can't find my code in the hundreds of little practice stacks I have. In a button if tWord is among the words of gSentence and word 2 of gSentence is "Scooby-Doo...
by shawnblc
Fri Jan 23, 2015 6:06 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: [Beginner] Disable tab from fld to fld until cond met
Replies: 2
Views: 1819

Re: [Beginner] Disable tab from fld to fld until cond met

Hi Shawn, Here you go; on tabKey if target is empty then exit tabKey pass tabKey end tabKey put that into the card script. Simon I was trying the following with no luck. Let me try your solution. Thanks Simon. UPDATE: Definitely works. Thanks again. UPDATE 2: Maybe I was a little quick on that. It'...
by shawnblc
Fri Jan 23, 2015 5:36 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: [Beginner] Disable tab from fld to fld until cond met
Replies: 2
Views: 1819

[Beginner] Disable tab from fld to fld until cond met

For the lack of the rights ... I'm trying to keep "focus" in a particular field until (disabling tabbing to the next field). Example: Right now a user can tab from fldA to fldB even if fldA doesn't contain something I want. I'd prefer them to enter something I want before being able to tab. Can some...
by shawnblc
Thu Jan 22, 2015 4:02 am
Forum: User Groups and Events
Topic: Any LiveCode meetups in the LA/MS Gulf Coast areas?
Replies: 10
Views: 18791

Re: Any LiveCode meetups in the LA/MS Gulf Coast areas?

I live in MS, about 45 miles from NO. Have family in Harvey. I travel quite often, but when I'm in town, I'm all "LC". Keep in touch guys. We'll have our own meetups before long.
by shawnblc
Mon Jan 19, 2015 2:27 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Another one for ya: using put from server to stack
Replies: 22
Views: 8369

Re: Another one for ya: using put from server to stack

Simon wrote:Interesting.
I wonder if Apple will see this as a binary?
Well you could script anything from a text file. :twisted:

I'm not sure how stable using what we just did in the "closeStack" maybe further up the line is safer "on closeStackRequest".

Simon
I'll give it a whirl! Thanks again bud.
by shawnblc
Mon Jan 19, 2015 2:20 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Another one for ya: using put from server to stack
Replies: 22
Views: 8369

Re: Another one for ya: using put from server to stack

It WORKED! Awesome. I'd get so far away from the solution, then so close. Thanks for being there and helping out. LC is addictively fun!

Go to advanced search