2 Attachment(s)
Help: ocx that loses memory
Hi,
I'm new to the forum and this is my first post. :wave:
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:
Attachment 63900
Attachment 63899
Re: Hepl: ocx that loses memory
Post it here not there. Not going to an ad site to download your project...
Re: Hepl: ocx that loses memory
its just a file sharing website
Re: Hepl: ocx that loses memory
I know what it is, but have it your way...