transparent / glosyy buttons
Heres your chance to share your own tutorials with the community. Just post them on here. If your lucky they may even be posted on the main site.
2 posts
Page 1 of 1
download link: http://www.mediafire.com/?q82qcdouf5149ym
Blog url: blog.php?u=4246&b=250
HOW TO USE, IN VB PROPERTIES:
use this image as background image in your button
change it in properties, then set the
layout to STRETCH OR ZOOM,
set the 'flat style to FLAT
set the 'flat appearance border = 0
set the 'flat appearance mouse down back color = transparent
set the 'flat appearance mouse over back color = transparent
Blog url: blog.php?u=4246&b=250
HOW TO USE, IN VB PROPERTIES:
use this image as background image in your button
change it in properties, then set the
layout to STRETCH OR ZOOM,
set the 'flat style to FLAT
set the 'flat appearance border = 0
set the 'flat appearance mouse down back color = transparent
set the 'flat appearance mouse over back color = transparent
Code: Select all
'THIS CODE -HANDLES MOUSE EVENTS WHEN MOUSE MOVES OVER A BUTTON, thsi change the flatstyle.flat to flatstyle.popup when mouse hover a button
( this code handles multiple button, just change the name of the button)
Private Sub But_MouseEnter(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.MouseEnter,
Bsave.MouseEnter, Bremove.MouseEnter, Brefresh.MouseEnter, Bsearch.MouseEnter, Bfirst.MouseEnter, Bback.MouseEnter, Bnext.MouseEnter, Blast.MouseEnter, Bexport.MouseEnter
CType(sender, Button).FlatStyle = FlatStyle.Popup
CType(sender, Button).FlatAppearance.BorderSize = 0
End Sub
Private Sub But_MouseLeave(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.MouseLeave,
Bsave.MouseLeave, Bremove.MouseLeave, Brefresh.MouseLeave, Bsearch.MouseLeave, Bfirst.MouseLeave, Bback.MouseLeave, Bnext.MouseLeave, Blast.MouseLeave, Bexport.MouseLeave
CType(sender, Button).FlatStyle = FlatStyle.Flat
End Sub
You do not have the required permissions to view the files attached to this post.
the images are 3D in style by the way you can style it more like glass style otherwise very good +rep
Find my programs on Softpedia
2 posts
Page 1 of 1
Copyright Information
Copyright © Codenstuff.com 2020 - 2023