Results 1 to 5 of 5

Thread: ocx property

  1. #1

    Thread Starter
    New Member
    Join Date
    Oct 2002
    Posts
    4

    ocx property

    Hello!

    I have created a simple ocx control and custom properties in the property page, built it, and frop it in a new form. But I am not sure how to access the property's page to configure the custom prperties. Any suggestion would be greatly appreciated.

    Thanks!

  2. #2
    Evil Genius alex_read's Avatar
    Join Date
    May 2000
    Location
    Espoo, Finland
    Posts
    5,538
    In your app using the control, you'll see a "custom..." entry right at the top of the properties window for the control if it has any property pages included.

    My guess is you've written the pages, but not assigned them to the control for this to happen. To assign the pages, open your ActiveX control in design mode. Look down the properties in the property window & you'll have a "property pages" property there, click the button beside it, then check the box next to each property page you wish to be associated with this control.

    Please rate this post if it was useful for you!
    Please try to search before creating a new post,
    Please format code using [ code ][ /code ], and
    Post sample code, error details & problem details

  3. #3
    New Member bharadwajrv's Avatar
    Join Date
    Oct 2002
    Location
    Mysore,India
    Posts
    12

    try this..

    in vb6.0 add-in manager(Add-ins->Add-ins Manager...) Load the "Vb6 Property Page Wizard"..

    Using this wizard use can generate the property page and associate the property of your control.

    hope this helps you..

    Venu
    "Dream it, b'caz U can do it!"

  4. #4

    Thread Starter
    New Member
    Join Date
    Oct 2002
    Posts
    4
    I got the property page to show. Thank you so very much!

  5. #5
    VB6, XHTML & CSS hobbyist Merri's Avatar
    Join Date
    Oct 2002
    Location
    Finland
    Posts
    6,654
    I have a problem...I can see only the first selfmade property page I included into the project. I can't see the another one I've made or StandardFont. I've checked the ones to be shown and still I can see only the one. I even removed check from the first one and I still saw it after compile. Any ideas on what is wrong?

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