Search found 5 matches

by Lars
Wed Feb 22, 2017 3:58 am
Forum: Application Development
Topic: Security: Auto log out: Inactivity Period
Replies: 1
Views: 6220

Re: Security: Auto log out: Inactivity Period

As fas as I know its not possible. But here's a small example how you can do your own log out function with your own tag for seconds before auto logout. It uses the mouse position, and that works even if you dont have a mouse attached. private static System.Windows.Forms.Timer _timer; private int _m...
by Lars
Fri Oct 28, 2016 6:05 am
Forum: Application Development
Topic: Audit Trail
Replies: 2
Views: 12748

Re: Audit Trail

Good afternoon,

This script line makes an Audit trail post with your own choice of message, description, and username (can be different from the current user logged in).

Neo.ApplicationFramework.Common.RuntimeGlobalsBase.AuditTrailService.LogMessage("your message", "your description", "your user");
by Lars
Fri Jun 17, 2016 7:23 am
Forum: Application Development
Topic: Internal SQLite communication
Replies: 3
Views: 21246

Re: Internal SQLite communication

You can use the iX Api to read from the iX SQLite or SQL Server CE (This works from iX 2.20) Here is an example of a scriptmodule. namespace Neo.ApplicationFramework.Generated { using System.Data; using Core.Api.Service; using Neo.ApplicationFramework.Interfaces.Storage; public partial class ScriptM...
by Lars
Fri Jun 17, 2016 7:01 am
Forum: Scripting
Topic: Set color of checkbox text via script?
Replies: 1
Views: 11951

Re: Set color of checkbox text via script?

If you have a checkbox named CheckBox perhaps these examples of lines would help you?

CheckBox.FontColor = System.Drawing.Color.Cornsilk;

CheckBox.FontColor = System.Drawing.Color.FromArgb(100,50,45); // Red, Green,Blue
by Lars
Wed Apr 13, 2016 6:07 am
Forum: Application Development
Topic: ix developer 2.20 missing type in Neo.ApplicationFramework
Replies: 2
Views: 10395

Re: ix developer 2.20 missing type in Neo.ApplicationFramewo

Try adding this line to your scriptmodule
using Core.Api.Service;