Les Snippets

Connexion

apparition disparition en fondu

Niveau requis pour utiliser/comprendre cette source : 1 ( Débutant )
Créé le 19/12/2007 23:24:18 et initié par ShadowTzu [Liste]
Vue : 4766
Catégorie(s) : WinForm
Langages dispo pour ce code :
- VB 2005



Langage : VB 2005
Date ajout : 19/12/2007
Posté par ShadowTzu [Liste]
Private Sub Fade_Show(ByVal Time As Integer)
        Me.Opacity = 0
        Me.Show()
        Dim Inc As Integer
        Dim checkT As Integer = My.Computer.Clock.TickCount
        Do While Inc < Time
            Inc = My.Computer.Clock.TickCount - checkT
            Me.Opacity = Inc / Time
            Application.DoEvents()
        Loop
    End Sub
    Private Sub Fade_Hide(ByVal Time As Integer)
        Me.Opacity = 1
        Dim Inc As Integer
        Dim checkT As Integer = My.Computer.Clock.TickCount
        Do While Inc < Time
            Inc = My.Computer.Clock.TickCount - checkT
            Me.Opacity = 1 - 1 / (Time / Inc)
            Application.DoEvents()
        Loop
    End Sub

Snippets en rapport avec : Fondu, Opacity, Opacité



Codes sources en rapport avec : Fondu, Opacity, Opacité

{Visual Basic, VB6, VB.NET, VB 2005} MODIFIER L'OPACITÉ D'UN FORMULAIRE AU PASSAGE DE LA SOURIS
Vous connaissez certainement le logiciel de retouche Paint.net Les boîtes à outils sont translucide...

{Visual Basic, VB6, VB.NET, VB 2005} EFFETS DE FONDU ANIMÉS (TRANSPARENCE/OPACITÉ) SUR LES FENÊTRES
Le titre n'est pas très clair, alors voici ce qu'il y'a dans ce code : 3 fonctions qui font des fon...

{Delphi} COMPOSANT TQPROGRESSBAR UNE BARRE DE PROGRESSION...
Salut à tous, ce composant est une barre de progression d'apparence standard, ronde, point ou pie. ...

{Javascript / DHTML} FADEIN EFFET DE FONDU, ANIMATION D'OPACITE TOUT EN JAVASCRIPT
voila comment faire des effets d'apparition ou de disparition de vos Div ou autre Span comprenant un...

{Delphi} ÉCRAN DE VEILLE FEU D'ARTIFICE
voici un écran de veille complet, avec gestion du multi-écran. Il reprend une demes précédente sour...

{Javascript / DHTML} DIAPO MULTIPLES EN FONDU
script qui sert a mettre plusieurs diapo en fondu il y a entre autre un prechargement des image co...

{Delphi} BITMAP 32BITS INTÉGRÉ À LA VCL (TIMAGE, TPICTURE, TBITMAP, TOPENPICTUREDIALOG)
ça fait longtemps que j'ai ce code sous le coude (déjà plusieurs refontes) et j'ai pensé qu'il était...

{C# / C#.NET} DIRECTX OVERLAY - CHANGE WALLPAPER ON DESKTOP WITH DIRECTX
Vous trouverez le programme compilé et l'installeur à cette addresse: http://overlaypaper.sourcefor...

{Javascript / DHTML} DIAPO EN FONDU ENCHAINE
diapo en fondu enchaine c'est exactement sa des image qui s'enchaine avec un effet de fondu il y a q...

{Visual Basic, VB6, VB.NET, VB 2005} TRANSITION FLUIDE PAR FONDU ENTRE IMAGES DE GARNDE TAILLE
Mon problème est de réaliser dans un programme Visual Basic un swap de plusieurs images de grande ...