Property manager page

Discussion in 'SolidWorks' started by Jiao Qian, Jul 5, 2004.

  1. Jiao Qian

    Jiao Qian Guest

    I am using macro to create a Property Manager Page (PMP). Can I add a
    KeyDown Event to a SelectionBox in my PMP? If yes, then how? Thanks!
     
    Jiao Qian, Jul 5, 2004
    #1
  2. Jiao Qian

    rocheey Guest

    I am using macro to create a Property Manager Page (PMP). Can I add a
    Dealing with events requires a class module. Any VBA form module is
    actually a class.

    Firstly, add a reference to the "SolidWorks exposed type libraries for
    add-in use".

    Then, write your code as a class module, and insert "Implements
    SWPublished.PropertyManagerPage2Handler" to be able to recieve
    messages.

    You can then treat the class module as if you were dealing with a
    normal VBA form.
     
    rocheey, Jul 6, 2004
    #2
  3. Jiao Qian

    rocheey Guest

    I am using macro to create a Property Manager Page (PMP). Can I add a
    Dealing with events requires a class module. Any VBA form module is
    actually a class.

    Firstly, add a reference to the "SolidWorks exposed type libraries for
    add-in use".

    Then, write your code as a class module, and insert "Implements
    SWPublished.PropertyManagerPage2Handler" to be able to recieve
    messages.

    You can then treat the class module as if you were dealing with a
    normal VBA form.
     
    rocheey, Jul 6, 2004
    #3
  4. Jiao Qian

    Jiao Qian Guest

    Many thanks for your help. I'll try. It will be highly appreciated if
    you guys can provide an example. Since I am not good at VB and VBA.
     
    Jiao Qian, Jul 7, 2004
    #4
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.