views:

307

answers:

3

I want to implement scrolling functionality in winforms. I need text to scroll like a marquee, but from the bottom to the top.

How can I do that?

+1  A: 

The question is a bit vague, but I think what you want to do is set AutoScroll=true on your form and scrolling will be automatically provided.

Eric J.
+1  A: 

I think I know what you want to do. (making a specific area scrollable) You can do it this way:

  • Create a form
  • Drag a panel onto it.
  • Set the panel docking...the way you want it
  • Set AutoScroll = true for the panel(Eric has suggested this).
  • Now drag any other control onto the the panel.

The panel area is now scrollable.

If you want to make the whole form scrollable then set AutoScroll = true for the form.

P.K
i want autoscrolling text i.e some lines will automatically moves from bottom to top repeatedly
Nagu
you want marquee LIKE functionality?
P.K
You should state that in your question
ThePower
sorry for the confusion. yes i need marquee type functionality only
Nagu
A: 

In relation to your comment to PK's answer, you'd need to simply code into a timer, or other method, to change the labels/controls Y (Or Top) value, decrementing it as required. Once it reaches -(control Height), change to (Form.Height)+(Control Height) and continue decrementing.

Marineio
oh is it the only solution? any how thank you for your suggestion
Nagu
There is no built-in control to provide this functionality.
Marineio