Home » Developer & Programmer » Forms » when window activate
when window activate [message #677922] Wed, 23 October 2019 06:41 Go to next message
ashag
Messages: 5
Registered: June 2018
Junior Member
Can somebody explain me in simple words,what is purpose of when window activate and when new form instance trigger.in which condition we use this triggers??
Re: when window activate [message #677923 is a reply to message #677922] Wed, 23 October 2019 07:09 Go to previous messageGo to next message
cookiemonster
Messages: 13917
Registered: September 2008
Location: Rainy Manchester
Senior Member
when-new-form-instance fires when a form first starts up.
It fires after pre-form, once the cursor is in the first navigable field. It allows restricted built-ins, which pre-form does not.
Basically anything you want to do to the form at start-up should go there (setting defaults, messing around with the layout based on config, executing queries if you want to that straight away).

When-window-activated fires when it says.
Forms can have multiple windows.
It's useful if you want to mess about with contents of a window when it's activated.
Re: when window activate [message #677924 is a reply to message #677923] Wed, 23 October 2019 07:17 Go to previous messageGo to next message
ashag
Messages: 5
Registered: June 2018
Junior Member
what do you mean by different windows????is it mean if i have another form on the button press of 1st form???
Re: when window activate [message #677925 is a reply to message #677924] Wed, 23 October 2019 07:35 Go to previous messageGo to next message
cookiemonster
Messages: 13917
Registered: September 2008
Location: Rainy Manchester
Senior Member
Spend some time reading up on windows in the form builder help.

Have a look at the window node in form builder. You can create multiple windows and you can assign canvases to different windows.
Re: when window activate [message #677980 is a reply to message #677924] Sat, 26 October 2019 09:50 Go to previous message
Neveen2019
Messages: 13
Registered: February 2019
Junior Member
Hi

Here is a good sample of dealing with Multiple Oracle Forms Windows

Previous Topic: FRM-18108
Next Topic: Form 10g Run using local host
Goto Forum:
  


Current Time: Thu Mar 28 08:40:20 CDT 2024