Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Custom control inherited from IWControls
#3
As I responded in the portuguese channel, don't use the TOwnedCollection (TIWScriptEvents ancestor) methods.

TIWScriptEvents have specific methods to handle adding/updating code:

TIWScriptEvents.HookEvent(const AEventName: string; AEventCode: string);

HookEvent will add a new event or update existing event using the provided code.
Reply


Messages In This Thread
RE: Custom control inherited from IWControls - by Alexandre Machado - 07-01-2019, 11:29 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)