473,386 Members | 1,673 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,386 software developers and data experts.

Q: moving dashed line

Hi

Can anybody give me some ideas/code to get a dashed line on a form to be
animated i.e. the dashed lines move in one direction?

Thanks in advance

Geoff
Nov 23 '05 #1
4 1859
Perhaps changing from dashed to one of the other modes and back would make
it animate.

such that the dashes from one mode complement those of the other....
i.e.

mode 1
- - - - -

mode 2
- - - - -

Or maybe if line started at
(1,1) you move it to (10,1) and back to (1,1) so that the dash offset
would change.

I'm not sure... haven't done it... these are just some thoughts.

"Geoff" <no********@email.com> wrote in message
news:RP********************@pipex.net...
Hi

Can anybody give me some ideas/code to get a dashed line on a form to be
animated i.e. the dashed lines move in one direction?

Thanks in advance

Geoff

Nov 23 '05 #2
Hi

Yeah, sounds like a good idea but I can't find two lines that the
complements of each other; besides, wouldn't I need more than two so I can
set the direction of movement?

Geoff

"SStory" <no****@nospam.com> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
Perhaps changing from dashed to one of the other modes and back would make
it animate.

such that the dashes from one mode complement those of the other....
i.e.

mode 1
- - - - -

mode 2
- - - - -

Or maybe if line started at
(1,1) you move it to (10,1) and back to (1,1) so that the dash offset
would change.

I'm not sure... haven't done it... these are just some thoughts.

"Geoff" <no********@email.com> wrote in message
news:RP********************@pipex.net...
Hi

Can anybody give me some ideas/code to get a dashed line on a form to be
animated i.e. the dashed lines move in one direction?

Thanks in advance

Geoff


Nov 23 '05 #3
How about these:

http://www.codeproject.com/cs/miscctrl/marchingants.asp

http://www.codeproject.com/vb/net/ants.asp

HTH,

Shane

"Geoff" <no********@email.com> wrote in message
news:T4********************@pipex.net...
Hi

Yeah, sounds like a good idea but I can't find two lines that the
complements of each other; besides, wouldn't I need more than two so I can
set the direction of movement?

Geoff

"SStory" <no****@nospam.com> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
Perhaps changing from dashed to one of the other modes and back would
make it animate.

such that the dashes from one mode complement those of the other....
i.e.

mode 1
- - - - -

mode 2
- - - - -

Or maybe if line started at
(1,1) you move it to (10,1) and back to (1,1) so that the dash offset
would change.

I'm not sure... haven't done it... these are just some thoughts.

"Geoff" <no********@email.com> wrote in message
news:RP********************@pipex.net...
Hi

Can anybody give me some ideas/code to get a dashed line on a form to be
animated i.e. the dashed lines move in one direction?

Thanks in advance

Geoff



Nov 23 '05 #4
Cheers Shane

"SStory" <no****@nospam.com> wrote in message
news:e0*************@TK2MSFTNGP10.phx.gbl...
How about these:

http://www.codeproject.com/cs/miscctrl/marchingants.asp

http://www.codeproject.com/vb/net/ants.asp

HTH,

Shane

"Geoff" <no********@email.com> wrote in message
news:T4********************@pipex.net...
Hi

Yeah, sounds like a good idea but I can't find two lines that the
complements of each other; besides, wouldn't I need more than two so I
can set the direction of movement?

Geoff

"SStory" <no****@nospam.com> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
Perhaps changing from dashed to one of the other modes and back would
make it animate.

such that the dashes from one mode complement those of the other....
i.e.

mode 1
- - - - -

mode 2
- - - - -

Or maybe if line started at
(1,1) you move it to (10,1) and back to (1,1) so that the dash offset
would change.

I'm not sure... haven't done it... these are just some thoughts.

"Geoff" <no********@email.com> wrote in message
news:RP********************@pipex.net...
Hi

Can anybody give me some ideas/code to get a dashed line on a form to
be animated i.e. the dashed lines move in one direction?

Thanks in advance

Geoff



Nov 23 '05 #5

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

Similar topics

12
by: John | last post by:
I am currently using one of the IE hacks to give a PNG image full alpha transparency. But I wanted to move as much of this data to a .CSS as possible to lighten the load in the HTML as it is uses...
3
by: LadyKnight | last post by:
I am trying to build a new personal homepage and decided to try using CSS for the first time. I came across some dashed underlines for links on this page (and several others): ...
2
by: Carl Gilbert | last post by:
Hi I have a math kinda problem where I'm trying to split some lines when two or more lines connect two shapes. The reason I am doing this is to make it clear that there are multiple lines...
4
by: jessy | last post by:
can anybody tell me how to draw a dashed line in c i've drawn a dotted one using a simple for but i can't figure out how to make it dashed ... i need a for loop that is increasing constantly...
2
by: Paul | last post by:
I am moving an existing app written years ago to a new server. It uses Sigma Template 1.3 and Quickform 1.1.1 and PEAR.php,v 1.1.1.1 2004/02/16 The directory structure is like this: /site...
0
by: linkswanted | last post by:
We are your trusted source. World Moving & Storage is bonded and licensed by the U.S. Department of Transportation and is one of the largest residential moving and corporate relocation company in...
0
by: linkswanted | last post by:
We are your trusted source. World Moving & Storage is bonded and licensed by the U.S. Department of Transportation and is one of the largest residential moving and corporate relocation company in...
0
by: Red Head | last post by:
Hello I've written some code to draw a rectangle on a picture box when the user moves the mouse. (the previous rectangle is cleared) This works fine but the very first rectangle is not removed...
7
by: fuchsia555 | last post by:
hi how can i remove the dashed border that appear when clicking on sites's header button ? i think it's css issue any help please ?
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.