Additions: Sometimes you can run into problems when you use Components. When executing a componentprogram you sometimes need a program from within the Main Application. Now with components you cann't do a recursive call, meaning:
Deletions: Sometimes you can run into problems when you use Components. When executing a componentprogram you sometimes need a program from withing the Main Application. Now with components you cann't do a recursive call, meaning:
Additions: Sometimes you can run into problems when you use Components. When executing a componentprogram you sometimes need a program from withing the Main Application. Now with components you cann't do a recursive call, meaning:
Deletions: Sometimes you can run into problems when you use Components. When executing a componentprogra you sometimes need a program from withing the Main Application. Now with components you cann't do a recursive call, meaning:
How to call a program in the Main Application from within a Component
Sometimes you can run into problems when you use Components. When executing a componentprogra you sometimes need a program from withing the Main Application. Now with components you cann't do a recursive call, meaning:
Main Application A has a component B, component B calls a program in Main Application A
Sometimes a Call Public can help, but even with that you can run into problems.
This is the way to solve these problems:
Main Application A - Main Program:
- create event : ExposedEvent1, None, None, give it a Public Name, Set Expose
- create Handler ExposedEvent1, Subtree, define it's parameters+operations
Component B in your program:
- Raise Event : Public Event, Create expression 'Exposed Event', define Arguments (if needed).
Regards
Frank Van Herreweghe
Frank.van.herreweghe@telenet.be