Search found 15 matches

by kim
Wed Mar 27, 2019 8:33 am
Forum: Scripting
Topic: Simulator mode detection using scripting
Replies: 2
Views: 5909

Re: Simulator mode detection using scripting

Hi

Below a code I am using successfully (X2 Pro terminal, not PC)

Code: Select all

	if(System.Environment.OSVersion.Platform == PlatformID.WinCE)
				sXmlFiles = @"\Hard Disk\Parameters\";		
			else
				sXmlFiles = @"C:\Parameters\";
by kim
Tue Jan 29, 2019 1:18 am
Forum: Scripting
Topic: Change Alarm server mode by script
Replies: 1
Views: 8575

Change Alarm server mode by script

I have a project with several terminals, all are the same X2 Pro 10 (its a serial produced machine). For handling alarms we use Alarm server/client function, it works very well. We would like to have exact same project to load in each terminal (it would make life easier 8-) ) and just by parameter t...
by kim
Fri Jul 13, 2018 6:23 am
Forum: Application Development
Topic: System dialogs
Replies: 7
Views: 13796

Re: System dialogs

Hi I am interested in using MessageBoxCF (with X2 terminal), but what feature does it allow? Can I have buttons Yes/No + the timer function? And perhaps a stupid question, but how do I read if operator pressed Yes or No with this message box type? btw, it seems MessageBoxFX is not available anymore ...
by kim
Wed Feb 14, 2018 5:21 am
Forum: Controller Communication
Topic: Reject VNC
Replies: 2
Views: 7212

Re: Reject VNC

Hi Chris

Yes I am aware of the VNC function. Idea was to let operator press a real button on console to accept remote user. Or on screen to deny it.

Can you give example of how to close the port by script? Or other way.

Thank a lot!
by kim
Mon Feb 12, 2018 12:34 am
Forum: Controller Communication
Topic: Reject VNC
Replies: 2
Views: 7212

Reject VNC

Hello Using X2 Pro 10. When someone makes remote connection by VNC to the terminal, we like to show a message to the local operator that someone is accessing the terminal. No problem so far, detecting VNC establish is fixed. But is there any solution for the local operator to reject VNC connection? ...
by kim
Mon Feb 12, 2018 12:18 am
Forum: Scripting
Topic: Datagrid properties
Replies: 3
Views: 11804

Re: Datagrid properties

Hi

I didn't modify column width.
What I have found it seems header font cannot be modified :(
by kim
Tue Feb 06, 2018 1:37 am
Forum: Scripting
Topic: Datagrid properties
Replies: 3
Views: 11804

Datagrid properties

Using X2 Pro 10, with scripting: 1) In a datagrid I can change the table font using dgTable.Font = new Font("Verdana", 16, FontStyle.Regular); But I like to modify table header font as well, but doesn't know how. Any suggestions? 2) Is it possible to remove the column most to left containing row ind...
by kim
Thu Jul 27, 2017 5:43 am
Forum: Scripting
Topic: AlarmViewer - filter by script
Replies: 2
Views: 10123

Re: AlarmViewer - filter by script

Hi. I read this and it was helpful to me. I am not so skilled in scripting so I want to ask for some help. I have two questions: 1. Additional to these functions to filter one group only, I also want a button that enables all groups to be shown, or more than one group. How to do this? 2. What settin...
by kim
Sun Oct 14, 2012 1:59 pm
Forum: Application Development
Topic: Alarm counting
Replies: 1
Views: 5789

Alarm counting

Hello

Is there any way to count the number of active alarms?

I like to have a number at the alarm icon which tells user how many alarm are active.
by kim
Mon Oct 01, 2012 3:08 pm
Forum: Application Development
Topic: Mutiple languages
Replies: 3
Views: 12187

Re: Mutiple languages

Thanks, but none of those help me, still same problem :( Can it be because the default language is english 0=english 1=french 2=... ...so at "Multiple languages"/"Languages" tab/Index column, indexes start with 1=French etc but there are no "0" index? I mean should the default language '0' no be use...