Postby ConvertFromOldNGs » Fri Aug 07, 2009 1:05 pm
by BeeJay >> Tue, 28 Nov 2006 20:34:30 GMT
I'll assume you are registering for a system notification, such as Object_Create_Event. If this assumption is correct, then the following note from the online help for beginClassNotification will explain the apparent lack of notifications: ___________________________________________________
Note You can subscribe to system notifications only for persistent objects; that is, the transients parameter must be false. ___________________________________________________
As runtime forms are always created as transient objects, unfortunately that means you will need to find another way to achieve the desired result. A common approach is to have a method, say Application::loadForm, that you pass the form class that you want to create and any other standard parameters such as a "myDataObject" reference, whether to show the form immediately or leave that to the calling method, whether to use showModal, etc.
Cheers,
BeeJay.