Search found 201 matches: timeout

Return to advanced search

Re: Parameter for Timeout

hi,
karinha wrote:see if it helps:

YES, your Sample work in right Direction. :D

instead of Screen-Save it should "close" WINDOWS / DIALOG and DBF if USED()
Thx for Idea, now i can work in that Direction
by Jimmy
Thu Sep 21, 2023 3:31 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Parameter for Timeout
Replies: 17
Views: 885

Re: Parameter for Timeout

hi,
hebert_j_vargas wrote:I think you're looking for this function in harbour hb_idle_add( bBlock )

thx for Answer.

i have Problem with "Console" App ... it does not show anything on Screen ... :(
have try REQUEST HB_GT_WIN_DEFAULT but got "unknown Function" ...
by Jimmy
Thu Sep 21, 2023 3:29 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Parameter for Timeout
Replies: 17
Views: 885

Re: Parameter for Timeout

Jimmy, see if it helps: // C:\FWH..\SAMPLES\SCREENSA.PRG// How to create a screensaver that will be executed when a GET is not used for some time#include "FiveWin.ch"static nTime := 0function Main()   local oDlg, oSay, oGet, cTest := Space( 10 )   DEFINE...
by karinha
Wed Sep 20, 2023 4:16 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Parameter for Timeout
Replies: 17
Views: 885

Re: Parameter for Timeout

Hi Jimmy, I think you're looking for this function in harbour hb_idle_add( bBlock ) PROCEDURE Main()   CLS   ? "DEFAULT IDLEREPEAT =", Set( _SET_IDLEREPEAT )   ?   ? "Idle Block should be displayed multiple times until key or 10 seconds elapsed!"   ? "Press a...
by hebert_j_vargas
Wed Sep 20, 2023 3:52 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Parameter for Timeout
Replies: 17
Views: 885

Re: Parameter for Timeout

... Upload Sample show. that CODE only work with Xbase++ ... i have NO harbour Sample (yet) --- Windows Screen-Saver or Energy.Saving have a "Timeout" like i want to have in my harbour App Xbase++ CAN use 4th Parameter for "Timeout" but HMG or Fivewin / harbour have NO Equivalent ...
by Jimmy
Wed Sep 20, 2023 2:54 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Parameter for Timeout
Replies: 17
Views: 885

Re: Parameter for Timeout

Holá, Jimmy, make a COMPLETE EXAMPLE with all the FUNCTIONS, your way of programming is very complex, and I think you mix another LIB with FIVEWIN. It's very difficult to understand you. Jimmy, haz un EJEMPLO COMPLETO con todas las FUNCIONES, tu forma de programar es muy compleja, y creo que mezclas...
by karinha
Wed Sep 20, 2023 1:16 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Parameter for Timeout
Replies: 17
Views: 885

Re: Parameter for Timeout

hi, Thx for Answer. i do not have Problem to write CODE for DoCloseWindowAndDBF() my "Problem" is to get a "Timeout" which will "activate" call of DoCloseWindowAndDBF() when "Timeout" --- HMG use DOEVENTS which "seem" me equivalent to ...
by Jimmy
Wed Sep 20, 2023 10:49 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Parameter for Timeout
Replies: 17
Views: 885

Re: Parameter for Timeout

PROCEDURE DoCloseWindowAndDBF()   IF USED()      nRecordWork := RECNO()   // remember last work      GOTO( nRecordWork )       CLOSE( cAlias ) // Name ALIAS()      // oDlg:End() /...
by karinha
Mon Sep 18, 2023 8:26 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Parameter for Timeout
Replies: 17
Views: 885

Re: Parameter for Timeout

... last work      CLOSE   ENDIF   lExit := .T.                // Field wide STATICRETURN --- AppEvent() is like ACTIVATE and 4th Parameter is for TIMEOUT AppEvent() get Events when Keyboard "input" or Mouse move or other Action if used 4th Parameter of AppEvent it include "Timeout" ...
by Jimmy
Mon Sep 18, 2023 8:06 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Parameter for Timeout
Replies: 17
Views: 885

Re: Parameter for Timeout

DoCloseWindowAndDBF() ??? I don't understand? You show a piece of program. There's no way to guess what you want to do! Show an EXAMPLE in practice. ¿No entiendo? Muestras una parte del programa. ¡No hay forma de adivinar lo que quieres hacer! Muestre un EJEMPLO en la práctica. Gracias, thanks. Rega...
by karinha
Mon Sep 18, 2023 4:53 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Parameter for Timeout
Replies: 17
Views: 885

Re: Parameter for Timeout

hi, thx for Answer to use a TIMER is not a Solution 4th Parameter of AppEvent ( = ACTIVATE ) does react on "NO Event" within "Timeout" i can check          CASE nEvent == xbe_None            // Timeout            DoCloseWindowAndDBF() and "close" Window/Dialog ...
by Jimmy
Mon Sep 18, 2023 3:58 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Parameter for Timeout
Replies: 17
Views: 885

Re: Parameter for Timeout

hello, look \samples\GAME.PRG

Regards, saludos.
by karinha
Mon Sep 18, 2023 1:17 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Parameter for Timeout
Replies: 17
Views: 885

Parameter for Timeout

hi, und Xbase++ i have 4th Parameter for Timeout   DO WHILE !lExit = .T.      nEvent := AppEvent( @mp1, @mp2, @oXbp, nTimeOut )      DO CASE          CASE nEvent == xbe_None            // Timeout            DoTimeOut()        ...
by Jimmy
Mon Sep 18, 2023 3:48 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Parameter for Timeout
Replies: 17
Views: 885

Re: Reason for closing DBF file

... with App or "after Lunch" :?: --- i had those Error when DBF "left open" while "not work" in App and Network "timeout" those Type of App are not "Network ready" as they do not react on "Energie Saveing" and hold DBF "open"
by Jimmy
Mon Sep 18, 2023 3:45 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Reason for closing DBF file
Replies: 23
Views: 1261

Re: Lost connection to MySQL server during query

Good Morning, ? oCn:wait_timeout = 86400 ? oCn:cServerInfo = 5.7.27-log ? oCn:nVersion = 5.72700000 ? oCn:OS = Win64 Now we are improving the internal reconnection logic and testing. We will provide DATA bOnLostServer If assigned with a codeblock, instead of displaying message, the codeblock will be...
by vilian
Wed Sep 06, 2023 11:08 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Lost connection to MySQL server during query
Replies: 37
Views: 12830
PreviousNext

Return to advanced search