Search found 57 matches: nval

Return to advanced search

Re: XBROWSE, con Get, Combobox y CheckBox, en una misma Columna

... olbx101c:acols[3]:bEditWhen:= { || olbx101c:aArrayData[olbx101c:nArrayAt][5]="C" } olbx101c:acols[3]:bOnPostEdit:= { |o,nval| hola(@acDescriptor,@acTemporal,olbx101c,nval) } olbx101c:acols[4]:nEditType:=EDIT_GET_LISTBOX olbx101c:aCols[4]:addbmpfile("\QASVE\config\bmp\BUSCAR16X16.bmp") ...
by elmoiquique
Thu Mar 28, 2024 9:01 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: XBROWSE, con Get, Combobox y CheckBox, en una misma Columna
Replies: 10
Views: 3449

Re: como obtengo el valor mas chico de un array

AScan( ASort( AClone( a ) ), { | n, nPos | n := cToD(a:cargo["fecha"]), If( nVal < n, nResult := AScan( a, n) ) - 1,), cToD(n) > nVal } )

estás seguro de que ese código te funciona bien ?
by Antonio Linares
Wed Aug 23, 2023 5:48 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: como obtengo el valor mas chico de un array
Replies: 10
Views: 963

Re: como obtengo el valor mas chico de un array

Gracias a ambos. tomo como ejemplo este: AScan( ASort( AClone( a ) ), { | n, nPos | If( nVal < n, nResult := AScan( a, n ) - 1,), n > nVal } ) en mi caso "n" voy a usarlo asi: cToD(a:cargo["fecha"]) Mi consulta: para que el codigo no quede ...
by goosfancito
Wed Aug 23, 2023 5:21 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: como obtengo el valor mas chico de un array
Replies: 10
Views: 963

Re: xBrowse footer picture

... European, "A" for American and others // .t. for showing thousand separators * New function nStrToNum( cNumericVal, [lEuropean] ) --> nVal Optional Parameter lEuropean defaults to FWNumFormat()[ 1 ] == "E". Converts any number formatted as string using either European notation ...
by Marc Venken
Mon Apr 03, 2023 2:15 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse footer picture
Replies: 11
Views: 1165

Re: New FTDN January/Enero 2021 (FWH 21.01)

... bloque de código bSetGet como variable. Esto ayuda al programador a mejorar las capacidades del Get. Por ejemplo: bSetGet := { |x| If( x == nil, nVal * 100, nVal := x / 100 ) } @ r,c GET bSetGet <clauses,...> * XBROWSE: - Se espera que oCol:bBmpData devuelva un valor numérico, que es el ...
by Antonio Linares
Sun Feb 07, 2021 9:15 am
 
Forum: WhatsNew / Novedades
Topic: New FTDN January/Enero 2021 (FWH 21.01)
Replies: 1
Views: 2058

New FTDN January/Enero 2021 (FWH 21.01)

... possible to use a bSetGet codeblock as variable. This helps the programmer to enhance the capabilities of Get. Eg: bSetGet := { |x| If( x == nil, nVal * 100, nVal := x / 100 ) } @ r,c GET bSetGet <clauses,...> * XBROWSE: - oCol:bBmpData is expected to return a numeric values, which is the ...
by Antonio Linares
Sun Feb 07, 2021 9:10 am
 
Forum: WhatsNew / Novedades
Topic: New FTDN January/Enero 2021 (FWH 21.01)
Replies: 1
Views: 2058

Re: #command Syntax

DATA nMaximum

METHOD SetMaximum( nVal ) INLINE ::nMaximum := nVal

METHOD GetMaximum() INLINE ::nMaximum

The simplest way uses to be the best one :-)
by Antonio Linares
Fri Oct 18, 2019 11:15 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: #command Syntax
Replies: 4
Views: 695

Re: calculadora nativa em FW

MsgCalc( nInitValue ) --> nVal
by nageswaragunupudi
Sun Jun 09, 2019 3:46 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: calculadora nativa em FW
Replies: 10
Views: 1503

Re: Favor Ayuda PROGRAMA LENTO WINDOWS 10 64 Bits

... funcion mia propia Dbzap() Select('wfprodu') __Dbtrans( select('Productos'),,{|| !Deleted() }, {|| nCount++, if( nCount >= 500 ,( oMeter:Set(nVal++),Sysrefresh(),nCount:=0,.T.),.T.)} ) Espero te sea de utilidad, Saludos Mariano
by mterraz
Wed Oct 10, 2018 2:10 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Favor Ayuda PROGRAMA LENTO WINDOWS 10 64 Bits
Replies: 6
Views: 1399

Re: A question about function FW_Cdxcreate()

Mr. Rao, the problem is a index numeric + text + text I changed STR(nVal) to cValtoChar(nVal) and that seems to work :shock: But now my external dbf-editor shows a errormessage because he doesn't know -> cValtoChar I want to sort the two defined filters ...
by ukoenig
Tue Feb 27, 2018 9:39 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: A question about function FW_Cdxcreate()
Replies: 8
Views: 1912

Re: tgraph and Y series alignment

Did You define a BAR-SEPERATOR :?:

oGraph:nBarSep := nVal // Bar Separator

regards
Uwe :?:
by ukoenig
Mon Feb 12, 2018 1:00 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: tgraph and Y series alignment
Replies: 10
Views: 2818

Re: Xbrowse or Report Bug

there is a bug on harbour
not run round function
but now I tried with
#xtranslate round(<nVal>,<nDec>) => val(str(<nVal>,20,<nDec>))
and run ok

converting my applications to Harbor made me waste only a lot of precious time
by Silvio.Falconi
Tue Jan 16, 2018 11:24 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Xbrowse or Report Bug
Replies: 10
Views: 2034

Re: problem with a calculation

there is a bug on harbour
not run round function
but now I tried with
#xtranslate round(<nVal>,<nDec>) => val(str(<nVal>,20,<nDec>))
and run ok
by Silvio.Falconi
Tue Jan 16, 2018 11:11 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: problem with a calculation
Replies: 8
Views: 1462

Re: problem with a calculation

Hello Silvio,
have you seen this line:
#xtranslate round(<nVal>,<nDec>) => val(str(<nVal>,20,<nDec>)) ?

Best regards,
Otto
by Otto
Wed Nov 29, 2017 1:43 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: problem with a calculation
Replies: 8
Views: 1462

New FTDN November/Noviembre (FWH 17.11)

... text containing formatted numbers either in American /European format are properly untranformed and pasted into the Get. * New function cNumToStr( nVal ) --> cVal. \fwh\source\function\valtostr.prg. Converts a numeric value retaining full decimal precision and formatting as specified in FWNumFormat(). ...
by Antonio Linares
Mon Nov 27, 2017 7:21 pm
 
Forum: WhatsNew / Novedades
Topic: New FTDN November/Noviembre (FWH 17.11)
Replies: 0
Views: 1508
Next

Return to advanced search