Hi,
I'm new to the forum and this is my first post.![]()
It's also my first try to create a control. I want to creat an ocx similar to the Frame control from VB6, but with some improvements (as you can see in the picture below):
- Caption over the top line and not through the line;
- Option for transparent background;
- Sunken or raised effect;
- Background picture inside the frame.
One of the problems is, as you can see on PIC 2, when I set the background to transparent, the caption (a label control) gets distorted and hard to read.
The other problem is that after I set all the properties and run a form using the control, it loses all the settings getting back to its default state. I also tried to change the properties at runtime but it didn't accepted the settings.
Can someone please help with this? I'm getting crazy trying to figure out what's happening... Below is a rapidshare link with the project.
Thanks in advance.
' EDIT: Sorry, didn't noticed the attach button. Here it is:
Advanced Frame Control.rar




Reply With Quote