Page 1 of 2
Lower third Text scrolling
Posted: Wed Oct 11, 2017 7:37 am
by proloy
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..
Re: Lower third Text scrolling
Posted: Wed Oct 11, 2017 12:46 pm
by Klaus
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
Re: Lower third Text scrolling
Posted: Wed Oct 11, 2017 3:08 pm
by dunbarx
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
Re: Lower third Text scrolling
Posted: Thu Oct 12, 2017 3:47 am
by proloy
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
Thanks.
Re: Lower third Text scrolling
Posted: Thu Oct 12, 2017 11:30 am
by Klaus
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!?
Best
Klaus (not kalus or whatever!)
Re: Lower third Text scrolling
Posted: Thu Oct 12, 2017 2:09 pm
by dunbarx
What Lukas said.
Re: Lower third Text scrolling
Posted: Thu Oct 12, 2017 2:43 pm
by bogs
dunbarx wrote: ↑Thu Oct 12, 2017 2:09 pm
What Lukas said.
Yes, that salku is one heck of a bright bean

Re: Lower third Text scrolling
Posted: Thu Oct 12, 2017 3:24 pm
by Klaus
Re: Lower third Text scrolling
Posted: Thu Oct 12, 2017 9:41 pm
by SparkOut
Kalusamiusi?
Re: Lower third Text scrolling
Posted: Thu Oct 12, 2017 10:33 pm
by Klaus
Re: Lower third Text scrolling
Posted: Fri Oct 13, 2017 3:48 pm
by SparkOut
Not NOW. I've always been silly

Re: Lower third Text scrolling
Posted: Fri Oct 13, 2017 4:07 pm
by Klaus
It, not you!

Re: Lower third Text scrolling
Posted: Sat Oct 14, 2017 4:37 am
by proloy
Dear Klaus,
1. i did it

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...
Re: Lower third Text scrolling
Posted: Sat Oct 14, 2017 1:03 pm
by Klaus
What version of LC are you using?
"unidecode", "uniencode", "unicodetext" etc. have beeen deprecated since version 7!
Re: Lower third Text scrolling
Posted: Sat Oct 14, 2017 2:15 pm
by bogs
From that screen shot, I'd guess 8.x or higher.