Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > Avalon

Vista - How to create Marquee text animation

 
 
Old 10-30-2006   #1 (permalink)
paukp06


 
 

How to create Marquee text animation

Hi,
How to create marquee text animation with XAML? Or it can only do by
code behind?


My System SpecsSystem Spec
Old 10-30-2006   #2 (permalink)
Laurent Bugnion


 
 

Re: How to create Marquee text animation

Hi,

paukp06 wrote:
> Hi,
> How to create marquee text animation with XAML? Or it can only do by
> code behind?


You could use a TranslateTransform with a DoubleAnimation set on
Transform.X.

HTH,
Laurent
--
Laurent Bugnion, GalaSoft
Software engineering: http://www.galasoft-LB.ch
Private/Malaysia: http://mypage.bluewin.ch/lbugnion
Support children in Calcutta: http://www.calcutta-espoir.ch
My System SpecsSystem Spec
Old 10-31-2006   #3 (permalink)
paukp06


 
 

Re: How to create Marquee text animation

It cannot work if the message is too long. How can solve this problem?
Thanks in advance.

Laurent Bugnion wrote:

> Hi,
>
> paukp06 wrote:
> > Hi,
> > How to create marquee text animation with XAML? Or it can only do by
> > code behind?

>
> You could use a TranslateTransform with a DoubleAnimation set on
> Transform.X.
>
> HTH,
> Laurent
> --
> Laurent Bugnion, GalaSoft
> Software engineering: http://www.galasoft-LB.ch
> Private/Malaysia: http://mypage.bluewin.ch/lbugnion
> Support children in Calcutta: http://www.calcutta-espoir.ch


My System SpecsSystem Spec
Old 10-31-2006   #4 (permalink)
Laurent Bugnion


 
 

Re: How to create Marquee text animation

Hi,

paukp06 wrote:
> It cannot work if the message is too long. How can solve this problem?
> Thanks in advance.


Yes, if the message is long, or if the message is dynamic, then you'll
need code behind to set the label's text.

Greetings,
Laurent
--
Laurent Bugnion, GalaSoft
Software engineering: http://www.galasoft-LB.ch
Private/Malaysia: http://mypage.bluewin.ch/lbugnion
Support children in Calcutta: http://www.calcutta-espoir.ch
My System SpecsSystem Spec
 

Thread Tools


Similar Threads
Thread Forum
Unable to Create New Line in Text File PowerShell
Create a new text document in folder Vista General
Unable to create a new text doc using right click Vista General
Re: loop through text and create array PowerShell


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46