Custom Styled Objects

Discussion of application development using iX Developer, including but not limited to getting started, using the functions tab, properties, objects and installation.
Post Reply
bennanio
Posts: 14
Joined: Thu Mar 01, 2012 11:48 am

Custom Styled Objects

Post by bennanio »

Hi, has anyone else done this or have any guidance on how to go about it? I think just creating a new style would do it, I'm not motivated to create my own objects. I don't mean creating a new quick style, I'm looking to create my own style group to totally change how an object looks. I can't find any references in the documentation for modifying styles other than the quick styles. It's pretty easy to make a button look however I want but, for instance, I want to use my own version of a CircularMeter that functions the same but looks nothing like the available choices. I don't really want to create a whole new control etc. for something that already exists. I'm looking for a way to just take the existing control and make it look different.
-Omar

User avatar
Ron L.
Posts: 214
Joined: Fri Jul 15, 2011 3:21 pm

Re: Custom Styled Objects

Post by Ron L. »

Under the "General" tab of the LinearMeter object are a number of different styles to select from such as Chrome, Eclipse and Vintage, if these options combined with the "Quick Styles" in the "Home" tab, do not give you the appearance you're looking for there is another option.

You could import your own background image and place a transparent LinearMeter object in from of the custom image. See attached example.
Snap 2012-03-01 at 14.49.52.jpg
Snap 2012-03-01 at 14.49.52.jpg (73.08 KiB) Viewed 19261 times
Attachments
CustomLinearMeterBG.zip
(248.13 KiB) Downloaded 1180 times
Best Regards,

Beijer Electronics, Inc.
Ron Lloyd | Applications Engineer

bennanio
Posts: 14
Joined: Thu Mar 01, 2012 11:48 am

Re: Custom Styled Objects

Post by bennanio »

Is there a way to create my own style though? I see how this works, but it would still be much better to just create my own. If I do everything this way, I have to pre-render a set of fixed size widgets and then my developers have to take ~1.5x as long setting up each object. There's no concept of object grouping, custom library, or anything like that so re-use becomes a little less friendly. Not to mention there's also no alignment controls so every instance has to be carefully placed to make sure the real widget aligns with the background image properly. Where-as if there was a way to just add in my own companies style template then everything works nice and easy. My intent is to make the entire interface have a uniform look & feel that's unique to my company. It's way easier to achieve this if I can create my own style than having to individually render each piece as a static image. My minor understanding is that these are wpf objects, is there a place where I could put in my own to augment the list of options?

User avatar
Ron L.
Posts: 214
Joined: Fri Jul 15, 2011 3:21 pm

Re: Custom Styled Objects

Post by Ron L. »

Is there a way to create my own style though?
With the objects included with iX Developer there is not a tool or method to configure them to have a custom style (theme) beyond what we've already included.
I see how this works, but it would still be much better to just create my own.
We have a tutorial on creating your own ".NET" controls so you might be able to find a 3rd party control for the ".NET Compact Framework 3.5" or create your own controls to use in iX Developer. The Documentation can be found in iX Developer by pressing F1 from a graphics screen and searching the help file for WPF User Controls.
Where-as if there was a way to just add in my own companies style template then everything works nice and easy.
This is a request that I've had on the top of my list for a while. I would call it a theme support.
My minor understanding is that these are wpf objects
If your doing a PC project, then they are using WPF. If you are targeting any of the iX Panels such as the QTERM-A7 or iX Panel T7A, those do not support WPF. Windows XP or Windows 7 as the underlying operating system is required for WPF. The tutorial link in the post has further explanation on this because it effects how you create custom controls.
is there a place where I could put in my own to augment the list of options?
I'm not sure exactly what you're asking here? If you haven't answered this question,then please further clarify. Thanks!
Best Regards,

Beijer Electronics, Inc.
Ron Lloyd | Applications Engineer

User avatar
Ron L.
Posts: 214
Joined: Fri Jul 15, 2011 3:21 pm

Re: Custom Styled Objects

Post by Ron L. »

See FAQ for information on creating your own Themed set of objects.
http://ixtalk.beijerelectronics.com/vie ... ?f=7&t=177
Best Regards,

Beijer Electronics, Inc.
Ron Lloyd | Applications Engineer

Franswa
Posts: 6
Joined: Sun Feb 07, 2016 1:39 pm

Re: Custom Styled Objects

Post by Franswa »

Hello!
Is it possible to change the max value of a circularmeter and the values of low area with a tag?

Post Reply