|
| WD19 - EnumSubElement in external component not supported? |
| Iniciado por guest, 15,ene. 2015 21:59 - 1 respuesta |
| |
| | | |
|
| |
| Publicado el 15,enero 2015 - 21:59 |
Hi, I'm using an external component (one from myself) in a project. Whenever I use the EnumSubElement(sWindow) function an exception is thrown, saying it needs a window or report as the parameter
Apparently it doesn't see the objects of the external component. It only works if I use a windowname of the main executable.
The help doesn't say anything about this, so I guess right now it it just not supported (waiting for PCSoft to confirm that). Anyone seen this before and maybe found a workaround? |
| |
| |
| | | |
|
| | |
| |
| Publicado el 20,enero 2015 - 21:58 |
FYI You can set the "access rights" of the component somewhere in the component description. Then you can choose between different operating modes.
"the component will NOT access the datafiles, windows, pages and reports of the client project" "the component will access the datafiles of the client project" "the component will access the datafiles, windows, pages and reports of the client project"
The last option solved my issue.
I get the idea about these operating modes, but did not test them all to get the ins and outs. In my case the client project (which loads the component) is just a simple start-application, checking for updates of my component. This starter-app doesn't have and analysis and uses no datafiles. The component holds everything I need. It is more or less the executable we all now of, but in a component-jacket. |
| |
| |
| | | |
|
| | | | |
| | |
|