Fading a picture box 
Author Message
 Fading a picture box

I'm looking for any information on how to fade a picture box using VB.Net.
If anyone have any example code or know of any articles that explain how to
do it, I would appreciate hearing from you.

TIA,

Richard L Rosenheim



Fri, 19 Nov 2004 23:59:28 GMT  
 Fading a picture box
can you experiment with forcing your picture box opacity in properties tab,
then use a timer and sequence, such as a for loop to bump some number by a
few

enter fade process
set timer to 3? seconds,  or your fade time, in milliseconds, and in steps
of  n  milliseconds
for each step, or each n, reduce the opacity of the pix box
when timer is complete,
exit process

my VB translator isnt working yet this morning, sorry



Quote:
> I'm looking for any information on how to fade a picture box using VB.Net.
> If anyone have any example code or know of any articles that explain how
to
> do it, I would appreciate hearing from you.

> TIA,

> Richard L Rosenheim



Sat, 20 Nov 2004 03:01:52 GMT  
 Fading a picture box
Thanks for replying.  But, picture boxes don't appear to have an opacity
property.  At least it doesn't show up in the Intellisense...

My understanding is that only forms have an opacity property.

Richard L Rosenheim


Quote:
> can you experiment with forcing your picture box opacity in properties
tab,
> then use a timer and sequence, such as a for loop to bump some number by a
> few

> enter fade process
> set timer to 3? seconds,  or your fade time, in milliseconds, and in steps
> of  n  milliseconds
> for each step, or each n, reduce the opacity of the pix box
> when timer is complete,
> exit process

> my VB translator isnt working yet this morning, sorry



> > I'm looking for any information on how to fade a picture box using
VB.Net.
> > If anyone have any example code or know of any articles that explain how
> to
> > do it, I would appreciate hearing from you.

> > TIA,

> > Richard L Rosenheim



Sat, 20 Nov 2004 07:05:44 GMT  
 Fading a picture box
yes, forms have opacity, but separate controls can have them also.  I
checked and the default pix boxes dont have opacity, and I couldnt find how
to add this or override the property.  I was using the infragistics wingrids
and they use some way to change opacity.

I would like to find out and copy the procedure so I can use it myself.  I
will keep checking



Quote:
> Thanks for replying.  But, picture boxes don't appear to have an opacity
> property.  At least it doesn't show up in the Intellisense...

> My understanding is that only forms have an opacity property.

> Richard L Rosenheim



> > can you experiment with forcing your picture box opacity in properties
> tab,
> > then use a timer and sequence, such as a for loop to bump some number by
a
> > few

> > enter fade process
> > set timer to 3? seconds,  or your fade time, in milliseconds, and in
steps
> > of  n  milliseconds
> > for each step, or each n, reduce the opacity of the pix box
> > when timer is complete,
> > exit process

> > my VB translator isnt working yet this morning, sorry



> > > I'm looking for any information on how to fade a picture box using
> VB.Net.
> > > If anyone have any example code or know of any articles that explain
how
> > to
> > > do it, I would appreciate hearing from you.

> > > TIA,

> > > Richard L Rosenheim



Sun, 21 Nov 2004 13:49:57 GMT  
 Fading a picture box
Thanks, I appreciate it.

Richard L Rosenheim


Quote:
> yes, forms have opacity, but separate controls can have them also.  I
> checked and the default pix boxes dont have opacity, and I couldnt find
how
> to add this or override the property.  I was using the infragistics
wingrids
> and they use some way to change opacity.

> I would like to find out and copy the procedure so I can use it myself.  I
> will keep checking



> > Thanks for replying.  But, picture boxes don't appear to have an opacity
> > property.  At least it doesn't show up in the Intellisense...

> > My understanding is that only forms have an opacity property.

> > Richard L Rosenheim



> > > can you experiment with forcing your picture box opacity in properties
> > tab,
> > > then use a timer and sequence, such as a for loop to bump some number
by
> a
> > > few

> > > enter fade process
> > > set timer to 3? seconds,  or your fade time, in milliseconds, and in
> steps
> > > of  n  milliseconds
> > > for each step, or each n, reduce the opacity of the pix box
> > > when timer is complete,
> > > exit process

> > > my VB translator isnt working yet this morning, sorry



> > > > I'm looking for any information on how to fade a picture box using
> > VB.Net.
> > > > If anyone have any example code or know of any articles that explain
> how
> > > to
> > > > do it, I would appreciate hearing from you.

> > > > TIA,

> > > > Richard L Rosenheim



Sun, 21 Nov 2004 23:56:11 GMT  
 
 [ 5 post ] 

 Relevant Pages 

1. Fading a Picture Box -- help!!

2. Fade Transition Using Picture Box

3. fading of two pictures (blend one picture into the other)

4. insert picture box inside picture box

5. Fading out a picture

6. picture fade ?

7. Fade picture...

8. fading pictures

9. 'Fades' between pictures

10. Picture Fade In/Out

11. Fading of Pictures/Animations

12. Help: Resized picture fades to black !!

 

 
Powered by phpBB® Forum Software