Home » Developer & Programmer » Forms » How to customize specific canvas to run as default field during run time? (Oracle Form builder 6.0)
icon5.gif  How to customize specific canvas to run as default field during run time? [message #359424] Sat, 15 November 2008 18:33 Go to next message
setsuna
Messages: 32
Registered: November 2008
Member
Hi everyone,

I am novice in oracle form builder and been using it for developing applications for a month.Recently, I faced a problem while using the form builder. I was modifying one of my existing file (let's call it 'a') by removing some features previously added in it as well as to revamp the old GUI in the main canvas for a new look (let's call this canvas- canvas1).

I had previously made a new canvas in another fmb file and I wanted to use it on canvas1. Thus, to save time, i hust delete all items and GUI objects in canvas1 and pasted a copied items and GUI objects (from the new canvas) into it.

However, after I compiled 'a' and run the file, my starting field (runtime) is canvas2 instead of canvas1. I do not know why and I hope any experts out there could give me an insight on what's going on.

By the way, I would like to ask if there is any shortcut to 'tweak' the file so it will display canvas1 again? Iwould be nice if so, as I need not backtrack to my previous version again(Its very time consuming if so...)

Thanks you very much

Setsuna Smile
Re: How to customize specific canvas to run as default field during run time? [message #359437 is a reply to message #359424] Sun, 16 November 2008 03:33 Go to previous messageGo to next message
Littlefoot
Messages: 21821
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
Form_a contains 'canvas1' and 'canvas2'
Another_form contains 'some_canvas'

- You have deleted all objects on 'canvas1' in 'form_a'
- You have then copied all objects on 'some_canvas' in 'another_form' and
- pasted them onto the 'canvas1' in 'form_a'
- recompiled 'form_a', run it. Focus is now on some item on 'canvas2' (instead of 'canvas1').

Right?

As far as I can tell, it is because the first navigable item in the 'form_a' is located on 'canvas2'. If you want to change that order, go to Object Navigator, open Data Blocks node and:
  • rearrange blocks' order (if necessary)
  • rearrange items' order (most probably) by dragging an item and dropping it on a new location (one above the other)
Also, check what is the Window's 'Primary Canvas' property set to (check Help to see what it means).
icon14.gif  Re: How to customize specific canvas to run as default field during run time? [message #359510 is a reply to message #359437] Mon, 17 November 2008 00:23 Go to previous message
setsuna
Messages: 32
Registered: November 2008
Member
Thank you for your suggestions and it really helps! Smile

You really make my day and I definitely learned something from you! Laughing

Thanks a lot
Setsuna
Previous Topic: Why no body answer me? Is it difficult Q?
Next Topic: Oracle Application Server et al (merged)
Goto Forum:
  


Current Time: Sat Nov 02 12:26:25 CDT 2024