VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



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

by Doug Gaede (7 Submissions)
Category: Graphics
Compatability: Visual Basic 3.0
Difficulty: Intermediate
Date Added: Wed 3rd February 2021
Rating: (22 Votes)

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)

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

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

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

No comments have been posted about Form, CommandButton, CheckBox, OptionButton, PictureBox any shape& transparent (ver. 3.2 final). Why not be the first to post a comment about Form, CommandButton, CheckBox, OptionButton, PictureBox any shape& transparent (ver. 3.2 final).

Post your comment

Subject:
Message:
0/1000 characters