Search found 13 matches: backgroundadd

Return to advanced search

Re: funciones de FWH y Harbour en un archivo .txt

__clsVerify(<nClassH>)-><acBrokenMessages>|Nil __objAddData(<oObject>,<cDataName>)->oObject __objAddInline(<oObject>,<cInlineName>,<bInline>)->oObject __objAddMethod(<oObject>,<cMethodName>,<nFuncPtr>)->oObject __objDelInline(&l...
by carlos vargas
Sat Oct 21, 2017 8:44 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: funciones de FWH y Harbour en un archivo .txt
Replies: 7
Views: 5627

Re: funciones de FWH y Harbour en un archivo .txt

__clsVerify __objAddData __objAddInline __objAddMethod __objDelInline __objDelMethod __objDelMethod __objDerivedFrom __objGetMethodList __objGetValueList __objModInline __objModMethod __objSetValueList __Pack __Run __Zap AAdd Abs AChoice AClone ACopy ACos AddASCII AddMonth ADel ADir ADSBlob2File ADS...
by carlos vargas
Sat Oct 21, 2017 8:43 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: funciones de FWH y Harbour en un archivo .txt
Replies: 7
Views: 5627

Re: Codejock Calendar Samples?

Enrico, Here you can review Harbour threads management great examples: https://github.com/harbour/core/tree/master/tests/mt Surely there are some that are very similar. I wonder if xharbour supports them. I think that we could implement the function HB_BACKGROUNDADD() using Harbour functions...
by Antonio Linares
Sat May 25, 2013 7:37 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Codejock Calendar Samples?
Replies: 116
Views: 46408

Re: Codejock Calendar Samples?

Enrico, Are there any examples of use of function HB_BACKGROUNDADD() ? It looks to me as a threads manager. Do you use it on your apps ? Yes, I use it to let the system refresh some wait animations. This is the syntax: HB_BackGroundAdd( <bAction>, [<nMillisecs>], [<lA...
by Enrico Maria Giordano
Sat May 25, 2013 2:01 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Codejock Calendar Samples?
Replies: 116
Views: 46408

Re: Codejock Calendar Samples?

Enrico,

Are there any examples of use of function HB_BACKGROUNDADD() ? It looks to me as a threads manager.

Do you use it on your apps ?
by Antonio Linares
Sat May 25, 2013 1:56 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Codejock Calendar Samples?
Replies: 116
Views: 46408

Re: Codejock Calendar Samples?

Massimo, Thats a very clever desition :-) Harbour is simply great. xHarbour was usefull for pushing Harbour to evolve and improve. But now there is no technical reason to continue using it. I tried to use Harbour, you know. But I gave up due to the incompatibilities. As an example, HB_BACKGROUNDADD...
by Enrico Maria Giordano
Sat May 25, 2013 12:17 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Codejock Calendar Samples?
Replies: 116
Views: 46408

Re: SET BACKGROUND TASKS ON command

It activates the background tasks that you can assign using HB_BACKGROUNDADD() and related functions.

EMG
by Enrico Maria Giordano
Mon Apr 01, 2013 8:56 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: SET BACKGROUND TASKS ON command
Replies: 10
Views: 1627

Re: Refresch screen via network

Reinaldo, I have look to your example and add a trigger to the database that increase a field in a table (same field that I have used before that whas checked by te function called by the timer), each time something changed in the database. Then I use the 'hb_BackGroundAdd' function to call by funct...
by Marc Vanzegbroeck
Wed Jan 18, 2012 7:11 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Refresch screen via network
Replies: 14
Views: 3396

Re: Timers and loops

I am testing BACKGROUND TASK without result. function aux_con ( dIni, dFin, cID ) LOCAL nTask HB_IdleAdd( {|| HB_BackGroundRun() } ) nTask := HB_BackGroundAdd( {|| ShowTime( ) }, 1000 ) SET BACKGROUND TASKS ON ConWinHttp(dIni, dFin, cID ) HB_BackGroundDel( nTask ) RETURN NIL FUNCTION ShowTime( ) ale...
by Manuel Valdenebro
Sun May 30, 2010 7:15 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Timers and loops
Replies: 52
Views: 11275

Re: Timers and loops

Enrico Maria Giordano wrote:Dear friends, it looks like I solved the problem using HB_BACKGROUNDADD() function. Thanks to Frances A. Padilla for the idea.

EMG


EMG,

Thanks for the credit. anyway we all share ideas here.

Dont forget this line on your app "SET BACKGROUND TASKS ON"


Regards,
FAP
by fraxzi
Sat Feb 20, 2010 2:03 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Timers and loops
Replies: 52
Views: 11275

Re: Timers and loops

Dear EMG, Is this function related to Multi Threading ?. No. Is this a Harbour function or xHarbour. xHarbour From where can I read more info about this function ? From the CVS (bkgtsks.txt): /* * $Id: bkgtsks.txt,v 1.3 2008/01/27 23:14:42 fsgiudice Exp $ */ /* * The following parts are Copyright o...
by Enrico Maria Giordano
Fri Feb 19, 2010 9:43 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Timers and loops
Replies: 52
Views: 11275

Re: Timers and loops

Dear friends, it looks like I solved the problem using HB_BACKGROUNDADD() function. Thanks to Frances A. Padilla for the idea.

EMG
by Enrico Maria Giordano
Fri Feb 19, 2010 9:19 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Timers and loops
Replies: 52
Views: 11275

Re: Timer not running if FW app not in-focus

As far as I know, the correct syntax for HB_BackGroundAdd() is

Code: Select all  Expand view

nDashTask := HB_BackGroundAdd( { @uDashUpdate() }, 3000 )


or

Code: Select all  Expand view

nDashTask := HB_BackGroundAdd( { "uDashUpdate" }, 3000 )


EMG
by Enrico Maria Giordano
Fri Feb 19, 2010 8:09 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Timer not running if FW app not in-focus
Replies: 4
Views: 659

Return to advanced search