Search found 50 matches: nseconds

Return to advanced search

Re: MsgYesNo() + Timer

... FUNCTION MsgTimer(oWnd, cMessageCaption, nSeconds) //**************************************************************************** // // Fechar um MsgDialog automaticamente // Parametros: cMessageCaption, ...
by Joao Cezar
Wed Oct 12, 2011 4:15 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: MsgYesNo() + Timer
Replies: 2
Views: 812

msgrun - possível FIX?!

... nWidth ),,,, .T. ) return nil //----------------------------------------------------------------------------// function MsgWait( cCaption, cTitle, nSeconds ) DEFAULT nSeconds := 4 return MsgRun( cCaption, cTitle, { || WaitSeconds( nSeconds ) } ) //----------------------------------------------------------------------------// ...
by MGA
Thu Sep 08, 2011 2:06 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: msgrun - possível FIX?!
Replies: 0
Views: 497

Re: How to display a message for a period of time.

You can also look at: MsgRun +

MsgSplash( cImage, nSeconds, bAction ). cImage can be file or resource. If bAction is specified, the codeblock is evaluated with oImage as parameter and Splash continues till the bAction is executed or expiry of nSeconds whicheve is later.

Best regards,
Otto
by Otto
Wed Sep 01, 2010 6:50 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to display a message for a period of time.
Replies: 4
Views: 860

New FTDN August/Agosto 2010 (FWH 10.8)

... Galvez! * Improvement: Both tdatabase and txbrowse now use improved logic to identify tag order for each field. * Improvement: MsgSplash( cImage, nSeconds, bAction ). cImage can be file or resource. If bAction is specified, the codeblock is evaluated with oImage as parameter and Splash continues ...
by Antonio Linares
Tue Aug 31, 2010 9:27 am
 
Forum: WhatsNew / Novedades
Topic: New FTDN August/Agosto 2010 (FWH 10.8)
Replies: 3
Views: 3538

Re: How to set a progressbar - range 1 - 5

Otto,

I think sleep() is in milliseconds. Change it to 500 for 5 seconds.

Or you can use waitSeconds( nSeconds ) or inkey( nSeconds ) instead of sleep().

James
by James Bott
Fri Sep 18, 2009 4:35 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to set a progressbar - range 1 - 5
Replies: 11
Views: 1900

xbrowse and scroll: strange problem

... oBrw:bChange:={|| nil} xBrowseLoop(oBrw) && do something oBrw:bChange:={|| SelectFunc(oBrw)} return Function xBrowseLoop(oBrw) local nSeconds, nLocalIndex,i nLocalIndex:=oBrw:nArrayAt() nSeconds:=seconds() do while .t. oBrw:Refresh() sysrefresh() if seconds()-nSeconds>.20 if nLocalIndex<>oBrw:nArrayAt() ...
by Marco Turco
Sun May 24, 2009 7:48 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: xbrowse and scroll: strange problem
Replies: 2
Views: 412

How to set Time (SOLVED)

Hi, want to set the system time with SetTime( <nHour>, <nMinutes>, [<nSeconds>], [<nMillSecs>] ). This function use Coordinated Universal Time (UTC), so I have to calculate the local time zone first. But the function TimeZone() always return ...
by frose
Mon May 11, 2009 11:52 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to set Time (SOLVED)
Replies: 7
Views: 1697

... := Alltrim(oApp:cgetVar) + chr(nKey) oApp:oGet:oJump:=oApp:oGet // focus again Endcase return .t. /*** * TimeAsSeconds( <cTime> ) --> nSeconds * Convert a time string to number of seconds from midnight */ FUNCTION TimeAsSeconds( cTime ) RETURN VAL(cTime) * 3600 + VAL(SUBSTR(cTime, ...
by norberto
Wed Sep 24, 2008 7:00 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: TCPIP Chat
Replies: 18
Views: 5424

Browsing generally

