PxPlus User Forum

Twitter Twitter Twitter

Author Topic: Events programming  (Read 1468 times)

Bob Sosbee

  • Member
  • **
  • Posts: 12
    • View Profile
Events programming
« on: January 02, 2019, 03:54:49 PM »
I'm working with events using the Windows IEFrame.dll, and using PVXTLB generated three event shell programs.  Do I need to use these generated programs as is, or can I take the code and add it to my class program?  I can do it either way, but if possible I would want to put the event programming into a program that matches what I want to do

Example:
Generated program:  DShellWindowsEvents.pvc

Can I take the PROPERTIES and even programming and include it in a class "Sy_BrowserControl.pvc" or do I need to use the file name as generated and LIKE it in my SY_BrowserControl.pvc?

Mike King

  • Diamond Member
  • *****
  • Posts: 3810
  • Mike King
    • View Profile
    • BBSysco Consulting
Re: Events programming
« Reply #1 on: January 04, 2019, 09:42:11 AM »
You should be able to just copy/replicate the properties/events you need into your own object.  There is nothing 'Special' about the generated code that you cannot include in your own logic.
Mike King
President - BBSysco Consulting
eMail: mike.king@bbsysco.com