Waiting for Zax, cleaned up an issue with horizontal scrolling with one or more long lines of unwrapped text. Still not perfect as regards the vertical scrollbar.
When we get to v.42 we will be done.
Craig`
Search found 9379 matches
- Mon Apr 15, 2024 9:45 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Styling paragraphs/lines?
- Replies: 34
- Views: 939
- Mon Apr 15, 2024 7:28 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Styling paragraphs/lines?
- Replies: 34
- Views: 939
Re: Styling paragraphs/lines?
Bernd.
You and I can go back and forth forever tweaking this.
But what does Zax want to do? There is the "text" way, and the "kludge" way.
Which way?
Craig
You and I can go back and forth forever tweaking this.
But what does Zax want to do? There is the "text" way, and the "kludge" way.
Which way?
Craig
- Mon Apr 15, 2024 6:13 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Styling paragraphs/lines?
- Replies: 34
- Views: 939
Re: Styling paragraphs/lines?
Bernd. Test, test, test. Anyway, this sure beats working. Had to modify the button script since if the user selects only a single line, the "format" of the "selectedLines" changes: on mouseUp put the selectedlines into tSelectedLines put word 2 of tSelectedLines into tStartLine if tSelectedLines con...
- Mon Apr 15, 2024 3:29 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Styling paragraphs/lines?
- Replies: 34
- Views: 939
Re: Styling paragraphs/lines?
Bernd. The scrolling is nice. I was never satisfied with the method of selecting the start and end lines. Your update does not have this feature at all. But I like the following, modifying "our" makeOverlay button script: on mouseUp put word 2 of the selectedlines into tStartLine put word 4 of the s...
- Mon Apr 15, 2024 2:19 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Styling paragraphs/lines?
- Replies: 34
- Views: 939
Re: Styling paragraphs/lines?
I only colorized the backGround because one or more of the previous posts showed that. You do not have to.However, if I want to be a perfectionist, placing a semi-transparent element on top of text decreases the contrast of the text and it is no longer black.
Craig
- Mon Apr 15, 2024 12:01 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: get name of flashdrive.
- Replies: 17
- Views: 549
Re: get name of flashdrive.
Jacque.
Always impressed by your LC knowledge.
The "filename of stack". Really. What will they think of next??
Craig
Always impressed by your LC knowledge.
The "filename of stack". Really. What will they think of next??
Craig
- Sun Apr 14, 2024 11:55 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Styling paragraphs/lines?
- Replies: 34
- Views: 939
Re: Styling paragraphs/lines?
Zax. I threw this stack together. It places an overlay between any two lines that you click on. It is hardly polished, in that it does not use typical field properties to set spatial parameters (as it ought), rather, I just jury-rigged some stuff into place. It is a kludge, in that it sidesteps all ...
- Fri Apr 12, 2024 8:03 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Styling paragraphs/lines?
- Replies: 34
- Views: 939
Re: Styling paragraphs/lines?
It seems that setting the paragraph of a portion of the text of a field "sticks" beyond what I thought was possible. With a field with several return delimited lines of text, put this in a button somewhere: on mouseup set the backColor of paragraph 2 of fld 1 to "red" wait 30 Set the backColor of li...
- Fri Apr 12, 2024 3:10 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Styling paragraphs/lines?
- Replies: 34
- Views: 939
Re: Styling paragraphs/lines?
Just an aside, fooling around I accidentally:
A dark pink. Shades of some recent threads here, and without that history, I would have started a new thread in CAPITALS to announce this unprecedented news.
Craig
Code: Select all
set the backColor of line 4 of field 1 to "33"
Craig
- Fri Apr 12, 2024 3:04 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: get name of flashdrive.
- Replies: 17
- Views: 549
Re: get name of flashdrive.
Casbah There is a function, "the volumes" that returns all mounted, er, volumes. Identifying a particular volume that happens to contain the name of a certain liveCode stack is another task. But if you are already looking for a stack with a certain name, then why do you need to find it somewhere? Wh...
- Fri Apr 12, 2024 2:57 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Styling paragraphs/lines?
- Replies: 34
- Views: 939
Re: Styling paragraphs/lines?
Zax. Are you wedded to using the border-whatevers? I am thinking about using an overlay and modifying its properties to fit. Maybe a field with just the right backColor, borderColor, borderWidth and blendlevel? That way it is a single control not subject to the line and paragraph constraints you are...
- Thu Apr 11, 2024 5:23 pm
- Forum: iOS Deployment
- Topic: Auto Focus On Edit Field
- Replies: 8
- Views: 357
Re: Auto Focus On Edit Field
Jwack?
I think she is used to having her name manhandled, but this?
Craig
I think she is used to having her name manhandled, but this?
Craig
- Thu Apr 11, 2024 2:33 pm
- Forum: iOS Deployment
- Topic: Auto Focus On Edit Field
- Replies: 8
- Views: 357
Re: Auto Focus On Edit Field
Hi. You will find that adding a short delay will solve issues that otherwise seem perfectly sound. Just because our logic and coding is OK, it does not mean that the physical running of the engine is up to speed with our thinking. Often you can use a much shorter value than ten ticks. In fact, one t...
- Thu Apr 11, 2024 2:28 pm
- Forum: Talking LiveCode
- Topic: Strange colors
- Replies: 7
- Views: 383
Re: Strange colors
Richmond. Glad to see that we are both willing to work hard at anything but our work. You can see the pseudo-repetition every 36 "passes", though getting darker as you go. And the whole thing changes after six such, with a gray-scale sequence at the very end. All this was just to explore the fact th...
- Wed Apr 10, 2024 7:15 pm
- Forum: Talking LiveCode
- Topic: Strange colors
- Replies: 7
- Views: 383
Re: Strange colors
Ah.That was over there, eh?
Craig
Craig