Been a while, I know.

I have got a few emails asking why I haven’t posted for a while. There is no real reason. So here goes some more VB code for ya.

On my last example the code will round your corners, but on all four corners. I have been asked how to make it just the top corners be altered. Well its just two tiny little changes in the code and you are done

The orignal code was

llWidth = pForm.Width / Screen.TwipsPerPixelX
llHeight = pForm.Height / Screen.TwipsPerPixelY

Change it to

llWidth = pForm.Width / Screen.TwipsPerPixelX+1
llHeight = pForm.Height / Screen.TwipsPerPixelY+120

There ya have it!

About Dremation

I'm just a computer programmer/site desinger.
This entry was posted in General. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>