Search found 27 matches: noffset

Return to advanced search

Re: How to create a PRIVATE variable owned by the caller?

this is the function code in "memvars.c" of Harbour HB_FUNC( __MVSETBASE ) { HB_STACK_TLS_PRELOAD HB_ISIZ nOffset = hb_stackBaseProcOffset( 0 ); if( nOffset > 0 ) hb_stackItem( nOffset )->item.asSymbol.stackstate->nPrivateBase = hb_memvarGetPrivatesBase(); }
by vensanto
Wed Jan 11, 2023 6:08 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to create a PRIVATE variable owned by the caller?
Replies: 21
Views: 783

SQL 2 Table Question

... in Table :?: --- when using ADO i get a Record-Set from Table sqldata but how "sync" Table sqlindex when have cFor, cWhile and nOffset ... or will it be "in Sync" :?: or do i need a (internal) FIELD __Record in both Table to "sync" :idea: --- as i know "older" ...
by Jimmy
Sat Jan 22, 2022 4:24 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: SQL 2 Table Question
Replies: 2
Views: 288

Re: #Define mutiline

Dear Mr. Rao, I can't find out a way for the first button to define. I tried this but with no success. iif( VALTYPE( oBtn) = "C", ( nOffset += 5 + oBtn:nwidth ), nOffset ) So I ended up using 2 xTranslate. #xtranslate NEXTBTN <prompt> ACTION <uaction> => ;  nOffset += ...
by Otto
Wed May 06, 2020 5:42 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: #Define mutiline
Replies: 15
Views: 1345

Re: #Define mutiline

... oBrw, .f. ) @ ( oDlg:nHeight - 30 )/2.05, 50 BUTTON "MoveDn" SIZE 35,12 PIXEL OF oDlg ACTION SwapRow( oBrw, .t. ) #DEFINE COLOFFSETBTN nOffset += 5 + oBtn:nwidth #define MYBTN @ ( oDlg:nHeight - 30 )/2.05, nOffset BUTTON oBtn PROMPT COLOFFSETBTN MYBTN "MoveDn" PIXEL OF oDlg ...
by Otto
Wed May 06, 2020 12:13 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: #Define mutiline
Replies: 15
Views: 1345

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

... StrFile(<cString>,<cFileName>,[<lUseExisting>],[<nOffset>],[<lTruncate>])->nBytesWritten StrFormat(<cMask>,[<cPar1>],<cParn>,[...])->cString StringToLiteral(<cString>)->cLiteralString ...
by rubenfernandez01
Sun Oct 22, 2017 4:40 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: funciones de FWH y Harbour en un archivo .txt
Replies: 7
Views: 5710

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

... StrFile(<cString>,<cFileName>,[<lUseExisting>],[<nOffset>],[<lTruncate>])->nBytesWritten StrFormat(<cMask>,[<cPar1>],<cParn>,[...])->cString StringToLiteral(<cString>)->cLiteralString ...
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: 5710

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

... FileReader(<cFileName>,[<nMode>])->oTStreamFileReader FileScreen(<cFileName>,[<nOffSet>])->nBytesRead FileSize([<cFileName>],[<nAttributes>])->nFileSize FileStats(<cFileName>,[@<cFileAttr>],[@<nFileSize>],[@<dCreateDate>],[@<nCreateTime>],[@<dChangeDate>],[@<nChangeTime>])->lSuccess ...
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: 5710

Re: Felices reyes!

... Con respecto al codigo de barras nunca he manejado esto necesitaria documentarme. pero generas el codigo de barras con esta instruccion. :CmSay( nOffset + 13.5, 8.9, i2of5Encode( i2Of5('30666666666009000466110123456789'+DtoS(Date()) ) ), oFont2of5 ) dicha barra que genera la puede leer cualquier ...
by Carlos Mora
Wed Jan 18, 2017 7:01 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Felices reyes!
Replies: 60
Views: 19231

Re: Felices reyes!

... Con resoecto al codigo de barras nunca he manejado esto necesitaria documentarme. pero generas el codigo de barras con esta instruccion. :CmSay( nOffset + 13.5, 8.9, i2of5Encode( i2Of5('30666666666009000466110123456789'+DtoS(Date()) ) ), oFont2of5 ) dicha barra que genera la puede leer cualquier ...
by ruben Dario
Wed Jan 18, 2017 6:31 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Felices reyes!
Replies: 60
Views: 19231

Re: create an arra from txt file

... Reads characters from a binary file into a memory variable. Syntax FRead( <nFileHandle>, ; @<cBuffer> , ; <nBytes> , ; [<nOffset>] ) --> nBytesRead Arguments <nFileHandle> This is a numeric file handle returned from function FOpen() or FCreate(). @<cBuffer> ...
by sambomb
Tue Jan 27, 2015 1:58 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: create an arra from txt file
Replies: 7
Views: 2442

Re: Nuevo Grupo en Ribbonbar

... 0, StrTran( ::aPrompts[ n ], "&", "" ), ::oFont:hFont ) + TXTLPAD + TXTRPAD, 0) ) next if Len( ::aLeft ) > 0 ::aLeft[ ::nOffSet ] = ::nLeftMargin endif for n = ::nOffSet + 1 to Len( ::ASizes ) ::aLeft[ n ] = ::aLeft[ n - 1 ] + ::aSizes[ n - 1 ] + If( ::aVisible[n - 1 ...
by cnavarro
Thu May 09, 2013 6:39 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Nuevo Grupo en Ribbonbar (Solucionado)
Replies: 7
Views: 1200

progress bar

... Func heat_update() // Date : 10/11/12 // Use : Assemble Q:\data folder and file information // for millcerts local aFolders local nFol_len local nOffset := 3 // set at 3 to bypass . & .. parent <dir> local nIndex := 1 local cFol_nam local nFol_max local aSub_Fldr local nSub_max := 0 ...
by brewster
Fri Jan 25, 2013 2:02 pm
 
Forum: FiveWin for CA-Clipper
Topic: progress bar
Replies: 2
Views: 3036

Re: funcion AT() error

Hola Manolo, en teoria el tercer parametro (nOffSet), no existe en Harbour, donde si existe es en xHarbour. De todas formas si quieres usar harbour y el parametro nOffSet, cambia la función y usa Hb_AT(), que si incorpora ese parametro adicional.
by Biel EA6DD
Mon Aug 24, 2009 9:16 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: funcion AT() error
Replies: 2
Views: 432

funcion AT() error

... build 1.1-1 Intl. no me lo estaba dando en la funcion at Me dice número incorrecto de parametros en esta linea: nPos := INT( AT( cDato, cData, nOffset )) no se si se ha cambiado o hecho otra función para hacer esto. lo que necesito es que me devuelva la posición de una cadena buscada a partir ...
by MANOLO
Mon Aug 24, 2009 7:53 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: funcion AT() error
Replies: 2
Views: 432

Funccion AT() en Harbour y xHarbour

Hola a todos,

He visto que la función AT() puede tener la siguiente sintaxis:

AT( suchbeg, cData, nOffset )

esta sintáxis no me la acepta bajo Harbour al no contemplar el tercer parámetro; alguién sabe cómo puedo simular el uso del tercer parámetro en Harbour?

Un saludo y gracias.
Carlos .
by FiveWiDi
Tue May 12, 2009 12:46 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Funccion AT() en Harbour y xHarbour
Replies: 2
Views: 379
Next

Return to advanced search