I am having difficulty understanding the why some events fire when they do. My form is called Patient_main and all the objects below appear on the form. This sequence of events is created from just opening the form from the control panel and then closing the form by pressing BUTTONCLOSE.
This sequence of events is from the trace window. Can any one explain why the CanArrive events fire for objects without my clicking on the object and why the OnInit and OnFetch events fire for the browses before a record is fetched? Even more confusing why do the OnInit and OnFetch events of the form fire when no record is fetched?
I'm trying to use the OnFetch evemt to control the appearance of the form Patient_main and since the event fires before a record is actually fetched it messes up.
All help at enlightening my understanding is appreciated.
Event: :Patient_main:BROWSE1 "OnInit"
Event: :Patient_main:BROWSE2 "OnInit"
Event: :Patient_main "OnInit"
Event: :Patient_main "OnFetch"
Event: :Patient_main:BUTTONADD "CanArrive"
Event: :Patient_main:BROWSE2 "OnFetch"
Event: :Patient_main:BUTTONADD "CanArrive"
Event: :Patient_main:BUTTONADD "OnArrive"
Event: :Patient_main "OnActivate"
Event: :Patient_main:BUTTONCLOSE "CanArrive"
Event: :Patient_main:BUTTONADD "CanDepart"
Event: :Patient_main:BUTTONADD "OnDepart"
Event: :Patient_main:BUTTONCLOSE "OnArrive"
Event: :Patient_main:BUTTONCLOSE "OnPush"
Event: :Patient_main "OnDeactivate"
Event: :Patient_main "OnExit"
Event: :Patient_main:BUTTONCLOSE "OnDepart"
Event: :Patient_main:BROWSE1 "OnExit"
Event: :Patient_main:BROWSE2 "OnExit"
This sequence of events is from the trace window. Can any one explain why the CanArrive events fire for objects without my clicking on the object and why the OnInit and OnFetch events fire for the browses before a record is fetched? Even more confusing why do the OnInit and OnFetch events of the form fire when no record is fetched?
I'm trying to use the OnFetch evemt to control the appearance of the form Patient_main and since the event fires before a record is actually fetched it messes up.
All help at enlightening my understanding is appreciated.
Event: :Patient_main:BROWSE1 "OnInit"
Event: :Patient_main:BROWSE2 "OnInit"
Event: :Patient_main "OnInit"
Event: :Patient_main "OnFetch"
Event: :Patient_main:BUTTONADD "CanArrive"
Event: :Patient_main:BROWSE2 "OnFetch"
Event: :Patient_main:BUTTONADD "CanArrive"
Event: :Patient_main:BUTTONADD "OnArrive"
Event: :Patient_main "OnActivate"
Event: :Patient_main:BUTTONCLOSE "CanArrive"
Event: :Patient_main:BUTTONADD "CanDepart"
Event: :Patient_main:BUTTONADD "OnDepart"
Event: :Patient_main:BUTTONCLOSE "OnArrive"
Event: :Patient_main:BUTTONCLOSE "OnPush"
Event: :Patient_main "OnDeactivate"
Event: :Patient_main "OnExit"
Event: :Patient_main:BUTTONCLOSE "OnDepart"
Event: :Patient_main:BROWSE1 "OnExit"
Event: :Patient_main:BROWSE2 "OnExit"
Comment