Mega Search
23.2 Million


Sign Up

Make a donation  
run a trigger automatically  
News Group: comp.soft-sys.app-builder.uniface

Hi friends!

I have a form with a button.

In a detail button I have a statement message/nobeep "I am here..."

Someone knows how is possible execute this detail trigger each second, automatically?

This action needs to start after the click button...


Thanks a lot

Fabricio Venancio

Brazilian Uniface Developer
Florianópolis-SC

Vote for best question.
Score: 0  # Vote:  0
Date Posted: 27-Mar-2014, at 11:22 AM EST
From: fabricio venancio
 
Re: [Uniface-L] run a trigger automatically  
News Group: comp.soft-sys.app-builder.uniface
Am Donnerstag, 27. März 2014 22:52:06 UTC+1 schrieb rkrite:
> I think ASYNC interrupt trigger can only be triggered once per minute using $timeout in your assignment file. Someone correct me if I am wrong?
> 
> In ASYNC trigger is this...
> 
> $prompt = "MYFIELD"
> 
> macro "^DETAIL"
> 
> That is just off the top of my head.
> 
> Instead of firing detail, you may like to call some proc. After the macro instruction your proc will end.
> 
> Some other way......
> 
> If you do not require access to your app, and you can only get the $timeout to work once per minute, you could just loop and check if THIS second is greater than the PREVIOUS second then call your proc.
> 
> -- 
> 
> Ronny Krite
> 
> rkr...@gmail.com
> 
> 0433282152
> 
> 
> 
> On 28/03/2014 5:26 AM, "fabricio venancio"  wrote:
> 
> Hi friends!
> 
> 
> 
> I have a form with a button.
> 
> 
> 
> In a detail button I have a statement message/nobeep "I am here..."
> 
> 
> 
> Someone knows how is possible execute this detail trigger each second, automatically?
> 
> 
> 
> This action needs to start after the click button...
> 
> 
> 
> 
> 
> Thanks a lot
> 
> 
> 
> Fabricio Venancio
> 
> 
> 
> Brazilian Uniface Developer
> 
> Florianópolis-SC
> 
> _______________________________________________
> 
> Uniface User Group Discussion Forum
> 
> For more information: http://lists.umanitoba.ca/mailman/listinfo/uniface-l
> 
> To unsubscribe/set options: http://lists.umanitoba.ca/mailman/options/uniface-l

Instead of using the TIMEOUT, you may use UTIMER to activate the ASYNC trigger.
Then you can do whatever you want like $prompt ... macro "^detail".
UTIMER does not take care about the users inactivity, as TIMEOUT will do.

I found it's better to have a separate newinstance of UTIMER to work with. This gives you a chance to have multiple timers running in parallel.

Vote for best answer.
Score: 0  # Vote:  0
Date Posted: 28-Mar-2014, at 12:50 AM EST
From: Uli
 
Re: [Uniface-L] run a trigger automatically  
News Group: comp.soft-sys.app-builder.uniface
Vote for best answer.
Score: 0  # Vote:  0
Date Posted: 28-Mar-2014, at 8:52 AM EST
From: Ronny Krite