Welcome Guest ( Login | Register )



All times are UTC - 7 hours [ DST ]



Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: Custom Styled Objects
PostPosted: Thu Mar 01, 2012 12:55 pm 

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

Offline
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


 Profile  
 
 Post subject: Re: Custom Styled Objects
PostPosted: Thu Mar 01, 2012 3:51 pm 
User avatar

Joined: Fri Jul 15, 2011 3:21 pm
Posts: 214

Offline
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.

Attachment:
Snap 2012-03-01 at 14.49.52.jpg
Snap 2012-03-01 at 14.49.52.jpg [ 73.08 KiB | Viewed 8412 times ]


Attachments:
CustomLinearMeterBG.zip [248.13 KiB]
Downloaded 449 times

_________________
Best Regards,

Beijer Electronics, Inc.
Ron Lloyd | Applications Engineer
 Profile  
 
 Post subject: Re: Custom Styled Objects
PostPosted: Fri Mar 02, 2012 12:41 pm 

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

Offline
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?


 Profile  
 
 Post subject: Re: Custom Styled Objects
PostPosted: Fri Mar 02, 2012 10:44 pm 
User avatar

Joined: Fri Jul 15, 2011 3:21 pm
Posts: 214

Offline
Quote:
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.

Quote:
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. You can download this documentation here:
https://beijerelectronicsinc.sharefile. ... 38f6e43dcb

Quote:
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.

Quote:
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.

Quote:
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


 Profile  
 
 Post subject: Re: Custom Styled Objects
PostPosted: Fri Mar 23, 2012 4:35 pm 
User avatar

Joined: Fri Jul 15, 2011 3:21 pm
Posts: 214

Offline
See FAQ for information on creating your own Themed set of objects.
viewtopic.php?f=7&t=177

_________________
Best Regards,

Beijer Electronics, Inc.
Ron Lloyd | Applications Engineer


 Profile  
 
 Post subject: Re: Custom Styled Objects
PostPosted: Wed Apr 20, 2016 1:26 am 

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

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


 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC - 7 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: