|
Hi Roberto,
Any of the templates that can be attached to the main AppFrame (eg, CommandBars, TaskPanel, ShortcutBar etc) execute on their own thread.
This thread number is stored in a variable – it's name is made up of the template number followed by '_Thread'. Eg, In the case of TaskPanel, the thread number is stored in a variable called 'NYS005_Thread'.
To set properties or call class methods for templates that are attached to the AppFrame, you will need to pass an user event to the ‘NYS005_Thread’ and then intercept it in the 'NOYANTIS SOFTWARE - TaskPanel - Inside Accept Loop' embed point.
To accomplish your task, you would have to create your own User Event, pass it from the child window (thread) to the main application thread, and then get that to pass it on to the ‘NYS005_Thread’.
I hope this helps,
_________________ Andy Wilton
Author / Developer http://www.noyantis.com
|