Search found 4317 matches

by richmond62
Tue May 26, 2020 10:30 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: What happen the stack handlers "Open" and "PreOpen"?
Replies: 15
Views: 273

Re: What happen the stack handlers "Open" and "PreOpen"?

They just don't work, while preOpen and open in a card do.

Err . . . possibly the LiveCode 'thang' has become so complicated that loading
it into the memory means there is some sort of problem with doing stuff before the stack is displayed on screen.
by richmond62
Tue May 26, 2020 10:13 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Using CSV as reference file
Replies: 10
Views: 177

Re: Using CSV as reference file

The file contains up to 18,000 records, so looping thru this file to find values is sub-optimal. You're telling me! 8) I don't think you need to LOOP through the file, but you do need to READ through the comma-delimited items in the file after it has been processed in the way I have demonstrated. T...
by richmond62
Tue May 26, 2020 9:45 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: What happen the stack handlers "Open" and "PreOpen"?
Replies: 15
Views: 273

Re: What happen the stack handlers "Open" and "PreOpen"?

Every time I have used preOpenStack and openStack they have not worked very well, so now
I tend to go for preOpenCard and openCard. 8)
by richmond62
Tue May 26, 2020 9:42 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Using CSV as reference file
Replies: 10
Views: 177

Re: Using CSV as reference file

If that is what you mean . . . - Screenshot 2020-05-26 at 11.40.42.png - button REMOVE QUOTES & FIRST LINE & REORDER on mouseUp put empty into fld "PROC1" put empty into fld "KOUNT2" put fld "prePROC" into rawDDD repeat until char 1 of rawDDD is "&" add 1 to fld "KOUNT2" if char 1 of rawDDD is quote...
by richmond62
Tue May 26, 2020 9:27 am
Forum: Educational Outreach
Topic: e-learning
Replies: 2
Views: 3198

Re: e-learning

My problem is with kids pretending to be attending a Zoom session:
-
ZOOOM.jpg
by richmond62
Tue May 26, 2020 9:12 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Using CSV as reference file
Replies: 10
Views: 177

Re: Using CSV as reference file

The 'key' (that I need) to the CSV file is in the 2nd field (column). I don't think I understand that: as my Granny said, "A picture is worth a thousand words." :D - Screenshot 2020-05-26 at 11.08.49.png - If you could download that picture and mark the key I think things would be easier. Do you me...
by richmond62
Tue May 26, 2020 9:06 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Using CSV as reference file
Replies: 10
Views: 177

Re: Using CSV as reference file

At the risk of being offensive I have cut that enormously long CVS file down to 10 lines:
australian_postcodes_cutshort.csv.zip
(1.04 KiB) Not downloaded yet
This leaves us with something manageable for development.
by richmond62
Tue May 26, 2020 8:48 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Using CSV as reference file
Replies: 10
Views: 177

Re: Using CSV as reference file

Introduced a COMBO button: on mouseUp answer file "Choose a CSV file to import" if the result = "cancel" then exit mouseUp else put URL ("file:" & it) into rawDDD put "&&&" after rawDDD end if ------------- put empty into fld "KOUNT2" put empty into fld "PROC1" repeat until char 1 of rawDDD is "&" a...
by richmond62
Tue May 26, 2020 7:45 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Using CSV as reference file
Replies: 10
Views: 177

Re: Using CSV as reference file

I am a pain in the bum because I tend to write in these reply boxes as I try things out. 1. It has 14 columns, of which only 4 are of interest to me. Which 4? The first, the last, 4 distributed in some odd fashion through each row? 2. Import the CSV file as a text file and strip out the double quote...
by richmond62
Mon May 25, 2020 9:59 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Can LC set an objet to the top laye of a group with script? - Solved
Replies: 12
Views: 242

Re: Can LC set an objet to the top laye of a group with script?

You could have a list field where each line contains the name of an object within a group:
new ones being added at the start of the list.

Then you could have a script that set the object in line 1 of your list to the top layer inside your group.
by richmond62
Mon May 25, 2020 9:38 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Scrolling a group with the Mouse Wheel
Replies: 7
Views: 919

Re: Scrolling a group with the Mouse Wheel

Err . . .
how to scroll a group with the mouse scroll wheel
My emphasis.
by richmond62
Mon May 25, 2020 9:23 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Scrolling a group with the Mouse Wheel
Replies: 7
Views: 919

Re: Scrolling a group with the Mouse Wheel

Either I've been a bit stupid, or I've merely missed something . . . - Screenshot 2020-05-25 at 23.20.04.png - I made a stack 400 x 400, and put a scrolling field on that card with a vertical scroll, and made that field 440 x 440. - Screenshot 2020-05-25 at 23.24.37.png - I can scroll that field wit...
by richmond62
Mon May 25, 2020 7:53 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Scrolling a group with the Mouse Wheel
Replies: 7
Views: 919

Re: Scrolling a group with the Mouse Wheel

And, what happens after I've pressed down on my mouse wheel and then scroll back and forwards a spot? Err . . . hang about . . . that's odd, something I've not noticed before: when I scroll the mouse I get 65308 or 65309 . . . so a rawKeyDown signal is received NOT when I press down on the wheel, bu...
by richmond62
Mon May 25, 2020 1:49 pm
Forum: Talking LiveCode
Topic: Best or easiest way to make a vertical scrolling area with fields and buttons
Replies: 9
Views: 220

Re: Best or easiest way to make a vertical scrolling area with fields and buttons

Well, personally I'd just group everything and then set the Vertical scroll to true.
-
Screenshot 2020-05-25 at 15.48.15.png

Go to advanced search