Lower third Text scrolling

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

proloy
Posts: 19
Joined: Thu Aug 17, 2017 9:07 am

Lower third Text scrolling

Post by proloy » Wed Oct 11, 2017 7:37 am

Dear,
i like to make Lower third Text scrolling with speed control and only selected lines (with a check box) will be add in fld "scroll" but don't know how and where to start. if there any example project out there, then it'll be helpful for me.

I read move command in dictionary, but no luck.

Code: Select all

on mouseUp
put fld "text1" into fld "scroll"
   
end mouseUp
plz advice..

Klaus
Posts: 13820
Joined: Sat Apr 08, 2006 8:41 am
Location: Germany
Contact:

Re: Lower third Text scrolling

Post by Klaus » Wed Oct 11, 2017 12:46 pm

Hi proloy,

not sure what exactly you are trying to do, but you are looking for "scroll"
...
set the scroll of fld "scroll" to 10
## or any value in pixel from 0 to the formattedheight of fld "scroll"
...


Best

Klaus

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 9647
Joined: Wed May 06, 2009 2:28 pm
Location: New York, NY

Re: Lower third Text scrolling

Post by dunbarx » Wed Oct 11, 2017 3:08 pm

Hi.

1- "Lower Third". Does this mean you want the bottom portion of a scrolling field to scroll, but the top stays the same?

2- You can make a gadget that will scroll at a variable rate, perhaps by cursor motion or some other means. That sounds like fun. But is that what you wanted?

3- Is it that you want a scrolling field with only certain lines containing a checkbox?

You need to explain more fully. Please try to address the three items above separately.

Craig Newman

proloy
Posts: 19
Joined: Thu Aug 17, 2017 9:07 am

Re: Lower third Text scrolling

Post by proloy » Thu Oct 12, 2017 3:47 am

Thanks kalus & dunbarx for your reply.

Plz check the attachment.
Some one write this program in VB. i like to make it in LC.
In pic:
1) Text Field:Where write a News.
2) Check box: only selected News will be shown in "7"
3) Img: before starting of each News line.
4) Speed: it's control scroll speed. (it will be shown in "7")
5) Add/Remove: Add or remove text field+check box+img

7) Program Out: News Scrolling which is shown in TV Screen. (This is lower Third :))

I can make 1 and 7, and stuck in 2 to 5 :D

Thanks.
Attachments
Untitled.png

Klaus
Posts: 13820
Joined: Sat Apr 08, 2006 8:41 am
Location: Germany
Contact:

Re: Lower third Text scrolling

Post by Klaus » Thu Oct 12, 2017 11:30 am

Hi proloy,

1. my name is Klaus!
If you can't spell it, copy and paste it!

2. For #1, #2 and #3 I would use a datagrid of type FORM, which can hold a checkbox and an image per line.
This is however not really beginners stuff.

3. For #3 check "imagesource" in the dictionary.

4.. Please check this lesson for horizontal scrolling text:
http://lessons.livecode.com/m/2592/l/12 ... ext-banner
You could control the "speed" with a scrollbar via the "wait" message in the lesson.

5. Number 6 is missing!? :D


Best

Klaus (not kalus or whatever!)

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 9647
Joined: Wed May 06, 2009 2:28 pm
Location: New York, NY

Re: Lower third Text scrolling

Post by dunbarx » Thu Oct 12, 2017 2:09 pm

What Lukas said.

bogs
Posts: 5435
Joined: Sat Feb 25, 2017 10:45 pm

Re: Lower third Text scrolling

Post by bogs » Thu Oct 12, 2017 2:43 pm

dunbarx wrote:
Thu Oct 12, 2017 2:09 pm
What Lukas said.
Yes, that salku is one heck of a bright bean :P
Image

Klaus
Posts: 13820
Joined: Sat Apr 08, 2006 8:41 am
Location: Germany
Contact:

Re: Lower third Text scrolling

Post by Klaus » Thu Oct 12, 2017 3:24 pm

:D :D :D

SparkOut
Posts: 2852
Joined: Sun Sep 23, 2007 4:58 pm

Re: Lower third Text scrolling

Post by SparkOut » Thu Oct 12, 2017 9:41 pm

Kalusamiusi?

Klaus
Posts: 13820
Joined: Sat Apr 08, 2006 8:41 am
Location: Germany
Contact:

Re: Lower third Text scrolling

Post by Klaus » Thu Oct 12, 2017 10:33 pm

Well NOW it is getting silly! 8)

:D :D :D

SparkOut
Posts: 2852
Joined: Sun Sep 23, 2007 4:58 pm

Re: Lower third Text scrolling

Post by SparkOut » Fri Oct 13, 2017 3:48 pm

Not NOW. I've always been silly :shock: :roll:

Klaus
Posts: 13820
Joined: Sat Apr 08, 2006 8:41 am
Location: Germany
Contact:

Re: Lower third Text scrolling

Post by Klaus » Fri Oct 13, 2017 4:07 pm

It, not you! 8)

proloy
Posts: 19
Joined: Thu Aug 17, 2017 9:07 am

Re: Lower third Text scrolling

Post by proloy » Sat Oct 14, 2017 4:37 am

Dear Klaus,

1. i did it :D
2. datagrid is complicated for me, cuz i can't edit in row/columns. That's why i tried with fld. check attachment.
CheckBox Name:
Check1
Check2
Check3

My checkbox code:

Code: Select all

on mouseUp
   if the hilite of me =true 
   then
      select line 8 of field "News" 
    else
      select empty
   end if
end mouseUp
Checkbox Group Name: Checkboxes

Button Code (vedus write this code for some one):

Code: Select all

on mouseUp
   set the useUnicode to true
repeat with x = 1 to number of buttons of grp "Checkboxes"
  if the hilite of btn x of grp "Checkboxes" then
   put unidecode(the unicodelabel of btn x of grp "Checkboxes","utf8") & cr after mylist
  end if
end repeat
set the unicodetext of fld "Lower" to uniencode(mylist,"utf8")
end mouseUp
But no result in fld "Lower"
Am i going wrong?
Plz advice...
Attachments
Untitled2.jpg

Klaus
Posts: 13820
Joined: Sat Apr 08, 2006 8:41 am
Location: Germany
Contact:

Re: Lower third Text scrolling

Post by Klaus » Sat Oct 14, 2017 1:03 pm

What version of LC are you using?
"unidecode", "uniencode", "unicodetext" etc. have beeen deprecated since version 7!

bogs
Posts: 5435
Joined: Sat Feb 25, 2017 10:45 pm

Re: Lower third Text scrolling

Post by bogs » Sat Oct 14, 2017 2:15 pm

From that screen shot, I'd guess 8.x or higher.
Image

Post Reply

Return to “Getting Started with LiveCode - Complete Beginners”