forms triggers [message #81904] |
Mon, 31 March 2003 12:31  |
poy
Messages: 9 Registered: February 2003
|
Junior Member |
|
|
hi;
what is the difference between these two triggers
1- when_new_form_instance
2- when_window_activated?
thank you a lot.
|
|
|
Re: forms triggers [message #81907 is a reply to message #81904] |
Mon, 31 March 2003 23:34  |
utsav
Messages: 94 Registered: March 2003
|
Member |
|
|
Hi,
Well u r when new form fires when the control is transfered to the very fisrt navigational item on the form.
When window activated is fired when a window is activated.
U can understand the difference by doing following.
1. create two windows and two forms.
2.open form2 from form1
3.when form1 is opened when new form and window acivated of form 1 is executed
3. when form 2 is called the whne new form and window activated of form2 will be excuted
4. now come back form1 and only the window activated will be executed.new form will not be as it it fires just once.
Try this, it will clear any doubts.
utsav.
|
|
|