Search found 19 matches

by ladin79
Thu Apr 22, 2021 6:19 am
Forum: Scripting
Topic: Password expiration
Replies: 2
Views: 7727

Re: Password expiration

Is exactly what I need, hope it works also with mine version.

Thanks a lot for your suggestion!
by ladin79
Fri Apr 16, 2021 10:24 am
Forum: Scripting
Topic: Password expiration
Replies: 2
Views: 7727

Password expiration

Good morning,

a customer asked to expire user passwords every 3 months and force machine operators to change it.
The iX version in use is the 2.15.5751.0
Is there a function for this? Could it be done via script?

Thanks for help!
by ladin79
Thu Jan 11, 2018 9:29 am
Forum: Application Development
Topic: How can I have access to background screen objects?
Replies: 9
Views: 20562

Re: How can I have access to background screen objects?

Hi,
thanks for the answer, the problem is that if i pass base instead off this the compiler give this error:
“Use of keyword ‘base’ is not valid in this context”
I can’t understand why.
by ladin79
Thu Jan 11, 2018 3:25 am
Forum: Application Development
Topic: How can I have access to background screen objects?
Replies: 9
Views: 20562

Re: How can I have access to background screen objects?

Hi, I am using the following code placed in a scriptmodule called in a screen to access all his button controls: public static void MyMethod(object screen) { System.Collections.Generic.List<Neo.ApplicationFramework.Controls.Button> buttons = GetLogicalChildCollectionVis<Neo.ApplicationFramework.Cont...
by ladin79
Thu Jun 01, 2017 3:48 am
Forum: Scripting
Topic: How to Get Tag Value using string to Tag Function ?
Replies: 5
Views: 22712

Re: How to Get Tag Value using string to Tag Function ?

Good morning,
I tried to use the ValueChange event of a LightweightTag in a script but it does not seem to work, someone has already had some experience on it?
Thank you.
by ladin79
Mon Feb 13, 2017 2:28 am
Forum: Scripting
Topic: Generic left mouse down click
Replies: 1
Views: 7252

Generic left mouse down click

Hi,
Could someone suggest a way to capture the "generic" left mouse down event, not the event related to an object but simply an event that will be fire every time the left mouse button will be clicked.

Thanks.
by ladin79
Thu Jun 16, 2016 8:38 am
Forum: Scripting
Topic: add runtime button or shape
Replies: 2
Views: 11425

Re: add runtime button or shape

Hi,
it is possible to have a simple example of how to add a control (PictureBox) for PC targeting?
Thanks in advance!
by ladin79
Fri Oct 09, 2015 3:26 am
Forum: Scripting
Topic: copy a "Tag" array into a "C#" array
Replies: 6
Views: 20125

Re: copy a "Tag" array into a "C#" array

Thanks for your help Greg, it works great!
I ask one more thing, if I can,
how can I create an event that will fire whenever a GlobalDataItam changes of value?
Thanks a lot in advance!
by ladin79
Tue Oct 06, 2015 2:55 am
Forum: Scripting
Topic: copy a "Tag" array into a "C#" array
Replies: 6
Views: 20125

Re: copy a "Tag" array into a "C#" array

Thanks a lot, that was the solution I was looking for. About your previous post: VariantValue [] = new CArray VariantValue [Globals.Tags.GlobalDataItems.Count]; int index = 0; foreach (GlobalDataItem gdi in Globals.Tags.GlobalDataItems) { CArray [index ++] = gdi.Value; } can you do the same but only...
by ladin79
Thu Oct 01, 2015 12:51 am
Forum: Scripting
Topic: copy a "Tag" array into a "C#" array
Replies: 6
Views: 20125

Re: copy a "Tag" array into a "C#" array

What I try to do, if possible, is to copy all the values contained in a Tag array in a C# array, so declared: float[] LocalFormArray = new float[8]; in just one code line. For the moment I do so: for (int i = 0; i < 8; i++) { LocalFormArray = Globals.Tags.TagArray .Value; } TagArrayDeclaration.png