ActiveX Property Page Issue in Visual Basic 6

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Paul Allan

    ActiveX Property Page Issue in Visual Basic 6

    I am building an ActiveX control using Visual Basic 6.

    I have a "property" that uses a "property page." To set this up I opened
    the Tools\Procedure Attributes dialog, then selected my property and set the
    "use this page in property browser" to the name of my property page.

    So far so good, when I select the property in the property browser, an
    ellipses is displayed, which opens the property page after I click it!

    In the property page I set:
    PropertyPage.Ch anged = True
    when a value is changed. This allows for the "Apply Changes" event to fire
    if the user clicks "OK" or "Apply."

    Pressing "OK" works fine, but if the user clicks "Apply" all of the controls
    on the Property Page disappear and the following message is displayed
    instead:
    "There are no selected objects with property pages."

    Any help to resolve this issue would be appreciated.

    Visual Basic Information:
    Version 8988
    VBA: Retail 6.0.8964
    Forms3:2.01

    Many Thanks,

    Paul.
    paul_allan@maxq tech.com


Working...