... := { | nKey | IF( DbSearch(nKey,oBrw), oBrw:Refresh(),) } Note: You must define two public or static vars as follows: PUBLIC cArgume := "", nSeconds := SECONDS() */ FUNCTION DbSearch(nKey,oBrw) LOCAL cKey := UPPER( chr(nKey) ),; nRecno := RECNO(),; nLapso := SECONDS() - nSeconds,; cArgAnt ...
by Antonio Linares
Wed Aug 27, 2008 7:35 am
 
Forum: Utilities / Utilidades
Topic: Boris Pekic - NG's archive
Replies: 27
Views: 93904

... .. .. aObjects[6]:bChange:={|| SelectFunc_Cons()} && action to do when any selection is made return Function SelectFunc_Cons() local nSeconds aObjects[6]:bChange:={|| nil} nSeconds:=seconds() do while .t. sysrefresh() && xbrowse is refreshed and the error appairs if seconds()-nSeconds>.25 ...
by Marco Turco
Tue Jul 29, 2008 7:04 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: xbrowse: too many recoursive handler calls error
Replies: 19
Views: 7995

Re: Are there time functions :09:01+5-->:09:06

... ar native functions of xharbour: Secs() Calculates the number of seconds from a time string. Syntax Secs( <cTime>|<dDateTime> ) --> nSeconds TString() Converts numeric seconds into a time formatted character string. Syntax TString( <nSeconds> ) --> cTimeString I hope It ...
by jose_murugosa
Wed May 07, 2008 11:16 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Are there time functions :09:01+5-->:09:06
Replies: 3
Views: 886

Credo di aver risolto: .. .. aObjects[6]:bChange:={|| SelectFunc_Cons()} ... .. Function SelectFunc_Cons() local nSeconds aObjects[6]:bChange:={|| nil} nSeconds:=seconds() do while .t. sysrefresh() if seconds()-nSeconds>.25 exit endif enddo aObjects[6]:Disable() .. .. .. aObjects[6]:Enable() ...
by Marco Turco
Thu Apr 03, 2008 1:26 pm
 
Forum: All products support
Topic: Problema con oBrw:bChange
Replies: 2
Views: 742

Problema con oBrw:bChange

... MyFunction solo se è passato un secondo dalla chiamata a bChange: oBrw:bChange:={| | Wait1Second(),MyFunction()} function Wait1Second() local nSeconds nSeconds:=seconds() do while .t. sysrefresh() if seconds()-nSeconds>1 exit endif enddo In modo tale che se l'utente continua la selezione ...
by Marco Turco
Wed Apr 02, 2008 5:43 pm
 
Forum: All products support
Topic: Problema con oBrw:bChange
Replies: 2
Views: 742

como refrescar una imagen despues de cierto tiempo

... local sw:=.t. local oFoto,onombre local opreciopza:=0,opreciocja:=0 local nwait:=1 local tiempo:=0,cotiempo:=0 local valormaximo:=10 local nseconds:=1 local timemax:=15 local Timer DEFINE FONT oFont3 NAME "Arial" SIZE 25,65 BOLD DEFINE FONT oFont2 NAME "Arial" SIZE 45,75 BOLD DEFINE FONT ...
by cezar
Wed Mar 26, 2008 8:21 pm
 
Forum: FiveWin para CA-Clipper
Topic: como refrescar una imagen despues de cierto tiempo
Replies: 4
Views: 1163

... aMsg[nAt], nWidth ) ) NEXT //----------------------------------------------------------------------------// function MsgWait( cCaption, cTitle, nSeconds ) DEFAULT nSeconds := 4 return MsgRun( cCaption, cTitle, { || WaitSeconds( nSeconds ) } ) //----------------------------------------------------------------------------// ...
by ADBLANCO
Fri Feb 15, 2008 1:00 pm
 
Forum: To do - WishList / Por hacer - Peticiones
Topic: MSGRUN
Replies: 2
Views: 1383
PreviousNext

Return to advanced search