Search found 9 matches
- Thu Jun 04, 2020 4:20 pm
- Forum: Scripting
- Topic: How to receive BacklightTurnedOff event
- Replies: 2
- Views: 15206
Re: How to receive BacklightTurnedOff event
We have several X2E-12HPs in our lab and are able to verify that the BacklightTurnedOff event does indeed now work as expected. Even better, our tests revealed that the touch screen now exhibits what I would call the correct behavior - onscreen buttons no longer generate click events if the screen i...
- Thu Feb 04, 2016 5:06 pm
- Forum: Scripting
- Topic: How to receive BacklightTurnedOff event
- Replies: 2
- Views: 15206
How to receive BacklightTurnedOff event
Hello, I am using a Qterm A12 panel in an outdoor environment. When the internal temperature rises above a threshold, I want to programmatically enable the screensaver, so that the backlight will turn off after 3 minutes of non-activity. This code does that, so far, so good: // Set backlight timeout...
- Thu Apr 16, 2015 4:06 pm
- Forum: Application Development
- Topic: Global objects ?
- Replies: 1
- Views: 6287
Re: Global objects ?
You can define a static class in a script module and do whatever you want by declaring static public methods and properties. The script module class will have access to the Globals namespace, so it can access tags, forms, etc.
- Wed Mar 27, 2013 8:47 am
- Forum: Hardware
- Topic: Programmatically Rebooting QTerm A12
- Replies: 1
- Views: 7557
Programmatically Rebooting QTerm A12
Is there a way to do this using script? I would like the terminal to reset when I press a button. I am using iX 2.0.
- Fri Sep 21, 2012 2:23 pm
- Forum: Scripting
- Topic: String Format Specifier
- Replies: 2
- Views: 8041
Re: String Format Specifier
Working great now, thanks
- Fri Sep 21, 2012 12:59 pm
- Forum: Scripting
- Topic: String Format Specifier
- Replies: 2
- Views: 8041
String Format Specifier
Hello, I have a tag of data type FLOAT. I want to convert the tag value to a string with two decimal places of precision. For example, value 10.12345678 would be converted to "10.12". This is what I am using: String s = String.Format("{0:0.00}", Globals.Tags.DischargeRate.Value); However, s does doe...
- Fri Aug 24, 2012 1:15 pm
- Forum: Application Development
- Topic: ListBox Horizontal ScrollBar
- Replies: 5
- Views: 11441
ListBox Horizontal ScrollBar
Hello, I am using the following code to programmatically add items to a ListBox control: string[] filePaths = Directory.GetFiles("\\FlashDrive\\Project\\Project Files", "*.pdf"); foreach (string filePath in filePaths) { myListBox.Items.Add(Path.GetFileName(filePath)); } When I add items this way, th...
- Fri Aug 24, 2012 12:55 pm
- Forum: Application Development
- Topic: PDF Viewer
- Replies: 1
- Views: 6288
PDF Viewer
Hello, My project uses the PDFViewer component. If I view a PDF and press the File Open button (button with a folder image), the Select File dialog appears with an hourglass cursor. Problem is, the cursor NEVER goes away, until I scroll the contents of the Select File treeview. Seems like the treevi...
- Thu Mar 08, 2012 10:43 am
- Forum: Application Development
- Topic: On-Screen Numeric Keyboard
- Replies: 4
- Views: 11868
On-Screen Numeric Keyboard
Hello, I have an iX 1.3 project running on the QTERM-A12 touch screen platform. The default on-screen numeric keyboard's buttons are a little small for gloved hands or outdoor viewing. I was able to edit the file "numeric.kbl" and make the keyboard container and its buttons bigger. However, the labe...