VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Form, CommandButton, CheckBox, OptionButton, PictureBox any shape& transparent (ver. 3.2 final)

Doug Gaede  (7 Submissions)   Graphics   Visual Basic 3.0   Intermediate   Wed 3rd February 2021

Version 3.2 of the code I posted on 2000-10-31 and updated several times. This post fixes the final bugs so the buttons look perfect when pushed, and no more code kludges are necessary. As before, even faster than version 2. Will draw a complex form in ~.007 of a second compared to the time for the pre-version 1 code of ~27.0 seconds. Like before, it accepts a Form, CommandButton, CheckBox, OptionButton or PictureBox and shapes it to the image assigned to the Picture property. This includes making a specified color completely transparent (you can click on objects underneath the form) during the shaping process. This is a major expansion on code submitted by Chris Yates. Now you can make specially-shaped controls using a PictureBox or real buttons. Full examples given, and well-commented code.

Rate Form, CommandButton, CheckBox, OptionButton, PictureBox any shape& transparent (ver. 3.2 final) (22(22 Vote))

Download Form, CommandButton, CheckBox, OptionButton, PictureBox any shape& transparent (ver. 3.2 final)

Form, CommandButton, CheckBox, OptionButton, PictureBox any shape& transparent (ver. 3.2 final) Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters