|
Re: Object Libraries [message #170477 is a reply to message #170463] |
Thu, 04 May 2006 00:18 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
![](/forum/images/custom_avatars/67467.jpg) |
djmartin
Messages: 10181 Registered: March 2005 Location: Surges Bay TAS Australia
|
Senior Member Account Moderator |
|
|
Create a reference form by dragging your two items to a new form. Remember, you must never drag them TO this form again. Create an object group in this reference form and add your two 'things' to this object group. Now drag the object group to a NEW object library and save it OVER the existing object library. From now on you will maintain the things in the reference form, then drag the object group to which they belong to a new object library and replace the old one.
For the form that you have written you should consider dragging the object group from the object library and using the new definitions. This is a bit messy as you will end up with two copies of each inherited thing. The best way is to open the form, rename the current objects, drag the object group in, then change the items that use the old object names to the new object names, then delete the old objects.
It sounds confusing but it is better to do it now then when you have many more forms.
David
PS Experiment by adding building visual attributes that are based on another visual attribute object. You will see that this hierarchy is maintained if you use the method described above. But if you drag them out of an object library, make a change, and drag them back you will lose the hierarchy of attributes. Try a base attribute set (arial), then make some based on it but 'red', then some based on the red guys but bigger font. Drag them out to a blank form, change the 'arial' to 'courier' and drag them back then recompile a form using the object library and you will see that the 'courier' does not 'flow up' the hierarchy. The 'hierarchy' was broken when you dragged the object group or the objects separately from the ojbect library to the new form and then back again. THIS MAY HAVE BEEN FIXED IN 10g but it certainly happened in 9i.
[Updated on: Thu, 04 May 2006 00:24] Report message to a moderator
|
|
|
|
Re: Object Libraries [message #170503 is a reply to message #170492] |
Thu, 04 May 2006 01:49 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) |
![](/forum/images/custom_avatars/67467.jpg) |
djmartin
Messages: 10181 Registered: March 2005 Location: Surges Bay TAS Australia
|
Senior Member Account Moderator |
|
|
A reference form can support multiple object libraries.
Your method will LOSE any attribute inheritance obtained from another object.
It is EASIER to drag ONE object group than 450 separate objects from a reference form that contains 800 addressable components.
David
|
|
|