Small RSS Reader App

gazeranco

Well-known member
Joined
Feb 11, 2006
Messages
45
Location
Englandshire!
Programming Experience
Beginner
Scrolling text/hyperlinks?

Hello :)

I want to make an RSS Reader application, but i only want it to display the Title in a very small window, I want it to scroll the headers/titles from right to left and I also want the scrolling text to be clickable i.e take you to the URL scrolling accross...

The bits i need help with,

1) How do i make text scroll from right to left in a form?
2) how do i make the scrolling text clickable?

I think i will be ok with getting the rss data from the web, just those 2 above bits im unsure on...
 
Last edited:
Use a LinkLabel (or two) and a timer, and move the label across the visible area of form on timer.tick
 
pseudo code:
VB.NET:
sub form_load(sender,e) handles form.load
  linklabel1.text = "click me"
  linklabel1.url = "[URL="http://vbdotnetforums.com/"]http://vbdotnetforums.com[/URL]"
  labelstart()
end sub
 
sub labelstart()
  linklabel1.position=new point(me.width,0)
end sub
 
sub timer_tick(sender,e) handles timer.tick
  linklabel1.position.x-=1
  if linklabel1.position.x=-linklabel1.width then 
    labelstart()
  end if
end sub
 
Back
Top