Search found 4 matches

by rantanplan
Fri Mar 16, 2012 2:24 am
Forum: Scripting
Topic: Where to put delegate in Script?
Replies: 8
Views: 17895

Re: Where to put delegate in Script?

Thanks Skylar and Ron for your help, I'm still working on it!

Mike
by rantanplan
Thu Mar 15, 2012 1:06 am
Forum: Scripting
Topic: Where to put delegate in Script?
Replies: 8
Views: 17895

Re: Where to put delegate in Script?

Skylar, Just for the sake of argument, every screen requires a timer with same interval, but each screen has a different task. And, I declare a delegate: public delegate void TimerHandle(); That Timer would run through the process. Therefore, I create TimerProcess script module: public partial class...
by rantanplan
Tue Mar 13, 2012 7:24 pm
Forum: Scripting
Topic: Where to put delegate in Script?
Replies: 8
Views: 17895

Re: Where to put delegate in Script?

Thanks Henrik and Skylar,

Actually, I want to create Timer in module script and this timer will be the tick to scan all event in program, and in Timer Event Handler, I will call function of each seperate screen. So, I don't know whether it's feasible to do that without delegate.

Mike
by rantanplan
Tue Mar 13, 2012 3:52 am
Forum: Scripting
Topic: Where to put delegate in Script?
Replies: 8
Views: 17895

Where to put delegate in Script?

Dear, It's very first time for me to use iX Developer Script and it really confusing me where to put delegate declare. In my opinion, iX Developer divide every object into many class, and user just add small script into every event handler. So I couldn't found Main program in iX Developer. Thanks, M...