Scrolling Image and Text in a WinForm

G

Guest

i have the following problem:

my customer wants to show some informations in a WinForm. He has Images and
Textelements with are connected. It should look like this:

scroll << - ... Image + Text + empty space + Image + Text + empty space +
Image + Text + empty space ... << - scroll to left

how can i solve this problem? can i paste images and textelements to one big
image? i dont know! can someone help me please?

thank you
Yavuz Bogazci
 
M

Mike Labosh

my customer wants to show some informations in a WinForm. He has Images
and
Textelements with are connected. It should look like this:

scroll << - ... Image + Text + empty space + Image + Text + empty space +
Image + Text + empty space ... << - scroll to left

This worked for me:

<MARQUEE><SPAN>Description<IMG src="pic.jpg"></SPAN></MARQUEE>

Although the HTML editor in VS.NET underlined the <span> saying that as per
the active schema a span should not be used inside a marquee. Ditto on the
img. It works in IE6, but if this is on a public site, you should test it
with other browsers just to be sure.

--
Peace & happy computing,

Mike Labosh, MCSD

"Mr. McKittrick, after very careful consideration, I have
come to the conclusion that this new system SUCKS."
-- General Barringer, "War Games"
 
G

Guest

Thanks, but i don't need it on a webpage, i need on a winforms Application
without IE Webbrowser Component.

thanks
yavuz bogazci
 
C

Cor Ligthert

Yavuz,

What is dificult with what you show us. It are than 3 Picturebox with a
labels between them and than 5 buttons beneath that (I asume there is needed
a select as well).

<< < select > >>

And than of course an array where you hold the images. Or in a database
table those paths.

Picturebox left = thisindex - 1
Picturebox middle = thisindex
Picurebox right = thisindex + 1

I hope that this is something you mean?

Cor
 
G

Guest

no, for example unter HTML the *marquee* function does what i need. What mike
answered is a good point, but i need this on a winform not on a html or
webforms page. I want to scroll on a winform informations from right to left.
but i don't have only text element, i have text AND image elements.

thanks
yavuz
 
C

Cor Ligthert

Yavuz,

I understand now that you want something simple as a picturebox on your
form, from which you want (using a timer event) everytime change the
left.point and check when it is at the end of the form and start than at
zero?

:)

Cor
 
G

Guest

yeah! but not only a picture picturebox, i have always a combination of a
picture and text. how to do that?

thanks
yavuz
 
C

Cor Ligthert

yeah! but not only a picture picturebox, i have always a combination of a
picture and text. how to do that?
Than you set from both the left to another position.

:)

Cor
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top