PC Review


Reply
Thread Tools Rate Thread

How to do Fading of text programatically. Using Visaul Basic???

 
 
=?Utf-8?B?aGVscFNlZWtlcg==?=
Guest
Posts: n/a
 
      2nd Jul 2005
I m into powerpoint automation. I am implementing animation effects
programatically. One of the requirements of my project is to fade away that
previous line to GREY COLOR while the current line is being animated. I have
been able to apply the fade effect but there is a problem. It just fades the
first line of the slide to GREY while it fades the other lines to
PowerPoint's default selected color(at that time). In my case all the lines
except for first are fading to dark blue. Only the first line is fading to
grey.
I m coding in VB. Here is the function that I m using to fade the text to
grey. I have been able to set the timings of animations. The only problem is
the fading of text.


********************************************
Sub EffectsTextFade(effect_ As Object)

On Error Resume Next

Dim bhvEffect

With effect_
.EffectInformation.Dim.SchemeColor = 8
.Timing.TriggerType = 2
.Timing.TriggerDelayTime = 0
.Timing.Speed = 5
.EffectType = 56
.EffectParameters.Color2.RGB = RGB(Red:=133, Green:=133, Blue:=133)
End With

End Sub
**************************************************
where effect_ = .MainSequence.AddEffect(Shape:=NewShape, effectId:=0)

This RGB(133,133,133) is the grey color. I have ran the code in trace mode
and the above function runs for everyline of text but the grey color is
applied to only the first line of the slide. All the other lines are fading
to some other color (in my case..its fading to Dark blue).

So, can anyone help me what to do so that all my lines fade to GREY COLOR???

Thanks
Amrish
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
read value from website using Visaul basic Net zoneal@yahoo.com Microsoft VB .NET 2 1st May 2006 04:25 PM
How to do Fading of text programatically.......? =?Utf-8?B?aGVscFNlZWtlcg==?= Microsoft Powerpoint 0 2nd Jul 2005 12:52 PM
Fading of text programatically. =?Utf-8?B?dGVjaG5va25pZ2h0?= Microsoft Powerpoint 0 30th Jun 2005 07:35 AM
Can Visaul basic 6 be installed after installing VS .NET? EC Microsoft ASP .NET 1 17th May 2005 12:32 PM
Launch MS Access Module from Visaul Basic Dominique Microsoft Access VBA Modules 1 25th Nov 2003 10:45 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:05 AM.