Klaus,
Aha, thanks. I rarely use these fancy multi-media gadgets.
Craig
Search found 9371 matches
- Thu Apr 18, 2024 1:47 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Importing Image as a control
- Replies: 8
- Views: 160
- Wed Apr 17, 2024 10:38 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Importing Image as a control
- Replies: 8
- Views: 160
Re: Importing Image as a control
A liveCode file is not an image. No suprise that the OS does not include it in the available options. Not sure what the second example means.
An image has extensions such as ".jpg" or ".png".
I am no expert on this sort of thing, but maybe others will chime in...
Craig
An image has extensions such as ".jpg" or ".png".
I am no expert on this sort of thing, but maybe others will chime in...
Craig
- Tue Apr 16, 2024 7:11 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Styling paragraphs/lines?
- Replies: 44
- Views: 1412
Re: Styling paragraphs/lines?
There is no question that the "text" way is the grownup way.
Craig
Craig
- Tue Apr 16, 2024 5:02 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Styling paragraphs/lines?
- Replies: 44
- Views: 1412
Re: Styling paragraphs/lines?
Zax.
The kludge way can easily support multiple overlays. Just give Bernd and I free rein.
Craig
The kludge way can easily support multiple overlays. Just give Bernd and I free rein.
Craig
- Tue Apr 16, 2024 2:02 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Styling paragraphs/lines?
- Replies: 44
- Views: 1412
Re: Styling paragraphs/lines?
Zax.
So which way are you leaning?
Craig
So which way are you leaning?
Craig
- Mon Apr 15, 2024 9:45 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Styling paragraphs/lines?
- Replies: 44
- Views: 1412
Re: Styling paragraphs/lines?
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`
When we get to v.42 we will be done.
Craig`
- Mon Apr 15, 2024 7:28 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Styling paragraphs/lines?
- Replies: 44
- Views: 1412
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: 44
- Views: 1412
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: 44
- Views: 1412
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: 44
- Views: 1412
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: 636
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: 44
- Views: 1412
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: 44
- Views: 1412
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: 44
- Views: 1412
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: 636
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...