Results 1 to 4 of 4

Thread: Help: ocx that loses memory

Threaded View

  1. #1

    Thread Starter
    New Member
    Join Date
    Apr 2008
    Posts
    1

    Question Help: ocx that loses memory

    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:
    Name:  AdvancedFrame.jpg
Views: 97
Size:  45.5 KB
    Advanced Frame Control.rar
    Last edited by FordTaunus; May 1st, 2008 at 09:27 AM. Reason: changing download location

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width