Search found 334 matches: npos

Return to advanced search

Re: New FTDN September/Septiembre 2019 (FWH 19.09)

... Comando: <nRow>, <nCol> WHEELMETER <oMeter> ; [ <wnd: OF, DIALOG, WINDOW> <oWnd> ] [ <pos: POS, POSITION> <nPos> ] ; [ RANGE <min>, <max> ] ; [ INNERCOLOR <nColorInner> ] ; [ ANIMACOLOR <nColorDoneMin> ] ; [ BACKCOLOR <nColorRemain> ...
by Antonio Linares
Fri Oct 18, 2019 8:38 am
 
Forum: WhatsNew / Novedades
Topic: New FTDN September/Septiembre 2019 (FWH 19.09)
Replies: 1
Views: 2922

New FTDN September/Septiembre 2019 (FWH 19.09)

... Command: <nRow>, <nCol> WHEELMETER <oMeter> ; [ <wnd: OF, DIALOG, WINDOW> <oWnd> ] [ <pos: POS, POSITION> <nPos> ] ; [ RANGE <min>, <max> ] ; [ INNERCOLOR <nColorInner> ] ; [ ANIMACOLOR <nColorDoneMin> ] ; [ BACKCOLOR <nColorRemain> ...
by Antonio Linares
Sun Oct 13, 2019 11:14 am
 
Forum: WhatsNew / Novedades
Topic: New FTDN September/Septiembre 2019 (FWH 19.09)
Replies: 1
Views: 2922

Re: fw_arratoDbf l and progress

sorry Nages I tried but not happend any
LOCAL bprogress := { || ( oProgress:SetPos( npos++ ),;
SysRefresh() ) }

oProgress:SetRange( 0, len(aData) )
oProgress:SetPos( 0 )

oLotto2:fw_ArrayToDBF( aData,,bProgress)
by Silvio.Falconi
Fri Sep 13, 2019 9:54 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: fw_arratoDbf l and progress
Replies: 3
Views: 681

Re: New TprogressWheel

you can do it
as you do it with tProgress class it is the same ( change only the geometric figure)


DEFINE TIMER oTimer INTERVAL 50 ACTION (oMeter:SetPos(++nPos), iif(nPos>500,oTimer:End(), yourfunction_sound_here)) OF oDlg
ACTIVATE TIMER oTimer
by Silvio.Falconi
Fri Sep 13, 2019 8:47 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: New TprogressWheel
Replies: 72
Views: 9756

Re: Strange characters in TFtp:directory()

... ) } )          end       endif       InternetCloseHandle( hFTPDir )    endif return aFiles function StripFromNull(str)   local nPos := at(chr(0), str), cRet := ""   if !empty(str)      if nPos > 0         cRet := left(str, nPos-1)      endif   endif return cRet
by hua
Tue Aug 20, 2019 8:01 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Strange characters in TFtp:directory()
Replies: 4
Views: 694

Re: Problemas con Found()

... con ceros a la izquierda , si no los introuzco relleno con 0 ). // ??? NO COMPRENDO ??cCodigo := PadL( SubStr( AllTrim( cNombre ), nPos + 1, Len( AllTrim( cNombre ) ) - nPos ), 4, "0" )  El nPos es el punto , entonces a partir de ahi viene el codigo ...
by jvtecheto
Mon Aug 12, 2019 3:23 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Problemas con Found()
Replies: 8
Views: 927

Re: Converting date string into date format

Silvo It appears there is a space between the Month and year dMonth := "Febbraio 2014" nPos := At( dMonth , " " ) // should equal position 9 cMonth := substr(dMonth,1,(nPos-1)) // should equal "Febbraio" Basically .. find the position of the ...
by Rick Lipkin
Sun May 19, 2019 3:44 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Converting date string into date format
Replies: 9
Views: 983

Add some functions for Tensorflow

