Search found 92 matches

by Edmund
Fri Mar 15, 2013 3:26 am
Forum: Scripting
Topic: Edit control properties by string name
Replies: 6
Views: 13837

Re: Edit control properties by string name

Hello Chris! Not completely sure of what control you mean with TextControlCFAdapter, but maybe you can make something out of this. Here is a little example I put together. I the screen there is three buttons. Button 1 will toggle the visibility of the two other. Button 2 is hidden at screen opened e...
by Edmund
Fri Mar 15, 2013 3:15 am
Forum: Scripting
Topic: Data type conversion
Replies: 4
Views: 8913

Re: Data type conversion

Great :)
by Edmund
Thu Mar 14, 2013 4:39 pm
Forum: Scripting
Topic: Data type conversion
Replies: 4
Views: 8913

Re: Data type conversion

Maybe this can help you. Here you convert a string to the ASCII hex values. void Button1_Click(System.Object sender, System.EventArgs e) { AnalogNumeric1.Text = ASCIIStringToHex("Beijer"); } public string ASCIIStringToHex(string ascii) { string hex = ""; char[] chars = ascii.ToCharArray(); foreach (...
by Edmund
Thu Mar 14, 2013 1:43 am
Forum: Application Development
Topic: disabling the Title Bar on Popup Screens
Replies: 8
Views: 13517

Re: disabling the Title Bar on Popup Screens

mmarchese wrote:Ah, I see. So we're talking about the title bar on the emulator window within the iX developer rather than something on your actual HMI.

Well this depends if your build is for a Panel or a PC.

iX is design to run on both so some settings is panel relevant and some a pc relevant.
by Edmund
Wed Mar 13, 2013 2:24 pm
Forum: Application Development
Topic: disabling the Title Bar on Popup Screens
Replies: 8
Views: 13517

Re: disabling the Title Bar on Popup Screens

Here is two screen shots from a build to a T10A.

First with the option "Title Bar" selected.
Titlebar_1.png
Titlebar_1.png (9.69 KiB) Viewed 13486 times
Second with "No Title Bar" option selected.
Titlebar_2.png
Titlebar_2.png (8.42 KiB) Viewed 13486 times
There you have the difference...

Best Regards
by Edmund
Wed Mar 13, 2013 2:37 am
Forum: Application Development
Topic: disabling the Title Bar on Popup Screens
Replies: 8
Views: 13517

Re: disabling the Title Bar on Popup Screens

It will only remove the Title bar from the Main Window/Form (that´s showing your "normal" screens), when you create a popup it will create a new window and it´s not affected by this setting...
by Edmund
Tue Mar 12, 2013 9:45 am
Forum: Scripting
Topic: External program check
Replies: 15
Views: 30344

Re: External program check

What is your target platform (Panel or PC/TxC)? Here is a PC/TxC solution 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.ApplicationFr...
by Edmund
Thu Feb 28, 2013 8:56 am
Forum: Application Development
Topic: alarm server intialize
Replies: 3
Views: 6577

Re: alarm server intialize

Try set the texts from a scriptmodule and the created function. Below is a scriptmodule called AlarmServerInitialize, when it´s created (at startup) it sets the alarmtext for alarm1. namespace Neo.ApplicationFramework.Generated { using System.Windows.Forms; using System; using System.Drawing; using ...
by Edmund
Mon Feb 25, 2013 8:52 am
Forum: Scripting
Topic: How to hold time momentory with IX Developer
Replies: 2
Views: 6476

Re: How to hold time momentory with IX Developer

Try this.

In the Project -> Settings there is a tab called "Mouse/Touch Input Delay".
The default time is 2000ms.

Create a button and enable "DelayMouseInput" in the Property Grid for that button.
by Edmund
Mon Feb 25, 2013 8:46 am
Forum: Scripting
Topic: Always Active / .Read()
Replies: 1
Views: 5717

Re: Always Active / .Read()

Once I had a project with a script that was running every minute and calculated some values. It was using 3 tag values, and everything works just as it should until the user navigated to a page were the tags was not in any use. iX will only read the tags if they are in use in the native controls (no...