iX Talk
http://beijerinc.com/support/ix/forum/

How to create a component object library.
http://beijerinc.com/support/ix/forum/viewtopic.php?f=7&t=177
Page 1 of 1

Author:  Ron L. [ Fri Mar 23, 2012 4:17 pm ]
Post subject:  How to create a component object library.

This tutorial will be addressing how to create a custom "Component Library" group that can be distributed to other developers with pre-configured object settings or graphics. For this example, I will create set of objects and graphics with a St. Patrick's theme.

Create a new category. Right click on "ComponentLibrary" and select "New".
Attachment:
Snap 2012-03-23 at 15.30.55.jpg
Snap 2012-03-23 at 15.30.55.jpg [ 26.35 KiB | Viewed 9093 times ]


Rename the category. Select the new category, right click and select "Rename".
Attachment:
Snap 2012-03-23 at 15.33.55.jpg
Snap 2012-03-23 at 15.33.55.jpg [ 20.44 KiB | Viewed 9093 times ]


For this tutorial, I've created a screen with a set of themed objects.
Attachment:
Snap 2012-03-23 at 15.51.26.jpg
Snap 2012-03-23 at 15.51.26.jpg [ 42.78 KiB | Viewed 9093 times ]


Place a single object into the new component library group. Select the Image object, hold down the "Ctrl" key on your keyboard and drag to the "Component Library" area.
Attachment:
Snap 2012-03-23 at 16.25.05.jpg
Snap 2012-03-23 at 16.25.05.jpg [ 57.88 KiB | Viewed 9091 times ]


The new object in your component group will retain all property settings including tags and actions.

Put a grouped set of objects into the library. Select all objects on the screen, right click and select Group in the menu.
Attachment:
Snap 2012-03-23 at 16.00.53.jpg
Snap 2012-03-23 at 16.00.53.jpg [ 52.79 KiB | Viewed 9093 times ]


Drag this group into the component library.
Attachment:
Snap 2012-03-23 at 16.02.30.jpg
Snap 2012-03-23 at 16.02.30.jpg [ 17.81 KiB | Viewed 9093 times ]


Placed selected script into the component library.
Attachment:
Snap 2012-03-23 at 16.05.48.jpg
Snap 2012-03-23 at 16.05.48.jpg [ 43.7 KiB | Viewed 9093 times ]


To distribute your library files, go to "C:\Documents and Settings\All Users\Documents\Beijer Electronics AB\iX Developer 2\ComponentLibrary\" and copy the directory of your new group to be placed at the same location on another developers PC.
Attachment:
Snap 2012-03-23 at 16.12.48.jpg
Snap 2012-03-23 at 16.12.48.jpg [ 64.61 KiB | Viewed 9093 times ]

Author:  Ron L. [ Tue May 15, 2012 3:56 pm ]
Post subject:  Re: How to create a component object library.

Component group files.

Attachments:
St. Patrick Group.zip [57.87 KiB]
Downloaded 734 times

Page 1 of 1 All times are UTC - 7 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/