Search found 92 matches

by Edmund
Sun Oct 20, 2013 3:07 am
Forum: Application Development
Topic: Multi Screen Projects
Replies: 2
Views: 6309

Re: Multi Screen Projects

Just like Mark says you can stretch the application across both screens and use popups (without borders to let the user change screen on the left/right monitor individuality). Script to remove the frame on a popup below (PC target only), dont have the popup as Modal namespace Neo.ApplicationFramewor...
by Edmund
Sun Oct 20, 2013 2:58 am
Forum: Scripting
Topic: Compress database.sdf
Replies: 1
Views: 5990

Re: Compress database.sdf

Well if your target platform is a panel with Windows CE (e.g. TxA, TxB, TA150) then it will be a bit harder. If I´m right there is no native support for compressing files in Windows CE / .Net Framework Compact Edition but there exists some external libraries for it. DotNetZip is one of them (http://...
by Edmund
Sun Oct 20, 2013 2:47 am
Forum: Scripting
Topic: Changing Text color based on instance id number
Replies: 6
Views: 16809

Re: Changing Text color based on instance id number

Hi! Here is a little example with changing things based on instance with scripts. The Motor_Faceplate has three instance (Motor_1, Motor_2, Motor_3). In the example we change the Name, Font Color of the Name, The Fill Color of the Name, The Motor base color and Hide the Analog Setpoint for the Motor...
by Edmund
Sat Oct 19, 2013 7:28 am
Forum: Application Development
Topic: Login/Logout pop-ups
Replies: 5
Views: 9826

Re: Login/Logout pop-ups

well, here is a super light login function anyway namespace Neo.ApplicationFramework.Generated { using System.Windows.Forms; using System; using System.Drawing; using Neo.ApplicationFramework.Tools; using Neo.ApplicationFramework.Common.Graphics.Logic; using Neo.ApplicationFramework.Controls; using ...
by Edmund
Fri Oct 18, 2013 11:27 am
Forum: Application Development
Topic: Login/Logout pop-ups
Replies: 5
Views: 9826

Re: Login/Logout pop-ups

I believe that you can get rid of the "Login Success" by creating your own custom login. void Button1_Click(System.Object sender, System.EventArgs e) { Globals.Security.Login("Administrator", "1234"); } The code above will login the administraor without any message. But calling the Globals.Security....
by Edmund
Mon Sep 02, 2013 8:16 am
Forum: Scripting
Topic: AnalogNumeric Opacity iX RunTime
Replies: 2
Views: 6514

Re: AnalogNumeric Opacity iX RunTime

Hi Joe!

If you are targeting PC for your iX-application try to access the real object by calling it with the prefix "m_".

Like

Code: Select all


m_AnalogNumeric1.Opacity = 0.1;

Opacity runs from 0 to 1.
by Edmund
Wed Aug 21, 2013 2:12 am
Forum: Application Development
Topic: Log to external database
Replies: 3
Views: 21492

Re: Log to external database

I´m no Historian expert but maybe I can point you into direction. First, what is you iX target? Panel (TxA/TxB or PC/TxC)? Second, Wonderare Historia contains several databases, one Microsoft SQL Server and one more secred High Performance database engine. You could talk directly with the SQL Server...
by Edmund
Mon Aug 12, 2013 2:53 am
Forum: Scripting
Topic: "Form form" on T21C
Replies: 2
Views: 7700

Re: "Form form" on T21C

Hi!

Probably because on the TA150 the project output is a "Windows Form Application" but on the PC-version it´s a "WPF-Application"...

Search for something like "Windows Form vs WPF" on Google and you will find more info about the difference...
by Edmund
Tue Aug 06, 2013 8:19 am
Forum: Scripting
Topic: Covert int to string
Replies: 13
Views: 21864

Re: Covert int to string

Great Göran :)

The iX tag class also includes convert/cast functions (if possible), see image below
tag_cast.png
tag_cast.png (14.15 KiB) Viewed 6733 times
by Edmund
Tue Aug 06, 2013 6:14 am
Forum: Scripting
Topic: Covert int to string
Replies: 13
Views: 21864

Re: Covert int to string

Try

To String:

Globals.Tags.RecipeName.Value = Globals.Tags.RecipeNumber.Value.ToString();

To Int

Globals.Tags.MyIntTag.Value = Convert.ToInt32("123");