Search found 18 matches
- Sun May 19, 2019 1:54 pm
- Forum: Scripting
- Topic: Touch List Box
- Replies: 3
- Views: 15308
Re: Touch List Box
Tried this, and just again. The selected item is null.
- Sat Mar 30, 2019 4:42 am
- Forum: Application Development
- Topic: Undo Bug?
- Replies: 4
- Views: 8295
Re: Undo Bug?
Having the same issue.
Undo seems to randomly undo or delete stuff. It is very annoying as redo doesn't seem to work at all.
Undo seems to randomly undo or delete stuff. It is very annoying as redo doesn't seem to work at all.
- Fri Mar 29, 2019 9:27 am
- Forum: Scripting
- Topic: Touch List Box
- Replies: 3
- Views: 15308
Touch List Box
Been mocking around with the Touch List Box HMI control all day now, trying to populate it from script and get the currently selected item back. After a big dive into the classes these two helpers is what I came up with. namespace Neo.ApplicationFramework.Generated { using System.Windows.Forms; usin...
- Wed Mar 27, 2019 3:26 am
- Forum: Scripting
- Topic: Script user login
- Replies: 1
- Views: 5267
Script user login
Having a problem I'm finding really hard to debug. In a script module, I'm using Globals.Security.Login() to switch between users and switch to the application default window on successfull login. Sometimes though, I'm getting this exception "The calling thread cannot access this object because a di...
- Tue Jul 05, 2016 8:51 am
- Forum: Application Development
- Topic: How to check USB keydisk is inserted?
- Replies: 3
- Views: 13912
Re: How to check USB keydisk is inserted?
Try
Works on a T7A
Code: Select all
// Check if a USB drive is present.
bool UsbPresent = Directory.Exists("\\FlashDrive");
// Check is a SD Card is present.
bool SDCardPresent = Directory.Exists("\\Storage Card");
- Tue Jan 26, 2016 8:53 am
- Forum: Dialog
- Topic: Jump between screens depending on a variable.
- Replies: 1
- Views: 14710
Re: Jump between screens depending on a variable.
Try 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 Neo.ApplicationFramework.Interfaces; using Neo...
- Mon Nov 09, 2015 7:40 am
- Forum: Scripting
- Topic: Print report on tag change
- Replies: 1
- Views: 8997
Re: Print report on tag change
Try with
Code: Select all
Globals.Reports.BatchReport1.Print();
- Fri Oct 30, 2015 10:01 am
- Forum: Scripting
- Topic: transfer TouchComboBox Items to Listbox via script
- Replies: 1
- Views: 10248
Re: transfer TouchComboBox Items to Listbox via script
My experience says that you cant. Not with the "Touch" controls as you can't acces the items or add new items at runtime. (Makes them a little useless) You can do it if you use the alternative windows form controls "ComboBox" and "ListBox" also found by default in iX. Using a foreach as the controls...
- Thu Oct 22, 2015 12:53 am
- Forum: Application Development
- Topic: Reports
- Replies: 1
- Views: 8297
Re: Reports
Found the problem.
Was querying a data logger in the excel template that did not exist (typo, lower case "l" really looks a lot like upper case "I" ).
Would be nice if this throws an exception instead of just write "Saving Report" and then nothing.
Was querying a data logger in the excel template that did not exist (typo, lower case "l" really looks a lot like upper case "I" ).
Would be nice if this throws an exception instead of just write "Saving Report" and then nothing.
- Mon Oct 19, 2015 1:18 pm
- Forum: Application Development
- Topic: Reports
- Replies: 1
- Views: 8297
Reports
Hello I'm working on a project for PC target where I need to generate a report. Untill a few days ago this worked very well. Now I'm not getting anything. On the screen I'm getting the "Saving Report" message but the report does not exist in the target folder. Seems like I've been trying everything....