473,320 Members | 1,825 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Scolling text.

UJ
I need to display data in a scrolling area much like HTML's marque (one
scrolling left and one scrolling up). Is there an object that will do that
for me in a C#/Windows app or do I need to load a browser window and then
use an HTML file to do it.

TIA - Jeff.
Dec 14 '05 #1
4 1501
Hi,

nop, there is nothing like this, you will have to do it, use a Label and a
Timer, change the Label position at the timer tick.

cheers,

--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation
"UJ" <fr**@nowhere.com> wrote in message
news:e7***************@TK2MSFTNGP15.phx.gbl...
I need to display data in a scrolling area much like HTML's marque (one
scrolling left and one scrolling up). Is there an object that will do that
for me in a C#/Windows app or do I need to load a browser window and then
use an HTML file to do it.

TIA - Jeff.

Dec 14 '05 #2
Ignacio Machin ( .NET/ C# MVP ) wrote:
Hi,

nop, there is nothing like this, you will have to do it, use a Label and a
Timer, change the Label position at the timer tick.

cheers,


Ouch, that will probably hurt performance terribly. You'll be much
better off rolling your own Marquee control with custom OnPaint handling.

Stefan
Dec 14 '05 #3
Hi,

Yeah, you are probably right :)

But maybe if using wrapped in a Suspend/ResumeLayout it will be ok
--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation
"Stefan Simek" <si**********@triaxis.nospam.sk> wrote in message
news:OO*************@TK2MSFTNGP11.phx.gbl...
Ignacio Machin ( .NET/ C# MVP ) wrote:
Hi,

nop, there is nothing like this, you will have to do it, use a Label and
a Timer, change the Label position at the timer tick.

cheers,


Ouch, that will probably hurt performance terribly. You'll be much better
off rolling your own Marquee control with custom OnPaint handling.

Stefan

Dec 15 '05 #4
Ignacio Machin ( .NET/ C# MVP ) wrote:
Hi,

Yeah, you are probably right :)

But maybe if using wrapped in a Suspend/ResumeLayout it will be ok


Hi,

I don't think that would change anything, as the Suspend/ResumeLayout
just queues layout operations and applies them at once (I suspect it's
implemented using the DeferWindowPos API), and as you're doing just one
(moving the label), the net effect would be the same. And moving a label
will allow you only to do very limited marquee effects. What if you have
a theoretically infinite stream of text that you wish to scroll?
(something like the TV news bar at the bottom)

Stefan
Dec 15 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Xerxes | last post by:
Hi, I need help in setting up a page where the text wraps around an image. Right now, I am using table, with text in one <td> and the image in the adjacent <td>. The problem is when the text is...
2
by: Macsicarr | last post by:
Hi All Wonder if you could help me. I have created a CMS system that allows the user to enter text and pic 'tags' for their own About us page, eg text.... text.... text.... text.......
7
by: Erwin Moller | last post by:
Hi, situation: I have a long list of options in multiple selectbox. The selectbox gets a scrollbar in that situation. Does anybody know if it is possible to scroll through the options with...
4
by: Arif Çimen | last post by:
Hi to everybody, I have chnged a button text in design mode. But After compiling and executing the program the text of the button do not change to new value. Any Ideas? Thaks for helps.
3
by: jweinberg1975 | last post by:
I would like for users to be able to select from a small number of options that come from a little drop down menu which then closes. .....
3
by: bbepristis | last post by:
Hey all I have this code that reads from one text file writes to another unless im on a certian line then it writes the new data however it only seems to do about 40 lines then quits and I cant...
3
by: acecraig100 | last post by:
I am fairly new to Javascript. I have a form that users fill out to enter an animal to exhibit at a fair. Because we have no way of knowing, how many animals a user may enter, I created a table...
3
by: jonniethecodeprince | last post by:
Hi all, I have trouble getting an array of data stored in a separate javascript file i.e. a file called books.js into a table of data for a .xhtml file. There are 50 Records in this file....
10
by: bluemountain | last post by:
Hi there, Iam new to python forms and programming too I had a text file where i need to extract few words of data from the header(which is of 3 lines) and search for the keyword TEXT1, TEXT2,...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.