Results 1 to 5 of 5

Thread: ActiveX Control

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    May 2000
    Posts
    367
    If i wish to make an ativex control, but I wish the control to act like say the winsock control. So when it is added to a form, it displays the little icon, and is not seen by a user during runtime. How do I do this?

  2. #2
    Lively Member
    Join Date
    Mar 2000
    Location
    Fort Lauderdale, FL USA
    Posts
    112
    Set the InvisibleAtRuntime property of the control to "True".
    Damonous

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    May 2000
    Posts
    367
    thanks

  4. #4

    Thread Starter
    Hyperactive Member
    Join Date
    May 2000
    Posts
    367
    how do you make it so, no matter how big the developer makes the control on the form, it shrinks down to original size, like the winsock control does.

  5. #5
    Lively Member
    Join Date
    Mar 2000
    Location
    Fort Lauderdale, FL USA
    Posts
    112
    How about this?

    Private Sub UserControl_Resize()
    UserControl.Width = 1284 'Or whatever width you want
    UserControl.Height = 420
    End Sub

    Anything else I can help you out with?
    Damonous

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