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!

Popularity: 1% [?]