... T.
FUNCTION GrafTempo( xContNow, xContTotal )
THREAD STATIC aStatic := { 0, 0, "", "" }
LOCAL nSecondsNow, nSecondsRemaining, nSecondsElapsed, nCont, nPos, cTxt, cCorAnt
LOCAL nPercent, cTexto, mSetDevice
xContNow := iif( xContNow == NIL, "", xContNow )
IF Empty( aStatic[ GRAF_TXT_BAR ...
Search found 32 matches: ncont
Searched query: ncont
- Mon Feb 10, 2025 1:46 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: Text scroll and time graph
- Replies: 2
- Views: 314
- Sun Jan 08, 2023 3:10 pm
- Forum: All products support
- Topic: DBF REDE/WEB WINDOWS 7/10/11
- Replies: 0
- Views: 24692
DBF REDE/WEB WINDOWS 7/10/11
... nSele := Select()
LOCAL cAvulso
LOCAL cField, nLen
LOCAL oMes,oEmp,oAvu
LOCAL oPan, aCargo, cAno,lAllOk, nPos, aTemp, a
// LOCAL cComp
LOCAL nConti:=0
LOCAL nContador :=0
LOCAL nContador2:=0
local lEnd := .f.
PUBLIC cComp
PUBLIC cMesANO
oPan := SWPanelWindow( "Função Testa Processo ...
LOCAL cAvulso
LOCAL cField, nLen
LOCAL oMes,oEmp,oAvu
LOCAL oPan, aCargo, cAno,lAllOk, nPos, aTemp, a
// LOCAL cComp
LOCAL nConti:=0
LOCAL nContador :=0
LOCAL nContador2:=0
local lEnd := .f.
PUBLIC cComp
PUBLIC cMesANO
oPan := SWPanelWindow( "Função Testa Processo ...
- Mon Feb 03, 2020 4:12 pm
- Forum: FiveWin para Harbour/xHarbour
- Topic: Ayuda con @ PUSHBUTTON
- Replies: 3
- Views: 673
Ayuda con @ PUSHBUTTON
... Forum
Tengo este codigo como hago para que me tome los valores de STATE diferentes deacuerdo a la opcion
Caso 1
No lo toma el valor toma el ultimo nCont
nBtn := 0 FOR nCont = 1 TO Len( ::acButtons ) @ pos, iif( nCont == 1 ...
Tengo este codigo como hago para que me tome los valores de STATE diferentes deacuerdo a la opcion
Caso 1
No lo toma el valor toma el ultimo nCont
nBtn := 0 FOR nCont = 1 TO Len( ::acButtons ) @ pos, iif( nCont == 1 ...
- Wed Dec 02, 2015 11:19 am
- Forum: FiveWin para Harbour/xHarbour
- Topic: Adeudos Directos SEPA en euros Esquema B2B
- Replies: 117
- Views: 58552
Re: Adeudos Directos SEPA en euros Esquema B2B
... 2, "0" ) + "-" + Padl( Day( date() ), 2, "0" ) + "T" + time() + "</CreDtTm>"
FWriteLn( nHandle , cadena )
cadena := "<NbOfTxs>" + AllTrim( Str( nCont ) ) + "</NbOfTxs>"
FWriteLn( nHandle , cadena )
cadena := "<CtrlSum>" + AllTrim( Transform( nTotImp, cPictImpSEPA(.F.) ) ) + "</CtrlSum ...
FWriteLn( nHandle , cadena )
cadena := "<NbOfTxs>" + AllTrim( Str( nCont ) ) + "</NbOfTxs>"
FWriteLn( nHandle , cadena )
cadena := "<CtrlSum>" + AllTrim( Transform( nTotImp, cPictImpSEPA(.F.) ) ) + "</CtrlSum ...
- Wed Jul 01, 2015 7:16 pm
- Forum: FiveWin para Harbour/xHarbour
- Topic: Algun Ejemplo para crear un reporte PDF
- Replies: 3
- Views: 708
Re: Algun Ejemplo para crear un reporte PDF
... tpdf():new( cPath )
titpdef( oPdf )
o
function main()
local oPDF
oPDF := PDFClass():New()
oPDF:nType := 1
oPDF:cFileName := "ARQUIVO.PDF"
oPDF:Begin()
foR nCont = 1 TO 1000
oPDF:MaxRowTest()
oPDF:DrawText( oPDF:nRow++, 0, nCont )
NEXT
oPDF:END()
RETURN
Pero no tengo esta Clase. PDFClass()
titpdef( oPdf )
o
function main()
local oPDF
oPDF := PDFClass():New()
oPDF:nType := 1
oPDF:cFileName := "ARQUIVO.PDF"
oPDF:Begin()
foR nCont = 1 TO 1000
oPDF:MaxRowTest()
oPDF:DrawText( oPDF:nRow++, 0, nCont )
NEXT
oPDF:END()
RETURN
Pero no tengo esta Clase. PDFClass()
- Wed Aug 20, 2014 4:44 am
- Forum: FiveWin para Harbour/xHarbour
- Topic: Progress Bars, no funciona correctamente (Solucionado)
- Replies: 27
- Views: 6640
Re: Progress Bars, no funciona correctamente (Solucionado)
Hola Amigos,,,
Asi me funciona desde recursos
...
..
REDEFINE METER oMeter1 VAR nMet1 ID 101 OF oDlg TOTAL 100 / 1.16
----
Avanza(oMeter1
--
Function Avanza(oMeter1)
local nCont
FOR nCont := 1 to 456
oMeter2:Set(nCont * 1.16)
SysWait(0.1)
NEXT nCont
Return(Nil)
Asi me funciona desde recursos
...
..
REDEFINE METER oMeter1 VAR nMet1 ID 101 OF oDlg TOTAL 100 / 1.16
----
Avanza(oMeter1
--
Function Avanza(oMeter1)
local nCont
FOR nCont := 1 to 456
oMeter2:Set(nCont * 1.16)
SysWait(0.1)
NEXT nCont
Return(Nil)
- Fri Jun 06, 2014 7:16 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: Help for extextout
- Replies: 8
- Views: 2444
Re: Help for extextout
Sorry,
I use this command :
hOldFnt := SelectObject( hDc, oFont:hFont )
ExtTextOut( hDc, nLinea, 22, {nLinea,22,nLinea+16,22+nwidth}, aText[nCont,1] )
I not remeber but exit a selectobject command to make trasparent ...
I'm trying to create a class to simulate for read a book ...
http: ...
I use this command :
hOldFnt := SelectObject( hDc, oFont:hFont )
ExtTextOut( hDc, nLinea, 22, {nLinea,22,nLinea+16,22+nwidth}, aText[nCont,1] )
I not remeber but exit a selectobject command to make trasparent ...
I'm trying to create a class to simulate for read a book ...
http: ...
- Mon Sep 02, 2013 4:16 pm
- Forum: FiveWin para Harbour/xHarbour
- Topic: Refresco de totales en footer de xBrowse
- Replies: 1
- Views: 633
Re: Refresco de totales en footer de xBrowse
... solucionarlo :
MsgRun("Pegando Datos...","Por favor espere",{|| Cuenta_Pegados(oBrow) })
FUNCTION Cuenta_Pegados(oBrow)
oBrow:aCols[01]:cFooter := "("+Transform(nCont,"99,999")+")..."
oBrow:aCols[05]:cFooter := Transform(nTota,"999,999,999.99")
RETURN .T.
Solo Asi pude actualizar .
Saludos.
MsgRun("Pegando Datos...","Por favor espere",{|| Cuenta_Pegados(oBrow) })
FUNCTION Cuenta_Pegados(oBrow)
oBrow:aCols[01]:cFooter := "("+Transform(nCont,"99,999")+")..."
oBrow:aCols[05]:cFooter := Transform(nTota,"999,999,999.99")
RETURN .T.
Solo Asi pude actualizar .
Saludos.
- Tue Sep 18, 2012 9:37 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: Sunday calc
- Replies: 5
- Views: 806
Re: Sunday calc
... with 5 sundays
this I need to calculate the work Hour in this month
this run ok ( thanks to all )
Function GetSunday( nMonth, nYear )
Local nCont := 0
Local nSunday := 0
Local dInizio := cTod("01/"+StrZero(nMonth,2)+"/"+StrZero(nYear,4))
nSunday:=Sundays(dInizio)
Return nSunday
function ...
this I need to calculate the work Hour in this month
this run ok ( thanks to all )
Function GetSunday( nMonth, nYear )
Local nCont := 0
Local nSunday := 0
Local dInizio := cTod("01/"+StrZero(nMonth,2)+"/"+StrZero(nYear,4))
nSunday:=Sundays(dInizio)
Return nSunday
function ...
- Mon Jun 28, 2010 3:57 pm
- Forum: FiveWin para Harbour/xHarbour
- Topic: Texto justificado
- Replies: 17
- Views: 5942
Re: Texto justificado
... controls the gap between words. We must provide how many pixels we want to distribute (nAncho-nLong) and how many spaces are in the line (aText[nCont,2]-1). The function look after the pixels are allocated between all spaces (some spaces will be 1 pixel greater than others ...
- Mon Jun 28, 2010 3:55 pm
- Forum: FiveWin para Harbour/xHarbour
- Topic: Texto justificado
- Replies: 17
- Views: 5942
Texto justificado
... oDlg CENTER ; ON INIT aText := FormatText(oDlg,oFont,cText,nAncho)RETURN NILFUNCTION FormatText(oDlg,oFont,cText,nAncho) LOCAL nCont,nTokn,nCrLf LOCAL cTrozo,cLinea,lFinLin LOCAL aTexto := {} LOCAL hDc * hDc := oDlg:GetDc() * cLinea := "" DO WHILE !Empty( ...
- Fri Sep 04, 2009 4:01 pm
- Forum: FiveWin para Harbour/xHarbour
- Topic: Uso de TXbrowse Con TMySql
- Replies: 1
- Views: 883
Uso de TXbrowse Con TMySql
... LOCAL nLin, nFil, nAncho, nLargo, nPie
LOCAL oBar, oFont, oFolder, oBrow, oTabs, oCol
LOCAL oWndMain, nRegis := Space(05), cTable
LOCAL nCont := 0
*--
IF oWndConj == NIL
*--
cTable := "contratos"
oTb := oApp:oServer:Query( "SELECT * FROM " + cTable )
IF oTb:LastRec() = 0
FOR nCont ...
LOCAL oBar, oFont, oFolder, oBrow, oTabs, oCol
LOCAL oWndMain, nRegis := Space(05), cTable
LOCAL nCont := 0
*--
IF oWndConj == NIL
*--
cTable := "contratos"
oTb := oApp:oServer:Query( "SELECT * FROM " + cTable )
IF oTb:LastRec() = 0
FOR nCont ...
- Fri Jun 05, 2009 6:24 pm
- Forum: FiveWin para Harbour/xHarbour
- Topic: Un ejemplo de MySql+Sql+xHarbour
- Replies: 8
- Views: 4070
Re: Un ejemplo de MySql+Sql+xHarbour
... local oSalir, oNuevo, oModif, oImpri, oElimi, tCargalocal, oDlg, oLbx, oDatos, eDatos, oOrden
local nOrden, oAlgo, lAlgolocal, aCol, oBrw, cQuery, nCont, nLen, aListaaCol := ARRAY(2)
LOCAL cTablas:="",aTablas:={}, n:=0, cCmdSql
if oMySQL:TableExist( "kardex" )
MsgInfo("Tabla KARDEX ya existe ...
local nOrden, oAlgo, lAlgolocal, aCol, oBrw, cQuery, nCont, nLen, aListaaCol := ARRAY(2)
LOCAL cTablas:="",aTablas:={}, n:=0, cCmdSql
if oMySQL:TableExist( "kardex" )
MsgInfo("Tabla KARDEX ya existe ...
- Tue Dec 23, 2008 4:42 pm
- Forum: FiveWin para Harbour/xHarbour
- Topic: Imprimir documento en dos impresoras
- Replies: 5
- Views: 1221
- Tue Dec 23, 2008 12:01 pm
- Forum: FiveWin para Harbour/xHarbour
- Topic: Imprimir documento en dos impresoras
- Replies: 5
- Views: 1221