Hello. I adding some functions/method for Tensoflow for Fivewin like following.^^ METHOD GraphNextOperation( nPos ) DLL FUNCTION TF_GraphNextOperation( hGraph AS LONG, @nPos AS LONG ) AS LONG LIB hDLL DLL FUNCTION TF_OperationName( hOperation AS LONG ) AS LPSTR LIB hDLL DLL FUNCTION ...
by CharlesKwon
Fri Jan 11, 2019 5:15 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Add some functions for Tensorflow
Replies: 5
Views: 2693

Re: enviar xml por ws soap 1.0

... que es patiño si ves aca hay una funcion StrToBase64( cTexto ), en resumen tiene un juego de caracteres asi FUNCTION Carac64( cBin ) LOCAL nPos := ASC( BinToCar( @cBin ) ) + 1 RETURN SUBSTR( "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", nPos, 1) si la usas ...
by QAZWSX2K
Sat Dec 29, 2018 9:31 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: enviar xml por ws soap 1.0
Replies: 2
Views: 943

Re: Listbox displays incorrect data

... //----------------------------------------------------------------------------- FUNCTION _EventDescription( cEventCode, aEvent ) local nX1 :=0, nPos := 0, cReturn := "", cEvent := "" // Init... cReturn := cEventCode FOR nX1=1 TO LEN(aEvent) nPos := AT('-', cEventCode ) IF ...
by cdmmaui
Tue Jul 31, 2018 4:16 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Listbox displays incorrect data
Replies: 13
Views: 2294

Re: Sumar o combinar matrices/arreglos

a1 := {1,2,3}
a2 := {3,4,5}
a1 := additem(a1, a2)

FUNCTION AddItems(aArray, aItems)
local nOrigSize := Len(aArray)
ASize(aArray, nOrigSize + Len(aItems))
AEval(aItems, {|uItem, nPos| aArray[nOrigSize + nPos] := uItem} )
RETURN aArray

Saludos
by hectorpapiri
Thu May 31, 2018 5:21 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Sumar o combinar matrices/arreglos
Replies: 7
Views: 1573

Re: abrir 2 xbrowses simultaneos

... := .t. REDEFINE GET oxaaa VAR xaaa ID 4012 OF oDlg picture "@!" ; ON CHANGE (::assign(),dbsetorder(2),; if(BUSCOA(upper(subs(xaaa,1,::nPos-1))+upper(chr(nkey)),oBrwa),.t.,.f.) ) REDEFINE XBROWSE oBrwr FIELDS ; str(2->rubro),; 2->Nombre ; HEADERS; "Rub.",; "Nombre" ...
by pedroluis
Tue May 29, 2018 12:46 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: abrir 2 xbrowses simultaneos
Replies: 13
Views: 2743

Re: Do you know how to use iconv.dll?

... it in iconv.dll FWH. cStr: = cStr + "#" CSTR = AnsiToWide (CSTR) CSTR = HB_TRANSLATE (CSTR "UTF16LE", "UTF8") nPos: = at ("#", cStr) Return SubStr (cStr, 1, nPos-1)
by kkwan
Tue May 08, 2018 8:34 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Do you know how to use iconv.dll?
Replies: 3
Views: 740

Re: Problem with Get in RibbonBar

Marzio,

Add a DATA nPos to oEvent or a DATA Cargo and keep an array there for each GET

oEvent:bRefresh = { || oGet:Assign(), oEvent:nPos := oGet:nPos }

oGet:bGotFocus = { || oGet:SetPos( oEvent:nPos ) }
by Antonio Linares
Thu May 03, 2018 11:43 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problem with Get in RibbonBar
Replies: 13
Views: 2235

Re: Carlos Mora y la mala leche de la string concatenation

... las que hace Paquito sin provocar fragmentaciones ni hacer tantas copias en la memoria. La idea es tener una función InsertTheString( @cBuffer, nPos, cText[, nLen] ), que inserta en la posición nPos la cadena cText, opcionalmente limitando la longitud a insertar. Cuando creo el buffer, prealoco ...
by Carlos Mora
Sun Apr 29, 2018 7:12 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Carlos Mora y la mala leche de la string concatenation
Replies: 20
Views: 4352
PreviousNext

Return to advanced search