Promoted Create (OpenInsight 32-bit Specific)
At 17 APR 2003 11:21:37AM matt bavis wrote:
I am becoming familiar with promoted events and wanted to confirm something I have noticed.
It seems if I promote a CREATE event. All forms do not trigger the promoted event. Even if I recompile the foms they do not trigger the promoted event. I can only get the form to trigger the promoted event if I go into the form's create event and put some sort of code (just a RETURN 1 will do). After doing this when the form is ran it will then trigger the promoted event. If I go back into the form and clear the CREATE event, it no longer trigger's the promoted event.
Is this observation correct, or am I doing something wrong? If this is correct, is the same true for other "form level" events, such as WRITE and CLOSE and ACTIVATED?
Thanks,
Matt
At 17 APR 2003 12:21PM Richard Hunt wrote:
Matt,
I use promoted events. Almost every form I have uses a Create Prompted Event. I have no problems with it firing, and there is nothing set in the forms create script and no quick event.
I am currently running 4.1.3 although it was working when I was still on 4.0.1
I currently am developing within Windows 2000 Professional.
One more thing… In the SYSREPOSWINS row for the form there is nothing in there about my promoted events. Now, in the SYSREPOSWINEXES row for the form there are the promoted events. This might help you debug your problem.
At 17 APR 2003 12:36PM Donald Bakke wrote:
Matt,
Did you "enforce" the CREATE event? If not, you have to do this first and then restart OI. Afterwards any new window or recompiled window should call your promoted CREATE event.
dbakke@srpcs.com
At 17 APR 2003 01:36PM matt bavis wrote:
Thanks for the responses. "Enforcing" the events did the trick. I also found a couple previous posts about enforcing and it all makes perfect sense. Thanks again.
Matt