Search found 6026 matches

by dunbarx
Mon Jul 15, 2019 10:52 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: buffering browser widget
Replies: 7
Views: 269

Re: buffering browser widget

Hi. Hermann's idea is made more palatable when you put each "card's" worth of controls in a group, and simply hide and show groups. This could be indistinguishable from navigating to actual other cards. You might set custom properties to distinguish one group from another, so that you can reuse code...
by dunbarx
Mon Jul 15, 2019 7:17 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: buffering browser widget
Replies: 7
Views: 269

Re: buffering browser widget

What bogs said. This has been true since 1987 HC. Back in the day, since there is not a function "theNumberOfLocks", we used to: repeat until the lockScreen is "false" unlock screen end repeat This way you did not have to count locks, which might occur in various places including called handlers and...
by dunbarx
Sat Jul 13, 2019 1:58 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: resizing images with CTR
Replies: 12
Views: 728

Re: resizing images with CTR

Confirmed as Klaus said, though I am also on a Mac.

Craig
by dunbarx
Fri Jul 12, 2019 11:14 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Toasted on a grid iron
Replies: 3
Views: 225

Re: Toasted on a grid iron

Richmond.

Go get 'em.

It is not a law, but at least here crosswords are always so constructed. That is not to say that intentional oddities do not exist.

For your purposes, it is not pertinent.

Craig
by dunbarx
Fri Jul 12, 2019 9:01 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Toasted on a grid iron
Replies: 3
Views: 225

Re: Toasted on a grid iron

Richmond.

I agree, LC eats this for lunch.

But for dinner, you need to make the finished product symmetrical about the diagonals, or you do not get a crossword blank slate.

Craig
by dunbarx
Fri Jul 12, 2019 7:38 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Scrolling around
Replies: 13
Views: 408

Re: Scrolling around

Jacque nailed it. The "formattedHeight" is just the ticket, since it is a property of images, and the limitation of lines is then moot.

I did just a couple of tests; graphics and scrollbars do not have that property. But groups do.

Craig
by dunbarx
Fri Jul 12, 2019 5:35 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Scrolling around
Replies: 13
Views: 408

Re: Scrolling around

I only mention this because I cannot remember if there is a property that indicates the number of vertical "pixels" of the contents of a field. In other words, one solution to Richmond's post is: on mouseUp set the scroll of me to ((the clickV - the top of me) / the height of me) * (the number of li...
by dunbarx
Fri Jul 12, 2019 5:15 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Scrolling around
Replies: 13
Views: 408

Re: Scrolling around

Richard is spot on with that tweak. I am spot off in two ways. 1- There is no "bot" abbreviation for "bottom". That is what made Richmond doubt my "numbers". 2- I should have thought more about the signs. on mouseUp answer (the clickV - the top of me) / the height of me end mouseUp Well, the bridge ...
by dunbarx
Thu Jul 11, 2019 9:04 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Scrolling around
Replies: 13
Views: 408

Re: Scrolling around

...although I feel there is something a bit wrong with your numbers.
All my quick and dirty ditty did was find the vertical percentage of the mouseClick in the vertical height of the control. That value has to be scaled to make the scroll of the control react properly.

Craig
by dunbarx
Thu Jul 11, 2019 1:56 pm
Forum: Feature Requests
Topic: Date and Time in RFC 3339 format
Replies: 10
Views: 486

Re: Date and Time in RFC 3339 format

Without even understanding the format of this date, surely a handler that dissects each component, using our favorite property, the itemDelimiter, can be easily written and stored as a library function.
Craig
by dunbarx
Thu Jul 11, 2019 1:51 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Scrolling around
Replies: 13
Views: 408

Re: Scrolling around

Richmond. Try this experiment. Make a scrolling field with lots of lines in it, many more than can be displayed, so the scrollbar does a lot of work. Lock the field, and place this in its script; on mouseUp answer (the top of me - the mouseV) / (the bot of me - the top of me) end mouseUp Click anywh...
by dunbarx
Wed Jul 10, 2019 1:59 pm
Forum: Off-Topic
Topic: About Web access
Replies: 1
Views: 116

Re: About Web access

Hi.

I am not the one to answer this, but I recommend you repost to the "Beginners" or "Talking LiveCode" pane.

Craig
by dunbarx
Mon Jul 01, 2019 12:28 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Drag & Drop issues
Replies: 8
Views: 448

Re: Drag & Drop issues

Richard.

What is the usual way to touch a control and have it track ones finger motion?

Craig
by dunbarx
Sun Jun 30, 2019 10:33 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Drag & Drop issues
Replies: 8
Views: 448

Re: Drag & Drop issues

Hi. I would use mouseMove, just because i have more experience with it. There are many ways to do things in LC, though, and you could make any of them work for you. The issue is how robust each method is when you start to stretch their limits. On a new card, make two buttons. In the script of button...
by dunbarx
Thu Jun 27, 2019 7:45 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: The Copy/Paste does not work
Replies: 2
Views: 250

Re: The Copy/Paste does not work

What Richard said.

What happens in a new stack in a NEW session?

Craig

Go to advanced search